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

Solana: Provide ability to resign transactions with ephemeral keys #195

Merged
merged 5 commits into from
Jan 3, 2024

Conversation

barnjamin
Copy link
Contributor

@barnjamin barnjamin commented Jan 3, 2024

Solana transaction changes to make it possible to resubmit a tx

This requires us to pass not only the transaction but all the ephemeral keypairs used to sign the transactions so that the transaction may be updated with a more recent blockhash and re-signed and sent.

@barnjamin barnjamin force-pushed the today branch 2 times, most recently from 99d540e to 040f8e4 Compare January 3, 2024 18:51
@barnjamin barnjamin changed the title Idk Solana: Provide ability to resign transactions with ephemeral keys Jan 3, 2024
@barnjamin barnjamin force-pushed the today branch 2 times, most recently from d31e27e to e773afa Compare January 3, 2024 20:13
@barnjamin barnjamin merged commit 75c7155 into develop Jan 3, 2024
1 check passed
@barnjamin barnjamin deleted the today branch January 3, 2024 20:21
@0xMMorty
Copy link

0xMMorty commented Dec 12, 2024

#752 When I used the latest version code to implement the transaction, it failed. It seems that this piece of code might work here, but I failed to get the block height and such
Failed to calculate compute unit limit for Solana transaction: TypeError: Cannot read properties of undefined (reading 'numRequiredSignatures'). Can you confirm? @barnjamin

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