From 74ea3fbb99940a56da3c4d225dc695417279b505 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Tue, 26 Sep 2023 22:32:56 +1000 Subject: [PATCH] fix build error somehow this didn't break the nim-ethers tests? --- ethers/provider.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*(