Commit Graph

47 Commits

Author SHA1 Message Date
Jacek Sieka 806547ddd1
secp: requiresInit 2020-06-22 17:09:35 +02:00
Zahary Karadjov 05f2a17ba4
Make some string-conversions more friendly for Infura use (0x-prefixes are required there) 2020-06-22 15:27:47 +03:00
Zahary Karadjov ee69dbd48a
A helper for checking if a contract has been deployed at a particular block 2020-06-19 19:42:55 +03:00
Viktor Kirilov f1d3e94dda event handlers should't be permitted to raise anything other than a Defect 2020-05-08 17:20:59 +03:00
Zahary Karadjov 0ca6089962
Misc fixes
* Allow BlockHash et al to be used as keys in hash tables
* Switch from Exceptions to CatchableErrors
* Export some helpers that needed in NBC
2020-04-18 17:24:59 +03:00
Zahary Karadjov d172765114
Transform some macro generated code into a generic function 2020-04-18 17:24:59 +03:00
Zahary Karadjov 270fd64620
Add convenience API for obtaining logs from a smart contract event 2020-04-18 17:24:59 +03:00
Zahary Karadjov 6927cd08a2
Allow specifying a block number when making smart contract calls
Other changes:

* More accurate RPC signatures
* Handle empty responses from the Web3 provider in `eth_call`
2020-04-18 17:24:59 +03:00
Jacek Sieka 969adf2f1e
keys: fix deprecations 2020-04-04 18:51:27 +02:00
Jacek Sieka da74eabaa0
web3: fix zero key comparison 2020-04-02 17:31:23 +02:00
Yuriy Glukhov 89d7a0c8fd
Handle and propagate disconnect event from provider 2019-11-22 14:41:12 +02:00
Yuriy Glukhov 7bc29e7470
Merge pull request #14 from status-im/fix-13
Removed unneeded debug prints. Fixes #13
2019-11-04 19:34:55 +02:00
Yuriy Glukhov ca799679f5
Removed unneeded debug prints. Fixes #13 2019-11-04 19:05:31 +02:00
Yuriy Glukhov 37fc461114
Fixed serialization compatibility with geth. Added getMinedTransactionReceipt 2019-10-30 15:05:44 +02:00
Yuriy Glukhov ecd2fb45a6 Added close function 2019-10-23 09:35:54 +09:00
Yuriy Glukhov 5107c088bc
Merge pull request #10 from status-im/blkhashtyp
Use BlockHash and TxHash types where appropriate
2019-09-30 15:54:34 +03:00
Yuriy Glukhov 7ed8080ec3
Use BlockHash and TxHash types where appropriate 2019-09-30 13:39:03 +03:00
Yuriy Glukhov 08909f9972 Fixed gcsafety issues for newer nim 2019-09-09 23:42:39 -04:00
Yuriy Glukhov 817c819847 Fixed fixed encoding, inputs/outputs parsing 2019-09-06 09:24:37 -04:00
Ștefan Talpalaru 58d78cfa7f
byteutils -> stew/byteutils 2019-08-24 21:48:57 +02:00
Ștefan Talpalaru 377b14cb4a
CI: update script path 2019-08-24 21:38:37 +02:00
Yuriy Glukhov 6ca87380a6 Fixes #5, implemented tx signing 2019-08-06 11:02:38 +03:00
Yuriy Glukhov 21b7c69093
Merge pull request #6 from status-im/debug
limit debug prints to explicit debug builds (-d:debug)
2019-08-01 22:55:35 +03:00
Ștefan Talpalaru a60a2c760f
limit debug prints to explicit debug builds (-d:debug) 2019-08-01 16:55:40 +02:00
Yuriy Glukhov cd0e216aaf Ergonomics changes 2019-07-31 13:13:26 +03:00
Yuriy Glukhov cd3be5aab1 Added raw data argument to subscription handlers 2019-07-22 12:09:09 +03:00
Yuriy Glukhov f96487e604 Fixed more signatures 2019-07-22 12:09:09 +03:00
Yuriy Glukhov cf6dc7699f More fixes, fetch historical logs on subsciption, more tests 2019-07-22 12:09:09 +03:00
Yuriy Glukhov 1d6d413318 Fixed dynamic encoding, added deposit contract test 2019-07-22 12:09:09 +03:00
Yuriy Glukhov 1d58c88989 Event subscriptions 2019-07-22 12:09:09 +03:00
Yuriy Glukhov dc2286be73
Merge pull request #3 from status-im/buildnim
build_nim.sh
2019-06-19 13:34:35 +03:00
Ștefan Talpalaru 359911bc56
build_nim.sh 2019-06-19 12:18:34 +02:00
Yuriy Glukhov 164fcaf8b1
Merge pull request #1 from status-im/fixes
Some fixes. Package structure updated.
2019-06-10 16:25:00 +03:00
Yuriy Glukhov 4363d66838 Some fixes. Package structure updated. 2019-06-10 15:02:43 +03:00
PMunch aff05ca240 Argument decoding and initial deploy contract testing 2019-01-29 15:17:20 +01:00
PMunch 332b0ccfc8 Started work on running the deposit contract 2019-01-29 09:46:48 +01:00
PMunch 42949439a6 Split into library and usage example 2019-01-22 17:38:34 +01:00
PMunch e3c34bdcd4 Implemented proper dynamic sizes 2019-01-22 16:08:24 +01:00
PMunch 99c3667184 Testing actual dynamic sizes 2019-01-17 16:22:45 +01:00
Peter Munch-Ellingsen d51e5074dd Add field for dynamic length inputs 2019-01-14 23:10:34 +01:00
PMunch 60a434b4d4 Polished event loop system 2019-01-11 18:34:22 +01:00
Peter Munch-Ellingsen 84e231f8a2 Sew together the event loop pieces 2019-01-09 22:55:03 +01:00
PMunch c3d4029a9c Started work on event loop and callback structure 2019-01-07 17:59:57 +01:00
PMunch 0c82c97369 Implement a nice pattern for calling web3 functions 2019-01-04 18:31:20 +01:00
PMunch ddbaf7c45f Fix Call, Receipt, and Log objects 2019-01-04 18:31:10 +01:00
Bruno Škvorc 5fccf91e1a
Update README.md 2019-01-02 15:10:24 +01:00
PMunch eb14b4b706 Initial commit 2018-12-21 18:27:09 +01:00