-
Notifications
You must be signed in to change notification settings - Fork 65
[NONEVM-706][Solana] - Refactor TXM + Rebroadcast Expired Tx functionality #946
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
Merged
Merged
Changes from 58 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
2d1a82d
refactor so txm owns blockhash assignment
Farber98 50dfef0
lastValidBlockHeight shouldn't be exported
Farber98 4e545e2
better comment
Farber98 4ded53c
refactor sendWithRetry to make it clearer
Farber98 9e1be6d
confirm loop refactor
Farber98 7dd2028
fix infinite loop
Farber98 6c675f2
move accountID inside msg
Farber98 b0d9426
lint fix
Farber98 1b38665
base58 does not contain lower l
Farber98 6923ddf
fix hash errors
Farber98 462844b
fix generate random hash
Farber98 fd785d0
remove blockhash as we only need block height
Farber98 cf958a4
expired tx changes without tests
Farber98 c5e957b
add maybe to mocks
Farber98 a505993
expiration tests
Farber98 adc8b1c
send txes through queue
Farber98 7d77f99
revert pendingtx leakage of information. overwrite blockhash
Farber98 92a280b
fix order of confirm loop and not found signature check
Farber98 2598e19
fix mocks
Farber98 42b3da1
prevent confirmation loop to mark tx as errored when it needs to be r…
Farber98 89af1f3
fix test
Farber98 5e8a0da
fix pointer
Farber98 75c1dcd
add comments
Farber98 4ff2d23
reduce rpc calls + refactors
Farber98 84e423e
tests + check to save rpc calls
Farber98 7d8319e
address feedback + remove redundant impl
Farber98 68f3a3e
iface comment
Farber98 780179f
address feedback on compute unit limit and lastValidBlockHeight assig…
Farber98 98f0246
blockhash assignment inside txm.sendWithRetry
Farber98 cbf55f6
address feedback
Farber98 90daf33
Merge branch 'develop' into nonevm-706-support-custom-bumping-strateg…
Farber98 77b28cf
refactors after merge
Farber98 0c4a7d8
fix interactive rebase
Farber98 849ac48
fix whitespace diffs
Farber98 20a1548
fix import
Farber98 a4d4770
fix mocks
Farber98 56a64da
add on prebroadcaste error
Farber98 9148d7d
remove rebroadcast count and fix package
Farber98 caf2cbf
improve docs
Farber98 1fbd63f
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 5c22af2
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 02ffd1a
fix comparison against blockHeight instead of slotHeight
Farber98 c00494c
address feedback
Farber98 6ac30b0
fix lint
Farber98 36ee4ec
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 0e38174
fix log
Farber98 d240021
address feedback
Farber98 4389e13
remove useless slot height
Farber98 6bcdd8f
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 50dd10f
address feedback
Farber98 10b0453
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 2ea0c50
validate that tx doesn't exist in any of maps when adding new tx
Farber98 b5a6927
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 b4b4fd5
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 e7d7680
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 409fd1c
callers set lastValidBlockheight + get blockhash on expiration + inte…
Farber98 31a65a0
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 1be704a
add enq iface comm to help callers
Farber98 9ee8977
address feedback
Farber98 294110f
Merge branch 'develop' into backup-branch-fee-bumping
Farber98 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.