Commit Graph

7 Commits

Author SHA1 Message Date
Yuriy Glukhov 09ce974cab Contract constructor support 2024-01-08 14:57:09 +01:00
jangko 36ff4bbca3
Event handler passing around JsonString instead of JsonNode 2024-01-08 13:09:23 +07:00
jangko a0cdfcede6
Resolve contract_dsl ambiguity 2024-01-08 10:38:10 +07:00
jangko ef317bc846
Migrate to json-serialization 2024-01-07 17:23:00 +07:00
jangko be1bb307dc
Reduce compiler warnings when using Nim v2 2024-01-02 09:33:15 +07:00
Will 23c06ca6d2
Bugfix/nully values (#61)
* 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>
2023-12-14 06:56:54 +07:00
Yuriy Glukhov 45d09b29d2
Refactoring, contract dsl wasm compatibility, encode/decode fixes. (#108)
* 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>
2023-12-13 12:26:04 +07:00