ethereum / ethereum/execution-specs
make Transaction.ty field also an enum so we can clearly define transaction type in code
Open
stale
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 505
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 116
Description
currently this field is automatic, but would be nice to have access to enum when writing the tests
```
class TransactionType(IntEnum):
LEGACY = 0
ACCESS_LIST = 1
BASE_FEE = 2
BLOB_TRANSACTION = 3
SET_CODE = 4
```
Contributor guide
Assessment
This issue has not been assessed yet.