This commit is contained in:
Eric 2023-10-20 18:05:15 +11:00
parent 9cc34416e5
commit ff4dc5dfd7
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View File

@ -4,4 +4,4 @@ func msgStack*(error: ref EthersError): string =
var msg = error.msg
if not error.parent.isNil:
msg &= " -- Parent exception: " & error.parent.msg
return msg
return msg

View File

@ -66,8 +66,6 @@ method estimateGas*(signer: Signer,
method getChainId*(signer: Signer): Future[UInt256] {.base, gcsafe.} =
signer.provider.getChainId()
func lastSeenNonce*(signer: Signer): ?UInt256 = signer.lastSeenNonce
method getNonce(signer: Signer): Future[UInt256] {.base, gcsafe, async.} =
var nonce = await signer.getTransactionCount(BlockTag.pending)