-
Notifications
You must be signed in to change notification settings - Fork 107
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: debug block #1011
Merged
Merged
feat: debug block #1011
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
tcoratger
reviewed
Apr 24, 2024
tcoratger
approved these changes
Apr 24, 2024
Eikix
reviewed
Apr 24, 2024
Eikix
reviewed
Apr 24, 2024
Eikix
reviewed
Apr 24, 2024
anukkrit149
pushed a commit
to karnotxyz/kakarot-rpc
that referenced
this pull request
Aug 9, 2024
Made coinbase storage var a constructor argument rather than a hardcoded value. Time spent on this PR: 1 hour (methodology: searched the whole source tree for "coinbase", "0xCA40", "precompiles", and "uninitialized") ## Pull request type - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, renaming) - [X] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? Currently Coinbase is a hardcoded constant value (0xCA40796aFB5472abaeD28907D5ED6FC74c04954a) duplicated in a few places in the .py and .cairo sources. Resolves kkrt-labs#1011 ## What is the new behavior? That constant is now defined in a single location in constants.py and imported as needed. Accordingly, codebase is also passed as a new argument in the "kakarot" and "EVM" constructors. <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/kkrt-labs/kakarot/1069) <!-- Reviewable:end --> --------- Co-authored-by: Rene Doursat <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Time spent on this PR: 3 day
Resolves: #1010
Pull Request type
Please check the type of change your PR introduces:
What is the new behavior?
Adds the
debugTraceBlockByNumber
anddebugTraceBlockByHash
endpoints.Does this introduce a breaking change?