From b1380275b0289565e984fa16937095826d3cbf13 Mon Sep 17 00:00:00 2001 From: Oba Date: Thu, 22 Aug 2024 11:41:47 +0200 Subject: [PATCH] remove unnecessary tempvar --- src/kakarot/eth_rpc.cairo | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kakarot/eth_rpc.cairo b/src/kakarot/eth_rpc.cairo index c30c5e8f68..39cd3b90c4 100644 --- a/src/kakarot/eth_rpc.cairo +++ b/src/kakarot/eth_rpc.cairo @@ -233,9 +233,8 @@ func eth_send_raw_transaction{ ) { let tx = EthTransaction.decode(tx_data_len, tx_data); - // Whitelisting pre-eip155 or validate chain_id for post eip155 + // Validate chain_id for post eip155 let (chain_id) = Kakarot.eth_chain_id(); - tempvar is_tx_post_eip155 = is_not_zero(tx.chain_id.is_some); if (tx.chain_id.is_some != FALSE) { with_attr error_message("Invalid chain id") { assert tx.chain_id.value = chain_id;