ethereum / ethereum/execution-specs

Create multiple transaction classes for each type

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

Description

We could create separate class types for each Transaction at some point in the future, i.e TransactionType0, ..., TransactionType3 that are members of Transaction to avoid duplication

This could be useful when writing tests later down the line to improve readability, maintenance, etc

_Originally posted by @spencer-tb in https://github.com/ethereum/execution-spec-tests/pull/167#discussion_r1248226054_

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.