mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-10 01:23:05 +00:00
try replay without decrementing block number
This commit is contained in:
parent
24f1f86dc9
commit
7a0761930b
@ -161,7 +161,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/
|
||||
discard await provider.call(tx, BlockTag.init(blockNumber - 1))
|
||||
discard await provider.call(tx, BlockTag.init(blockNumber))
|
||||
|
||||
method getRevertReason*(
|
||||
provider: Provider,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user