Skip to content
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

Merged
merged 9 commits into from
May 1, 2024

Conversation

DanielSchiavini
Copy link
Contributor

  • Add missing fields to TxEnv
  • Add tests
  • Add fake_exponential function
  • Add set_tx_env method
  • Update dependencies

This test was checking the EVM which we don't need to test in this repo.
DanielSchiavini added a commit to DanielSchiavini/vyper that referenced this pull request Apr 25, 2024
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"
Copy link
Collaborator

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

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:
Copy link
Collaborator

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

Copy link
Collaborator

@charles-cooper charles-cooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks!

@charles-cooper charles-cooper merged commit 6cf1fcb into paradigmxyz:master May 1, 2024
12 checks passed
@DanielSchiavini DanielSchiavini deleted the cancun branch May 2, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants