ethereum / ethereum/execution-specs
Move blob/transaction gas calculations out of `.../vm/gas.py`
Open
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
Assessment
This issue has not been assessed yet.