-
Notifications
You must be signed in to change notification settings - Fork 27
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(EIP-7516): BLOBBASEFEE opcode #16
Conversation
DanielSchiavini
commented
Apr 23, 2024
- Add missing fields to TxEnv
- Add tests
- Add fake_exponential function
- Add set_tx_env method
- Update dependencies
EIP-7516: BLOBBASEFEE opcode
This test was checking the EVM which we don't need to test in this repo.
- Uses new pyrevm version paradigmxyz/pyrevm#16
address = "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045" # vitalik.eth | ||
address2 = "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB" | ||
|
||
fork_url = "https://mainnet.infura.io/v3/c60b0bb42f8a4c6481ecd229eddaca27" | ||
# use your own key during development to avoid rate limiting the CI job | ||
fork_url = os.getenv("FORK_URL") or "https://mainnet.infura.io/v3/c60b0bb42f8a4c6481ecd229eddaca27" |
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.
whose key is this and why is it in the codebase?
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.
This key was here from the beginning, probably from @gakonst - removing it will break unit tests for PRs
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.
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.
lol 383 instances
@@ -0,0 +1,8 @@ | |||
61002661000f6000396100266000f35f3560e01c635fb0146d811861001e5734610022574a60405260206040f35b5f5ffd5b5f80fd8418268000a16576797065728300030b0012 | |||
|
|||
Only the first line is read in the tests. This was generated based on the following Vyper code: |
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.
should we add a test for blobhash as well? cf. vyperlang/vyper#3962
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.
nice, thanks!