d62f8105a1
* 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 |
||
---|---|---|
.. | ||
all_tests.nim | ||
test.nim | ||
test_deposit_contract.nim | ||
test_ethhexstrings.nim | ||
test_logs.nim | ||
test_signed_tx.nim | ||
test_utils.nim |