diff --git a/codex/market.nim b/codex/market.nim index 1728a09c..9e04df0e 100644 --- a/codex/market.nim +++ b/codex/market.nim @@ -84,6 +84,7 @@ template cancelOnError*(market: Market, body) = body except JsonRpcProviderError as e: trace "error encountered, cancelling tx if there's a nonce present", nonce = e.nonce, error = e.msg + writeStackTrace() if e.nonce.isSome: # send a 0-valued transaction with the errored nonce to prevent stuck txs await market.cancelTransaction(!e.nonce) diff --git a/vendor/nim-ethers b/vendor/nim-ethers index 0897a6c3..91eabaa6 160000 --- a/vendor/nim-ethers +++ b/vendor/nim-ethers @@ -1 +1 @@ -Subproject commit 0897a6c3383cf4b6fcd3e7562c5ca15a02a21b22 +Subproject commit 91eabaa67ad4d121fa37036143ba04feb1d2c21a