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: add gaslimit and basefee env variables #2495

Merged
merged 2 commits into from
Oct 21, 2021

Conversation

charles-cooper
Copy link
Member

@charles-cooper charles-cooper commented Oct 20, 2021

What I did

Add block.gaslimit and block.basefee (fixes #2415)

How I did it

How to verify it

Description for the changelog

Add block.gaslimit and block.basefee environment variable

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2021

Codecov Report

Merging #2495 (0a3107f) into master (93a9579) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2495   +/-   ##
=======================================
  Coverage   84.60%   84.60%           
=======================================
  Files          93       93           
  Lines        9228     9242   +14     
  Branches     2086     2090    +4     
=======================================
+ Hits         7807     7819   +12     
- Misses        935      936    +1     
- Partials      486      487    +1     
Impacted Files Coverage Δ
vyper/evm/opcodes.py 100.00% <ø> (ø)
vyper/semantics/environment.py 100.00% <ø> (ø)
vyper/old_codegen/expr.py 79.27% <100.00%> (+0.16%) ⬆️
vyper/builtin_functions/functions.py 88.95% <0.00%> (-0.35%) ⬇️
vyper/cli/vyper_lll.py 0.00% <0.00%> (ø)
vyper/lll/optimizer.py 84.07% <0.00%> (ø)
vyper/lll/compile_lll.py 94.49% <0.00%> (+0.14%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93a9579...0a3107f. Read the comment docs.

@charles-cooper charles-cooper changed the title feat: add block.gaslimit to environment feat: add gaslimit and basefee env variables Oct 20, 2021
@fubuloubu fubuloubu merged commit 2e274bb into vyperlang:master Oct 21, 2021
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.

VIP: Add EIP-3198 Base Fee Support
3 participants