diff --git a/ethers/provider.nim b/ethers/provider.nim index f365bb7..98fd973 100644 --- a/ethers/provider.nim +++ b/ethers/provider.nim @@ -170,7 +170,7 @@ proc replay*(provider: Provider, tx: Transaction, blockNumber: UInt256) {.async. # the same block BEFORE this transaction will not have their state transitions # included in the replay. # More information: https://snakecharmers.ethereum.org/web3py-revert-reason-parsing/ - trace "replaying transaction", hasGas = (%tx).hasKey("gas"), tx = %tx + trace "replaying transaction", gasLimit = tx.gasLimit, tx = $tx discard await provider.call(tx, BlockTag.init(blockNumber)) method getRevertReason*(