-
Notifications
You must be signed in to change notification settings - Fork 82
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
Feat(tests): Test for trying to obtain TransactionStatus::CallTooDeep from the Engine #628
Merged
Conversation
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
birchmd
added
C-bug
Category: Something isn't working.
A-testing
Area: If something has added tests, or changed them.
A-evm-compatibility
Area: EVM compatibility changes or fixes.
labels
Oct 21, 2022
birchmd
force-pushed
the
test-call-too-deep
branch
2 times, most recently
from
October 21, 2022 20:54
3485124
to
111b9b7
Compare
On rebase CI should be fixed. |
birchmd
force-pushed
the
test-call-too-deep
branch
from
November 3, 2022 17:31
111b9b7
to
eb26323
Compare
joshuajbouw
approved these changes
Nov 7, 2022
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.
Sucks to have a gas cost regression but this is necessary :(
birchmd
added a commit
that referenced
this pull request
Nov 15, 2022
…deeply nested EVM calls (#628)
Merged
aleksuss
pushed a commit
that referenced
this pull request
Nov 16, 2022
…deeply nested EVM calls (#628)
joshuajbouw
added a commit
that referenced
this pull request
Nov 25, 2022
* Chore(docs): Additional documentation for xcc gas values (#590) * Feat(standalone): Conversion from standalone's TransactionKind to NormalizedEthTransaction (#586) * Add Backstage metadata (#534) * Add Backstage metadata * Fix(aurora-engine-transactions): remove hex feaure from std (#600) * Feat(tests): benchmark transaction Emufid2pv2UpxrZae4NyowF2N2ZHvYEPq16LsQc7Uoc6 (#599) * Connector-tests: Add tests for the case where an account other than aurora-engine is used for ETH deposit (#598) * [Docs] Eth Connector - extended documentation (#601) * feat: add serde JSON to JSON serializable structs in parameters (#605) * Pausable precompiles (#588) * Test(engine): Increase unit test coverage (#614) * Feat: allow xcc calls to perform any possible NEAR call (#610) * Test(engine): Increase unit test coverage (#618) * Refactor: Mark functions that create promises on NEAR as unsafe (#617) * Fix(xcc): Only update the router contract version in storage if the deploy is successful (#616) * Fix(CI): broken submodules checkout + Clippy warnings (#621) * Chore(standalone): Upgrade rocksdb to v0.19. (#615) * fix: remove sscache from CI (#626) * Tiny refactoring by clippy suggestions (#625) * Improvements in log macro (#630) * Fix (engine): update SputnikVM dependency to avoid stack overflow on deeply nested EVM calls (#628) * Fix(xcc): Ensure the xcc router attaches enough gas to the execute function (#622) * Release 2.8.0 notes * Build: Add reproducible build job. (#633) * fix: bn 256 regression (#637) * Update release notes * Update README to exclude version (#623) * Chore: Update to SputnikVM version v0.37.1-aurora. Includes some overflow-related fixes. (#638) * fix: modexp underestimated gas * chore: bump Cargo to 2.8 * chore: remove version from deployments in README.md Co-authored-by: Alexey Lapitsky <[email protected]> Co-authored-by: Joshua J. Bouw <[email protected]> Co-authored-by: Kirill <[email protected]> Co-authored-by: Evgeny Ukhanov <[email protected]> Co-authored-by: Roman Hodulák <[email protected]> Co-authored-by: Dmitry Strokov <[email protected]> Co-authored-by: Oleksandr Anyshchenko <[email protected]> Co-authored-by: Oleksandr Anyshchenko <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-evm-compatibility
Area: EVM compatibility changes or fixes.
A-testing
Area: If something has added tests, or changed them.
C-bug
Category: Something isn't working.
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.
Description
This PR is related to issue #627 . In this PR I add a test illustrating the problem outlined in that issue. Once this test passes, we know the issue is resolved.
Testing
A new test includes an infinitely recursive Solidity contract. The point of this test is to create a situation where the EVM call stack limit is exceeded and see how the engine behaves. Presently the test is failing (per the issue described in #627 ), but once it passes then we should merge this PR.
Additional information
The fix itself will be in SputnikVM, not in the Engine. I'll make a PR in that repo and reference this PR in it.