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: Support blob basefee opcode #3878

Closed

Conversation

ControlCplusControlV
Copy link
Contributor

WIP, draft pr

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 86.12%. Comparing base (05ec5a1) to head (e2c6646).

Files Patch % Lines
vyper/codegen/expr.py 0.00% 4 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3878      +/-   ##
==========================================
+ Coverage   86.10%   86.12%   +0.01%     
==========================================
  Files          92       92              
  Lines       14017    14022       +5     
  Branches     3079     3081       +2     
==========================================
+ Hits        12070    12076       +6     
+ Misses       1515     1513       -2     
- Partials      432      433       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -265,6 +265,14 @@ def parse_Attribute(self):
return IRnode.from_list(["callvalue"], typ=UINT256_T)
elif key == "msg.gas":
return IRnode.from_list(["gas"], typ=UINT256_T)
elif key == "block.blobbasefee":
if not version_check(begin="cancun"):
Copy link
Member

Choose a reason for hiding this comment

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

this should throw an exception, not warn

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What is the proper way to do that? It seems like everything else just warns on wrong version?

@charles-cooper
Copy link
Member

superseded by #3945

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.

3 participants