nim-ethers/ethers
Eric Mastro c5c9534876 Refactor based on PR comments
- `TransactionReceipt.blockHash` is optional
- Block.number is optional (in case node doesn’t return this in the event)
- Refactor confirmations waiting such that there is no polling for a receipt at the start
- Make BlockHandler and SubscriptionHandler async
- change casing of constants
- change return type checking of contract method to check for `Confirmable` instead of `?TransactionRepsonse`
- Reduce miner sleep to 10ms
- Change `wait` and `Waitable` to `confirm` and `Confirmable` to avoid conflict with chrono’s `.wait`.
- Update params on `.confirm` so that the compiler can restrict values of the `int` to `Positive` and `Natural`.
- Add `Block` and `TransactionReceipt` conversion tests to test for missing block number and block hash.
- Add tests for confirmation calculations and determining if a tx has been mined from its receipt.
- Assume that blockNumber returned from node will be null or empty string, in which case we can parse as 0 and test for that condition.
2022-05-23 11:27:26 +10:00
..
providers Refactor based on PR comments 2022-05-23 11:27:26 +10:00
basics.nim Add Signer.populateTransaction() 2022-01-25 10:25:09 +01:00
blocktag.nim Adds Signer.getTransactionCount() 2022-01-24 12:14:31 +01:00
contract.nim Refactor based on PR comments 2022-05-23 11:27:26 +10:00
events.nim Fix decoding of events with dynamic arguments 2022-04-13 10:10:53 +02:00
fields.nim Fix for Nim 1.4.x 2022-02-09 14:50:51 +01:00
provider.nim Refactor based on PR comments 2022-05-23 11:27:26 +10:00
signer.nim feat: Can wait for transaction confirmations 2022-05-23 11:27:26 +10:00
transaction.nim Add Signer.populateTransaction() 2022-01-25 10:25:09 +01:00