Skip to content

Commit

Permalink
Fix NeonTxModel -> EthTx - add the missing access_list.
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyzdanovich committed Jun 12, 2024
1 parent 8b37677 commit 9e26209
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/neon/transaction_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


_TX_MODEL_EXCLUDE_LIST = {
0: {"max_priority_fee_per_gas", "max_fee_per_gas", "tx_chain_id", "chain_id"},
0: {"max_priority_fee_per_gas", "max_fee_per_gas", "tx_chain_id", "chain_id", "access_list"},
2: {"gas_price"},
}

Expand Down Expand Up @@ -181,6 +181,7 @@ def _to_eth_tx(self) -> EthTx:
to_address=self.to_address.to_bytes(),
value=self.value,
call_data=self.call_data.to_bytes(),
access_list=[], # Access list of not yet supported
v=self.v,
r=self.r,
s=self.s,
Expand Down

0 comments on commit 9e26209

Please sign in to comment.