ethereum / ethereum/execution-specs

make Transaction.ty field also an enum so we can clearly define transaction type in code

Open
#1,513 1 comment 0 reactions 0 assignees View on GitHub
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

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.