-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: a nonce-based transaction confirmation strategy for web3.js (#2…
…5839) * feat: you can now construct a `Transaction` with durable nonce information * chore: refactor confirmation logic so that each strategy gets its own method * feat: `geNonce` now accepts a `minContextSlot` param * feat: a nonce-based transaction confirmation strategy * feat: add nonce confirmation strategy to send-and-confirm helpers * fix: nits from July 8 review * Use Typescript narrowing to determine which strategy to use * Double check the signature confirmation against the slot in which the nonce was discovered to have advanced
- Loading branch information
1 parent
0d0a491
commit 7646521
Showing
9 changed files
with
1,076 additions
and
209 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.