-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add Transaction Simulation to the TXM #12503
Merged
Merged
Changes from 4 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
5a87d87
Added tx simulator to maintain chain specific simulation methods
amit-momin bdb9fef
Fixed linting
amit-momin 46b13be
Fixed linting and regenerated config docs
amit-momin 141dfea
Generated mock
amit-momin 4835554
Fixed config tests
amit-momin 27922a3
Merge branch 'develop' into zk-tx-simulation
amit-momin befeaf0
Moved the tx simulator to the chain client
amit-momin fbdd110
Removed client from Txm struct
amit-momin 2f7078f
Removed config from test helper
amit-momin fc70e7f
Added tests and logging
amit-momin 389e18f
Added changeset
amit-momin 37b783e
Fixed multinode test
amit-momin cdc58b2
Merge branch 'develop' into zk-tx-simulation
amit-momin e126805
Fixed linting
amit-momin 0c22a6f
Merge branch 'develop' into zk-tx-simulation
amit-momin c7eae50
Fixed comment
amit-momin 53efe22
Added test for non-OOC error
amit-momin 8ad2510
Reduced context initializations in tests
amit-momin 3f53867
Updated to account for all types of OOC errors
amit-momin ce8a3c7
Removed custom zk counter method and simplified error handling
amit-momin d7605cc
Removed zkevm chain type
amit-momin f301d43
Changed simulate tx method return object
amit-momin eb34bc7
Cleaned up stale comments
amit-momin 68de594
Removed unused error message
amit-momin 1a25270
Changed zk overflow validation method name
amit-momin 6798e4d
Reverted method name change
amit-momin 87c8eac
Merge branch 'develop' into zk-tx-simulation
amit-momin 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 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
1 change: 1 addition & 0 deletions
1
core/chains/evm/config/toml/defaults/Polygon_Zkevm_Cardona.toml
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
1 change: 1 addition & 0 deletions
1
core/chains/evm/config/toml/defaults/Polygon_Zkevm_Mainnet.toml
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
Didn't see any behavior depending on this type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh good call, missed cleaning this out after removing the zkevm specific method