Fix engine_sim regression

This commit is contained in:
jangko 2024-01-15 13:03:29 +07:00
parent 4fb94cacad
commit fb2aa1b6f9
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 2 additions and 2 deletions

View File

@ -285,8 +285,8 @@ proc toTransaction(tx: TransactionObject): Transaction =
chainId : tx.chainId.get(0.Web3Quantity).ChainId,
nonce : tx.nonce.AccountNonce,
gasPrice : tx.gasPrice.GasInt,
maxPriorityFee : tx.maxFeePerGas.get(0.Web3Quantity).GasInt,
maxFee : tx.maxPriorityFeePerGas.get(0.Web3Quantity).GasInt,
maxPriorityFee : tx.maxPriorityFeePerGas.get(0.Web3Quantity).GasInt,
maxFee : tx.maxFeePerGas.get(0.Web3Quantity).GasInt,
gasLimit : tx.gas.GasInt,
to : ethAddr tx.to,
value : tx.value,