nim-web3/tests
Eric Mastro d62f8105a1
fix: allow Bool input/output types for contracts (#39)
* fix: allow Bool input/output types for contracts

Contracts created with the `contract` macro and having a method with a `Bool` input/output type were failing to compile. Example:
```
contract(MyContract):
  proc enableTransfers(
    transfersEnabled: Bool
  )
```
Failed with:
```
Error: type mismatch: got <type Bool>
but expected one of:
proc unknownType()
  first type mismatch at position: 1
  extra argument given

expression: unknownType(Bool)
```
This fix enables translating `Bool` type signatures to solidity’s `bool` type.

* add Bool encoding/decoding test
2021-09-21 12:02:06 +02:00
..
all_tests.nim silence spurious warnings 2020-07-15 10:14:28 +07:00
test.nim fix: allow Bool input/output types for contracts (#39) 2021-09-21 12:02:06 +02:00
test_deposit_contract.nim fixes failing test cases 2021-05-19 11:19:51 +07:00
test_ethhexstrings.nim Fix nimble test 2020-06-30 15:59:21 +03:00
test_logs.nim fixes failing test cases 2021-05-19 11:19:51 +07:00
test_signed_tx.nim Correct nonce values when sending multiple transactions 2020-08-01 19:41:39 +03:00
test_utils.nim Allow specifying a block number when making smart contract calls 2020-04-18 17:24:59 +03:00