Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow serializing txn without verification of signatures #15

Closed
wants to merge 15 commits into from

Conversation

kevinheavey
Copy link
Owner

@kevinheavey kevinheavey commented Jan 7, 2024

I thought a bit about this problem and I think #12 is the most straightforward way to solve it. It feels inelegant to specify serialization config when we're sending a transaction, but the design differences between web3.js Transaction and solana-sdk Transaction mean we kinda have to serialize the tx, so that's the root of the inelegance. We could switch to not verifying the txn signatures but that would also be surprising behaviour for people.

Making a new PR to fix unrelated GH actions problems and any other issue that arises

@kevinheavey
Copy link
Owner Author

Saw some odd results in tests, need to check if processTransaction checks the signatures on the server side. If it doesn't, this feature would be a footgun best avoided

@kevinheavey
Copy link
Owner Author

Closing because it is indeed a footgun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants