Commit Graph

7550 Commits

Author SHA1 Message Date
Fang
71eee8cb00 Parse RPC error responses correctly. 2018-04-09 16:57:53 +02:00
Fang
dba3abac6b Correctly decode bools. 2018-04-04 21:28:45 +02:00
Fang
14e682c620 Simplify process of retrieving hull noun from eth response. 2018-04-04 19:13:30 +02:00
Fang
99df5ec158 Make Ethereum decoding function a wet gate, producing tuples with type info.
Type information still lost for array members.
2018-04-04 17:15:23 +02:00
Fang
e648891b51 WIP Constitution state mirror daemon 2018-03-23 20:55:30 +01:00
Fang
b46315af11 Fix off-by-one when parsing bytes32. 2018-03-22 16:34:15 +01:00
Fang
6fe0a29a55 Support Ethereum filter creation and polling. 2018-03-21 22:58:11 +01:00
Fang
6b9e286047 Support arbitrary RPC results rather than just strings. 2018-03-21 22:56:58 +01:00
Fang
4ef49b878f ++default-block -> ++block 2018-03-21 15:44:18 +01:00
Fang
aacbbd5517 Comments and light cleanup. 2018-03-15 16:43:35 +01:00
Fang
e311b1a4e9 Expand RPC request generation to allow custom IDs. 2018-03-15 15:59:33 +01:00
Fang
9047199b55 Support JSON RPC batch requests. 2018-03-15 00:58:01 +01:00
Fang
2b76a23b44 Implement decoding of Ethereum arguments/call results. 2018-03-14 23:49:36 +01:00
Fang
f28b9f7b60 RPC API structures are part of the Ethereum lib proper for now. 2018-03-13 14:47:21 +01:00
Fang
de116bbb2a Move generic JSON RPC logic into its own files. 2018-03-13 14:42:49 +01:00
Fang
d8ddcbf386 Can now make requests to Ethereum nodes. Supports chain read requests. 2018-03-13 00:42:24 +01:00
Fang
91070222d7 Use ++co for rendering hex. 2018-03-13 00:40:34 +01:00
Fang
ed0da9ed2f Add arm for encoding an entire call.
Clean up printfs.
2018-03-12 17:03:21 +01:00
Fang
239a5d7744 Work with octs for encoding the bytes types. 2018-03-12 17:02:32 +01:00
Fang
62f18aff31 Merge branch 'master' of https://github.com/urbit/arvo into constitution 2018-03-12 15:39:36 +01:00
cgyarvin
a6c83e3919
Merge pull request #666 from ohAitch/faster-gen-test
clean up and accelerate +test framework
2018-03-10 11:40:44 -08:00
Anton Dyudin
d0138ff7fa fix #654 by having assert-eq accept a vase of a pair
flipping the order of the pair while rewriting all the test was necessary anyawy, to accoutn for heavier-twig tendencies
2018-03-09 19:43:35 -08:00
Anton Dyudin
3bb24f1327 move test- check- prefix filter to lib/tester 2018-03-09 19:27:32 -08:00
Anton Dyudin
5e746a9c36 REVIEW precompute nock for test arm pulls
to avoid running the compiler repeatedly in separate |. contexts, which would not share cache
2018-03-09 19:27:32 -08:00
Anton Dyudin
24fe89a2b5 add ++category formatter to optionally restore name behavior 2018-03-09 19:27:32 -08:00
Anton Dyudin
bcf14304c3 minor denamespacing 2018-03-09 19:27:32 -08:00
Anton Dyudin
1b68ab0553 simplify ++tester interface to return immediate wall 2018-03-09 19:27:32 -08:00
Anton Dyudin
a07ca03bb6 get rid of redundant tester-type 2018-03-09 19:27:32 -08:00
Anton Dyudin
c73095af8a remove reduncant c=tape parameter from expect-eq
also began cleaning up indentation
2018-03-09 19:27:32 -08:00
Ted Blackman
c98598d070
Merge pull request #664 from urbit/webtalk-names
Update webtalk's ship name syllables to post-renaming ones.
2018-03-09 13:45:00 -08:00
Fang
bb144bbeea
Update webtalk's ship name syllables to post-renaming ones. 2018-03-09 21:46:54 +01:00
Fang
09303422ef
Rename keccak test helper to not get tested itself
As per #659.
2018-03-07 23:38:01 +01:00
Fang
78ce01c6b7
Merge pull request #659 from urbit/just-tests
Make +test only run arms starting with ++test-
2018-03-07 23:37:50 +01:00
Fang
85b70d2555
Run ++check- arms in addition to ++test- ones during tests. 2018-03-07 23:26:34 +01:00
Fang
b1bed4e52f
Merge pull request #651 from Fang-/keccak-hashing
Add keccak hashing family into zuse
2018-03-07 22:34:43 +01:00
Fang
744005c79d Helper function for checking known answers for the example inputs.
Also comments.
2018-03-07 22:13:54 +01:00
Fang
efc258744e
Make +test only run arms starting with ++test- 2018-03-07 20:44:28 +01:00
Fang
45741339d6 Added tests for keccak:crypto. 2018-03-06 02:07:35 +01:00
Fang
5127de36ce Fix incorrect naming for shake arms. 2018-03-06 01:26:34 +01:00
Keaton Dunsford
9c67754678
Merge pull request #645 from Fang-/moons-ok
Remove outdated warning message about moons
2018-03-05 12:08:45 -08:00
Fang
e2061066f5 Fix bug in lane-to-bytes conversion. 2018-03-05 20:59:21 +01:00
Fang
b9755a1af1 Make padding pass explicit length, too. 2018-03-05 19:02:28 +01:00
Fang
04fa542769 More comments, better naming. 2018-03-05 16:12:32 +01:00
Fang
0220adce7e Keccak interface now takes octs to account for leading zeroes when needed.
Byte ordering is done for you.
2018-03-05 16:02:27 +01:00
Fang
34fcc6ef80 Add keccak hashing family into zuse. 2018-03-02 17:09:41 +01:00
Fang
b4a0a5f0e7 Merge commit '798fa84960837d5a65296c48b6208c06e225197f' into constitution 2018-02-23 15:31:25 +01:00
Fang
e71aeb4e9e Removed outdated warning message about moons. 2018-02-23 12:18:42 +01:00
Ted Blackman
798fa84960
Merge pull request #644 from ohAitch/mold-cabtar-2
amend #589 to reduce =| mold namespace pollution
2018-02-22 18:23:41 -08:00
Anton Dyudin
e0418a3162 amend #589 to reduce =| mold namespace pollution
This should fix womb, which has a |=(mold (unit (... +<))) that
pulls ++unit from the wrong place.
2018-02-22 17:48:59 -08:00
Ted Blackman
d1a201cf0f
Merge pull request #640 from Fang-/talk-perf
Talk now only loads in messages from the last five days on first boot.
2018-02-22 10:49:58 -08:00