ethereum / ethereum/execution-specs

Move blob/transaction gas calculations out of `.../vm/gas.py`

Open
#1,264 2 comments 0 reactions 0 assignees View on GitHub
A-spec-specs C-feat E-easy P-low stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

The vm module should only contain stuff relevant to the EVM. Blob and tx fee calculations should be moved into a higher module.

A few other random gas constants that should be put somewhere better:

- https://github.com/ethereum/execution-specs/blob/7c41a14dcddda2aba201ad41e0d33612bbc86406/src/ethereum/forks/amsterdam/transactions.py#L31-L68

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.