urbit/pkg/arvo/tests/lib/ethereum
Fang 3c5fd9fda6
ethereum: ensure "to" value is 20 bytes wide
Previously, this would measure as <20 bytes for addresses with leading
zeroes. This resulted in transactions with unexpected behavior.
For example, sending ETH to the zero address would create a contract
instead.

Here we switch to using +encode:rlp directly and indicate a width of
20 bytes for the "to" field.
2021-09-18 20:41:26 +02:00
..
encoding.hoon various: ethereum, azimuth, json-rpc out of zuse 2020-12-06 17:26:52 +01:00
rlp.hoon ethereum: fix bug with rlp encoding of zero bytes 2021-09-18 20:41:14 +02:00
signing.hoon ethereum: ensure "to" value is 20 bytes wide 2021-09-18 20:41:26 +02:00