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[lang]: introduce mana as an alias for gas #3713

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

pcaversaccio
Copy link
Collaborator

@pcaversaccio pcaversaccio commented Dec 28, 2023

What I did

In light of EIP-6789, I introduce mana as an alias for gas. Since mana is so far only an alias, I do deliberately not replace all the gas kwargs nor any other gas keywords in the documentation with mana.

How I did it

I introduce a new transaction property called msg.mana that is semantically the same as msg.gas.

How to verify it

Commit message

feat: introduce `mana` as an alias for `gas`

Description for the changelog

Introduce mana as an alias for gas.

Cute Animal Picture

image

Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@codecov-commenter
Copy link

codecov-commenter commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.60%. Comparing base (626cdf9) to head (6ccc25a).
Report is 1 commits behind head on master.

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3713      +/-   ##
==========================================
- Coverage   90.97%   88.60%   -2.37%     
==========================================
  Files         106      106              
  Lines       15288    15288              
  Branches     3367     3367              
==========================================
- Hits        13908    13546     -362     
- Misses        942     1230     +288     
- Partials      438      512      +74     

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

@pcaversaccio pcaversaccio marked this pull request as draft December 28, 2023 16:42
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio self-assigned this Dec 28, 2023
@pcaversaccio pcaversaccio marked this pull request as ready for review December 28, 2023 17:36
@charles-cooper
Copy link
Member

interesting PR, i need to meditate on this one!

@pcaversaccio pcaversaccio changed the title feat: introduce mana as an alias for gas feat[lang]: introduce mana as an alias for gas Mar 26, 2024
@charles-cooper
Copy link
Member

note that after EOF, there won't be any references to gas within the EVM, so there may not be anything to do here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants