Skip to content

Commit d619d10

Browse files
committed
Remove traces array from TxEnv (#909)
1 parent c612d3d commit d619d10

File tree

38 files changed

+15
-42
lines changed

38 files changed

+15
-42
lines changed

src/ethereum/arrow_glacier/fork.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,6 @@ def process_transaction(
771771
access_list_storage_keys=access_list_storage_keys,
772772
index_in_block=index,
773773
tx_hash=get_transaction_hash(encode_transaction(tx)),
774-
traces=[],
775774
)
776775

777776
message = prepare_message(block_env, tx_env, tx)

src/ethereum/arrow_glacier/vm/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ class TransactionEnvironment:
9393
access_list_storage_keys: Set[Tuple[Address, Bytes32]]
9494
index_in_block: Optional[Uint]
9595
tx_hash: Optional[Hash32]
96-
traces: List[dict]
9796

9897

9998
@dataclass

src/ethereum/berlin/fork.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,6 @@ def process_transaction(
658658
access_list_storage_keys=access_list_storage_keys,
659659
index_in_block=index,
660660
tx_hash=get_transaction_hash(encode_transaction(tx)),
661-
traces=[],
662661
)
663662

664663
message = prepare_message(block_env, tx_env, tx)

src/ethereum/berlin/vm/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ class TransactionEnvironment:
9292
access_list_storage_keys: Set[Tuple[Address, Bytes32]]
9393
index_in_block: Optional[Uint]
9494
tx_hash: Optional[Hash32]
95-
traces: List[dict]
9695

9796

9897
@dataclass

src/ethereum/byzantium/fork.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,6 @@ def process_transaction(
635635
gas=gas,
636636
index_in_block=index,
637637
tx_hash=get_transaction_hash(tx),
638-
traces=[],
639638
)
640639

641640
message = prepare_message(block_env, tx_env, tx)

src/ethereum/byzantium/vm/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ class TransactionEnvironment:
9090
gas: Uint
9191
index_in_block: Uint
9292
tx_hash: Optional[Hash32]
93-
traces: List[dict]
9493

9594

9695
@dataclass

src/ethereum/cancun/fork.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,6 @@ def process_system_transaction(
563563
blob_versioned_hashes=(),
564564
index_in_block=None,
565565
tx_hash=None,
566-
traces=[],
567566
)
568567

569568
system_tx_message = Message(
@@ -755,7 +754,6 @@ def process_transaction(
755754
blob_versioned_hashes=blob_versioned_hashes,
756755
index_in_block=index,
757756
tx_hash=get_transaction_hash(encode_transaction(tx)),
758-
traces=[],
759757
)
760758

761759
message = prepare_message(block_env, tx_env, tx)

src/ethereum/cancun/vm/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ class TransactionEnvironment:
104104
blob_versioned_hashes: Tuple[VersionedHash, ...]
105105
index_in_block: Optional[Uint]
106106
tx_hash: Optional[Hash32]
107-
traces: List[dict]
108107

109108

110109
@dataclass

src/ethereum/constantinople/fork.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,6 @@ def process_transaction(
635635
gas=gas,
636636
index_in_block=index,
637637
tx_hash=get_transaction_hash(tx),
638-
traces=[],
639638
)
640639

641640
message = prepare_message(block_env, tx_env, tx)

src/ethereum/constantinople/vm/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ class TransactionEnvironment:
9090
gas: Uint
9191
index_in_block: Uint
9292
tx_hash: Optional[Hash32]
93-
traces: List[dict]
9493

9594

9695
@dataclass

0 commit comments

Comments
 (0)