* Fix problem with contract out of assets
* Add nully value json test
* Fix bug with passing null to a few functions
* Typesafe U256 parsing
* Update readme for the web3 to include runner info
* Cleanup commits
Strip out unused JSON
Update comment
Remove echo
Added DynamicBytes test
More correct naming
Remove one extra double check
* Add specific object tests
* Ensure we cover different status types
* Add header comments
* Cleanup
* Add more tests
* Cleanup
* Revert docs
* Nimpretty file
* Fix issue in base stew
* Add tests
* Sorting
* Work on tests
* Move items to the correct location
* Add TODO
* Add all test executables
* Work on generating tests
* Push latest execution API changes
* Work on eth_call test
* Fix source type
* Latest
* Add many more tests
* Add more tests
* Revert "from" to "source"
* Try fix types
* Split to types which fail and those which dont
* Cleanup
* Remove whispher types again
* re-remove whisper
* Add more eth_api signature
* Readding executions-apis submodule
* Disable test_execution_api
* Nitpick
* add handlers
* Add last line to handler
* Some handler pass
* Finally all tests pass
* Add the test to all_tests
* Consisten style
* Turn on submodule downloading in CI
* Temporary workaround of get eth_getBlockReceipts for nim 2.0
---------
Co-authored-by: jangko <jangko128@gmail.com>
* Fix problem with contract out of assets
* Add nully value json test
* Fix bug with passing null to a few functions
* Typesafe U256 parsing
* Update readme for the web3 to include runner info
* Cleanup commits
Strip out unused JSON
Update comment
Remove echo
Added DynamicBytes test
More correct naming
Remove one extra double check
* Add specific object tests
* Ensure we cover different status types
* Add header comments
* Cleanup
* Add more tests
* Cleanup
* Revert docs
* Nimpretty file
* Fix issue in base stew
* v0.2.4
* Fix test
---------
Co-authored-by: jangko <jangko128@gmail.com>
* Refactoring, contract dsl wasm compatibility, fixes in encoding/decoding.
* Tests
* Fixed Nim 1.* compatibility
* Some backward compatibility
* Minor tweaks, and a safety check
* Update web3/encoding.nim
Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
* Update web3.nim
Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
* Use stew.assign instead of reinventing the wheel
* Fixed string decoder. Removed extra allocations.
* Added test for string decoder
* v0.2.2
---------
Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
Co-authored-by: jangko <jangko128@gmail.com>
* 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