nim-ethers/testmodule
Eric 7eac8410af
prevent stuck transactions by async locking nonce sequencing (+ estimate gas) (#55)
- async lock during nonce sequencing + gas estimation
- simplified cancelTransaction (still exported) such that the new transaction is populated using populateTransaction, so that all gas and fees are reset
- moved reverting contract function into its own testing helpers module, and refactored any tests to use it
- updated the test helper reverts to check EstimateGasErrors
- combine ensureNonceSequence into populateTransaction
2023-10-25 10:42:25 +11:00
..
providers Increment nonce count when populating transaction (#54) 2023-09-15 09:54:08 +10:00
config.nims Fix warnings 2023-07-04 12:58:48 +02:00
examples.nim Add Signer.populateTransaction() 2022-01-25 10:25:09 +01:00
hardhat.nim Introduce Contract abstraction 2022-01-20 12:56:18 +01:00
helpers.nim prevent stuck transactions by async locking nonce sequencing (+ estimate gas) (#55) 2023-10-25 10:42:25 +11:00
miner.nim Refactor based on PR comments 2022-05-23 11:27:26 +10:00
mocks.nim Allow for custom transaction properties 2022-07-13 09:04:48 +02:00
test.nim Move tests for JSON RPC provider into their own folder 2023-07-03 13:09:09 +02:00
test.nimble Update asynctest to 0.4.0 2023-07-03 13:09:09 +02:00
testContracts.nim prevent stuck transactions by async locking nonce sequencing (+ estimate gas) (#55) 2023-10-25 10:42:25 +11:00
testEnums.nim Close provider by unsubscribing and closing client 2023-07-03 13:09:09 +02:00
testErc20.nim feat: (de/in)crease allowance (#56) 2023-10-16 10:23:58 +02:00
testEvents.nim remove en/decoding for distinct types 2022-09-21 10:27:45 +10:00
testProviders.nim Move tests for JSON RPC provider into their own folder 2023-07-03 13:09:09 +02:00
testReturns.nim Close provider by unsubscribing and closing client 2023-07-03 13:09:09 +02:00
testTesting.nim prevent stuck transactions by async locking nonce sequencing (+ estimate gas) (#55) 2023-10-25 10:42:25 +11:00
testWallet.nim Use Result to return error when wallet creation fails 2023-09-13 10:11:18 +02:00