-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Solana TXM in-memory storage layer to track transactions stat…
…es (#909) * Updated the in-memory storage to use state maps to better track transactions across their lifecycle * Removed all tx map from in-memory storage * Moved retention timeout logic into OnFinalized and OnError methods * Updated internal tests and fixed linting * Added check for same state transition calls on transactions * Updated logs and fixed chain test * Added new internal TXM tests and moved tx ID generation to Enqueue * Updated broadcast log and fixed confirm timeout logic * Fixed linting * Updated internal tests to validate reap mechanism * Updated comment * Updated error messages * Fixed tests * Fixed internal tests and linting * Reverted predefined error and updated error logs * Fixed chain test * Updated keystore Accounts mock * Added errors to state change methods and updated logs * Encapsulated in-memory storage locking in separate methods * Fixed tests and linting * Added tests for add signature and get tx state * Fixed linting
- Loading branch information
1 parent
efd6780
commit 65ae137
Showing
17 changed files
with
2,170 additions
and
449 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.