Commit Graph

26989 Commits

Author SHA1 Message Date
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
Fang
d33f851466
ethereum: accept plain atoms for rlp encoding
It will measure them for you, making it easier to encode lists
containing both fixed- and variable-width numbers.

Largely obviates the need for +encode-atoms.
2021-09-18 20:41:21 +02:00
Fang
0c1e999cdb
ethereum: fix bug with rlp encoding of zero bytes
Null bytes in lists were getting eaten during concatenation. To avoid
this, we track encoded item widths (which are always 1 or higher) and
+can them all together.

This likely did not affect any of the other Ethereum code, considering
it nearly always measures atoms, and the null byte would be seen as
no bytes in that case.
2021-09-18 20:41:14 +02:00
Liam Fitzgerald
c5393bcf8c
Merge pull request #5181 from urbit/lf/fix-md-kick-removal
metadata-store: Handle removes on kick correctly
2021-09-06 08:28:41 +10:00
ixv
01aaeb7883
Merge pull request #5188 from urbit/ixv/notify-fixes
notify: cleanup %watch-not-unique cases
2021-08-30 15:01:07 -07:00
Liam Fitzgerald
83f0b4c794 interface: fix tsc errors 2021-08-30 10:54:09 +10:00
Liam Fitzgerald
95b24c8a34 metadata-store: fix compile errors 2021-08-27 13:16:31 +10:00
Liam Fitzgerald
10022a8b08
Merge pull request #5128 from urbit/lf/revive-resume
interface: actually resume channels
2021-08-27 10:04:39 +10:00
Liam Fitzgerald
6926c0997d
Merge pull request #5156 from urbit/lf/graph-kick
graph-store: Handle missing update-logs gracefully in scries
2021-08-27 10:01:37 +10:00
ixv
8a17642526 notify: cleanup %watch-not-unique cases 2021-08-26 13:30:49 -07:00
Liam Fitzgerald
041cd8e95d interface: reduce %initial-group correctly 2021-08-24 16:57:28 +10:00
Liam Fitzgerald
e3aa00cabc metadata-store: remove dangling entries upon %initial-group 2021-08-24 16:42:30 +10:00
Liam Fitzgerald
7e70d529f1
Merge pull request #5180 from litmus-ritten/master
landscape: altered RemoteContent regexes for images, video, and audio to include period literal.
2021-08-24 15:46:34 +10:00
litmus-ritten
b7909cdf6c landscape: altered RemoteContent regexes for images, video, and audio to
include period literal.

This prevents URLs ending in 'mov', 'ogg', etc. from rendering as empty
video/audio, allowing people to learn about Isaac Asimov and William
Rees-Mogg.
2021-08-24 15:43:16 +10:00
janeway-bot
55ce03c168
Merge fa894b9690 into release/next-userspace 2021-08-20 02:28:21 +04:00
janeway
fa894b9690 glob: update to 0v758lj.uf0s5.0nh3m.gunn6.942gj 2021-08-19 15:25:15 -07:00
ixv
111f1837c0 Merge remote-tracking branch 'finned/fix-various-issues-in-release' 2021-08-19 15:19:28 -07:00
finned-palmer
09bfb81c84 Fix feepicker issues 2021-08-19 17:13:23 -05:00
finned-palmer
b4eae08f88 Add exit buttons to invoices 2021-08-19 17:12:56 -05:00
finned-palmer
a0e0f3404c Fix issue with change provider button not triggering modal 2021-08-19 09:33:37 -05:00
finned-palmer
82766647c6 Fix scanning text issues 2021-08-19 09:31:50 -05:00
finned-palmer
2ae99433c4 Fix enum, was breaking signer button 2021-08-19 09:25:26 -05:00
finned-palmer
0ebd41915a Fix imports in ExternalInvoice 2021-08-19 09:25:03 -05:00
Philip Monk
6974ab3bc7
Merge pull request #5152 from urbit/m/newcliptic
azimuth: update for latest ecliptic address
2021-08-18 22:44:19 -07:00
janeway-bot
10c40bf0a1
Merge 6ab7f53fff into release/next-userspace 2021-08-19 06:14:02 +04:00
janeway
6ab7f53fff glob: update to 0v4.e52ik.udm4j.6aus5.02b25.vomaj 2021-08-18 18:12:52 -07:00
ixv
764d018973 btc-wallet: fix imports 2021-08-18 18:07:20 -07:00
ixv
5f56eb9a1b Merge branch 'lf/aqua-revive' 2021-08-18 17:36:01 -07:00
ixv
2578233aed Merge remote-tracking branch 'hosted-fornet/add-crunch-library-and-generator' 2021-08-18 17:30:36 -07:00
ixv
6cd4f6d751 aqua: assert pill type 2021-08-18 17:25:17 -07:00
ixv
3f38506125
Merge pull request #5149 from finned-palmer/switch-to-typescript
btc-wallet: Port btc-wallet to typescript.
2021-08-18 09:59:01 -07:00
finned-palmer
62efce52b8 Port BTC wallet to Typescript 2021-08-18 07:31:08 -05:00
finned-palmer
e9546b360a Merge branch 'release/bitcoin-wallet' of git://github.com/urbit/urbit into release/bitcoin-wallet 2021-08-18 07:02:52 -05:00
finned-palmer
237e14399c Match edouard's designs 2021-08-17 10:09:07 -07:00
finned-palmer
216e5b19ac Add external (psbt) invoice 2021-08-17 10:09:07 -07:00
finned-palmer
b93e2a15e3 Fix copy from non-secure context issue 2021-08-17 10:09:07 -07:00
finned-palmer
9de743fae7 Use deSig for isPatp 2021-08-17 10:09:07 -07:00
finned-palmer
fb0ec8acc9 Use deSig rather than concat 2021-08-17 10:09:07 -07:00
finned-palmer
736ca726c4 Add sig to valid patp in send component 2021-08-17 10:09:07 -07:00
finned-palmer
98a116bd51 Just show total main/change addresses scanned 2021-08-17 10:09:07 -07:00
finned-palmer
3ad8e9c49f Show wallet scan progress 2021-08-17 10:09:07 -07:00
finned-palmer
80de9f9b49 Map dollar sign to USD 2021-08-17 10:09:07 -07:00
finned-palmer
696912228e Fix destructured param in checkTicket 2021-08-17 10:09:07 -07:00
finned-palmer
3b03f6ba59 Cleanup walletModal, transaction, invoice 2021-08-17 10:09:07 -07:00
finned-palmer
72fbbb11e5 Fix newTx handler 2021-08-17 10:09:07 -07:00
finned-palmer
76743129fb Add fee to useSettings hook 2021-08-17 10:09:07 -07:00
finned-palmer
ecc8352656 Remove more console logs 2021-08-17 10:09:07 -07:00
finned-palmer
f7879edf4c Fix bad css properties 2021-08-17 10:09:07 -07:00
finned-palmer
d3650d41eb Add network to useSettings hook 2021-08-17 10:09:07 -07:00
finned-palmer
278c0d63fa Fix feepicker 2021-08-17 10:09:07 -07:00