Commit Graph

1341 Commits

Author SHA1 Message Date
Fang
2092ee3cba
Merge pull request #1098 from urbit/topics-decoding-patch
Fix topics decoding to work with zero values
2019-03-16 15:15:19 +01:00
Fang
e029ce1e44 Fix off-by-ones in Ethereum ABI en/decoding logic 2019-03-08 12:44:10 +01:00
Fang
84f3441210 Refactor Ethereum ABI decoding logic to do less busywork
++decode-arguments now takes already-parsed words, rather than a @t of
words, so that we operate on straight atom values instead of hex
strings.
For the ++decode-topics case, we no longer re-string and un-string the
input data prior to processing.
2019-03-08 01:28:40 +01:00
Fang
b1d114066b Fix Ethereum ABI encoding for the %bytes data type
Don't encode it like you do %bytes-n, which limits length to 32 bytes.
2019-03-08 00:34:01 +01:00
Isaac Visintainer
8677a4e779 bumped ames protocol number 2019-03-07 12:42:31 -08:00
Isaac Visintainer
9d73739765 Merge branch 'hotfix' into next 2019-03-07 11:46:00 -08:00
Fang
3ef6007930
Fix topics decoding to work with zero values 2019-03-06 16:50:05 +01:00
Fang
b3e4604255
Merge pull request #1092 from urbit/eth-rpc-blockbynumber
Support eth_getBlockByNumber Ethereum RPC call
2019-03-05 01:10:21 +01:00
Isaac Visintainer
95a255d032 removed hard calls on json blobs 2019-03-04 14:39:52 -08:00
Fang
bcdd6e60d6 Support eth_getBlockByNumber Ethereum RPC call 2019-03-04 22:32:47 +01:00
Fang
7542084ee7
Merge pull request #1087 from urbit/da-from-unix-time
Implement +from-unix for turning Unix timestamps into @da
2019-03-03 21:37:37 +01:00
jfranklin9000
34c69c300f added initial image support to udon parser (#1085) 2019-03-01 18:41:12 -08:00
Fang
436eeeb32b Implement +from-unix for turning timestamps into @da 2019-02-28 21:22:38 +01:00
benjamin-tlon
d06693dc7e
Add support to lens-command for pill output and optimized base64 encoding. (#1068)
Added support to `lens-command` for outputting a pill. We want this so that we can create (solid and brass) pills from `urb.py`.

This also adds an optimized base64 encoding routine. The previous version of base64 stack overflowed on large inputs, and a tail-recursive version took hours to encode 5mb of data. This one uses the `ripn` jet and only takes a second or two.
2019-02-27 16:12:59 -08:00
Fang
9b0fbb3444 Point to the correct topics when decoding Azimuth events 2019-02-26 21:48:24 +01:00
Fang
04d2117dcd
Merge pull request #1079 from urbit/eth-rpc-topics
More accurately represent Ethereum RPC filter topics
2019-02-22 14:07:56 +01:00
Philip Monk
83c394ac49
add control flow to |verb 2019-02-21 15:58:21 -08:00
Fang
16c5bf8b25 Be accurate in incoming/hoon-side structures also 2019-02-21 22:28:57 +01:00
Fang
2ea2245f97 More accurately represent Ethereum RPC filter topics
Rather than a flat list of topics to watch for, it is an indexed list
of topics to watch for in those specific positions. As such, items in
that list may also be zero (null, matches any topic), or a list of
topics (matches any one of those topics).

Additionally, topics are always specified using 32 bytes, so there is
no need to specify length explicitly.
2019-02-21 13:26:23 +01:00
Philip Monk
ffedb36721
also pin validate-x to now 2019-02-16 22:10:45 -08:00
Philip Monk
f873bcdf91
pin to local time because using local desk 2019-02-16 21:33:48 -08:00
Philip Monk
3e29612bf6
add |bonk and flop ames timer order 2019-02-16 10:42:09 -08:00
Isaac Visintainer
664a819f15 bump ames protocol number to 1 2019-02-14 13:08:57 -08:00
Ted Blackman
ee79b23add
behn even dumber (#1066) 2019-02-11 15:34:08 -08:00
Philip Monk
0e90721db3
modify behn to not fire in the middle of another event and take one timer at a time 2019-02-08 19:19:50 -08:00
Joe Bryan
04363ca278 removes trailing blank line from arvo.hoon 2019-02-06 16:19:00 -05:00
Joe Bryan
a597bfaed3 adds details to arvo |mass 2019-02-06 14:03:52 -05:00
Joe Bryan
cbfbca060f adds detail to %ames |mass and plugs |reset leak 2019-02-06 13:26:19 -05:00
Joe Bryan
6d6ec85d6a bumps ames protocol version number 2019-02-05 19:46:45 -05:00
Joe Bryan
5fb7db038f
Merge pull request #1057 from urbit/zap-vanes
enable stacktraces in all the vanes
2019-02-05 19:29:23 -05:00
Joe Bryan
b4f6271f2c
Merge pull request #1056 from urbit/ford-zap-dot
!: in Ford, except inner loops
2019-02-05 19:29:03 -05:00
Joe Bryan
4b349d6a63 disables stack traces in +wa (the caching compiler engine) 2019-02-05 19:04:28 -05:00
Joe Bryan
409e8d81cc enables stack traces in all the vanes (adds !:) 2019-02-05 19:04:28 -05:00
Joe Bryan
e603aef6b5 Merge branch 'hotfix' into next
* hotfix:
  ensures $~ defaults nest in the actual structure
  behn: ignore duplicate %wait requests (#1043)
  restores +able:dill comment margin
  renames kernel upgrade initialization event from %vega to %lyra
  refactors arvo's +spam:is, which sends a move to every vane
  refactors effect iteration in arvo +poke
  updates arvo/vanes to send/receive %vega kernel upgrade notification
  build tank outside of |.
2019-02-05 18:42:19 -05:00
Joe Bryan
b39dc19153
Merge pull request #1041 from urbit/vega-vanes
notify vanes of kernel upgrades
2019-02-05 18:18:43 -05:00
Joe Bryan
5a09095c2b
Merge pull request #1046 from urbit/spec-check-nest
ensures  defaults in $~ specs nest in the actual structure
2019-02-05 18:15:42 -05:00
Ted Blackman
79b8657ce0 review comments 2019-02-05 14:36:04 -08:00
Ted Blackman
7d8aad16c6 \!: in Ford, except inner loops 2019-02-05 14:24:19 -08:00
Joe Bryan
cee6ff1c9b ensures $~ defaults nest in the actual structure 2019-02-05 14:56:55 -05:00
pilfer-pandex
9e8ffb29ce
Merge pull request #1054 from urbit/dude-remove-trap
Remove trap from %dude in ford
2019-02-05 11:24:38 -08:00
pilfer-pandex
025ff7faaa
Update ford.hoon 2019-02-05 10:38:34 -08:00
pilfer-pandex
ce7d0dde82 Remove trap from %dude in ford 2019-02-04 16:58:22 -08:00
Fang
371f337539 Provide better affordances for json-rpc requests
Includes a type for rpc requests, and functions for turning those
into more actionable types (json, hiss).
2019-02-03 21:19:31 +01:00
Ted Blackman
e2028b6929
behn: ignore duplicate %wait requests (#1043) 2019-02-01 14:14:55 -08:00
Joe Bryan
e9dd864236 restores +able:dill comment margin 2019-02-01 15:07:31 -05:00
Joe Bryan
1dd30334af renames kernel upgrade initialization event from %vega to %lyra 2019-02-01 15:07:31 -05:00
Joe Bryan
e9ee7ce5e3 refactors arvo's +spam:is, which sends a move to every vane 2019-02-01 15:07:31 -05:00
Joe Bryan
d9767f4802 refactors effect iteration in arvo +poke 2019-02-01 15:07:31 -05:00
Joe Bryan
690934a6fc updates arvo/vanes to send/receive %vega kernel upgrade notification 2019-02-01 15:07:26 -05:00
Isaac Visintainer
a60de9ba8e build tank outside of |. 2019-01-31 21:08:06 -08:00