Commit Graph

231 Commits

Author SHA1 Message Date
fang
5131d3165d
Merge branch 'release/next-userspace' into m/eip-1559-plus 2021-10-08 20:42:37 +04:00
Joe Bryan
9a1b9b4450 Merge branch 'master' into release/next-vere
* master: (595 commits)
  grid: updating glob
  landscape: updating glob
  graph-store: clean up merge artefact
  interface: reduce %all-stats correctly
  docket: correctly en-vase a docket definition
  kiln: don't +mean the tang noun alongside the tang
  hood: scry for list of desks with empty desk name
  hood: remove needless weld
  hood: report %kids desk hash in +report-vats
  landscape: fix joining indicator in statusbar
  interface: reduce %saw-place correctly
  app-prefs: fixing logic around enabled
  pull-hook: add nice flag to kick poke
  graph-pull-hook: renegotiate subscriptions
  graph-store: Handle missing update-logs gracefully in scries
  arvo: update jamfiles
  landscape: correctly freeze graph-update-2
  jael: on rekey, update life if moon
  tmp/ jamfiles
  btc: updating glob
  ...
2021-10-05 11:33:08 -04:00
Fang
7d3fc3d9b1
eyre: update tests wrt recent changes 2021-09-25 17:16:39 +04:00
Fang
4692c10fe2
ethereum: add support for eip-1559 transactions
Adds a new transaction type and signing method for eip-1559-style
transactions.

Includes a $typed-transactions type which can support any number of
eip-2718-style typed transactions.
2021-09-18 20:41:33 +02:00
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
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
143a8e08e6 various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
Joe Bryan
1a8935ffe6
Merge pull request #5171 from urbit/jb/urcrypt-merge
urcrypt: merge
2021-09-09 07:23:48 -07:00
Joe Bryan
c28c3e040b test: removes obsolete scrypt test comment 2021-08-19 22:15:20 -04:00
Joe Bryan
0b19f51a6b Merge remote-tracking branch 'frodwith/urcrypt' into jb/urcrypt-prep
* frodwith/urcrypt: (75 commits)
  move libaes_siv to deps
  fix typo in urcrypt.h
  libaes_siv now using tip of dfoxfranke master
  check for recovery header presence in configure, put -O3 in flags, move pc to distcleanfiles
  clean generated pkg-config file
  update urbit's configure to use a liburcrypt version
  add a versioning scheme to urcrypt
  remove scrypt from urbit build (in urcrypt now)
  move the rest of the scrypt jets to urcrypt, enable them, and correct the hoon test to match the source rfc.
  scr-pbk->urcrypt
  start scrypt porting
  Squashed 'pkg/urcrypt/scrypt/' content from commit a402f4116
  finish porting secp jets to urcrypt
  pkg-config support for urcrypt, update urbit build
  cosmetic configure things
  require shared ssl when building a shared urcrypt
  remove some old files
  add autogen.sh
  use srcdir in -I to support out of tree builds
  whitespace and symbol cleanup
  ...
2021-08-19 20:03:19 -04:00
Ted Blackman
616ab66f26 merge master; loosen :hood's updates 2021-08-11 19:23:36 +03:00
Philip Monk
5996b3aa1e
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-07-20 13:57:50 -04:00
Philip Monk
1d06b77a46
jael, dawn: support multikeyfile
taken from bdaad4cf84
2021-07-20 13:28:33 -04:00
Ted Blackman
1c41b01359 %base: move landscape files out; %base boots, %landscape validates 2021-07-18 04:40:20 +03:00
Ted Blackman
4cb5cd0ba1 gall,drum,kiln: WIP start agents in kiln 2021-07-15 09:51:03 +03:00
Logan Allen
23869712ee test/thread: make tests pass and all threads build 2021-06-24 11:28:26 -05:00
Philip Monk
87ca57c364
gall: allow apps to run from any desk
Start with |start %desk %app-name

Everywhere in the kernel that we deal with marks, we infer the app it's
connected to and use the marks from that desk.

Also some light renaming in gall, especially path->wire and
current-agent->yoke.

Subsequent tasks:

- Dojo needs a syntax to run generators and threads from other desks
- The home desk should be split into at least a minimal base desk and
  big "userspace" desk.  Dill's initialization logic should be updated
  to handle
- |show-package, |install, and |uninstall should to be written
- Clay should have smarter handling of system versions instead of just
  ignoring what's on each desk.  It's not clear that this will work
  correctly when sys updates right now.
2021-06-18 16:13:55 -10:00
ixv
690971c9a9 btc: fix b158 test 2021-06-11 17:42:37 -07:00
ixv
fbbda57552 btc: use blockfilter when requesting address info 2021-06-11 16:10:56 -07:00
fang
2d01e1851f
Merge branch 'master' into m/multipass 2021-06-09 14:34:49 +02:00
fang
148fb1b45c
tests, aqua: update for recent changes 2021-06-04 14:11:44 +02:00
Isaac Visintainer
d8f1e731e1 btc: post merge cleanup 2021-05-26 18:30:17 -07:00
fang
9e16cd0875
tests: update dawn tests for recent changes
Also includes some new tests for the multikeyfile case.
2021-05-26 20:11:02 +02:00
Philip Monk
63ba2823dd
Merge remote-tracking branch 'origin/ted/clay-bunt' into release/next-sys 2021-05-18 07:38:52 -10:00
Logan Allen
b311087f6a Merge branch 'release/next-sys' into la/sys-fast-orm 2021-05-11 12:37:16 -05:00
Logan Allen
0ed09b7a29 tests: fix wrong expected result with ordered-map test 2021-05-05 16:53:24 -05:00
Logan Allen
a25f8028f4 tests: add test to make sure subtree is being modified properly in +del-span 2021-05-05 16:07:08 -05:00
Logan Allen
947b9ec75c zuse: +tab should paginate into the ordered-map starting from the highest element, not from the lowest 2021-05-05 11:56:04 -05:00
Logan Allen
59227f8696 tests: added tests for +tab 2021-05-04 15:58:47 -05:00
Logan Allen
dd6eeccdae zuse: update names of +subset to +lot, +peek to +pry, remove unnecessary comments 2021-04-28 16:12:46 -05:00
Philip Monk
72bd2e185f
Merge pull request #4825 from urbit/m/tests-updates
tests: update to reflect recent changes
2021-04-26 15:59:37 -07:00
fang
6f0a947d1b
Merge branch 'master' into release/next-sys 2021-04-26 23:13:27 +02:00
fang
d95696f29c
tests: update format tests to account for #4677
It had changed ship encoding to fit into a json %n, but hadn't updated the
tests to reflect this.
2021-04-26 19:40:26 +02:00
fang
0a71b75550
tests: update clay tests to account for #4745
It had changed the shape of some data structures, but hadn't updated the tests
to reflect that.
2021-04-26 19:36:43 +02:00
Logan Allen
6b0dc98952 ames: reflect update of name +traverse -> +dip 2021-04-20 15:04:28 -05:00
Logan Allen
fd6f6b3bd0 zuse: added jet hints to all +ordered-map arms, reordered them alphabetically as is done in +in and +by 2021-04-20 12:04:59 -05:00
Joe Bryan
e9ee2f77c2 Merge branch 'master' into release/next-vere
* master: (160 commits)
  glob: update to 0v6.8mn05.16g61.46lkc.lgddc.3ifug
  metadata-push-hook: fixes issue with adding unmanaged metadata
  pills: update solid
  graph-push-hook: don't crash on multipart add
  glob: update to 0v5.g86fq.9ngth.ki9h1.q7kut.icm5f
  graph-store: scry only once during +validate-graph
  graph-store: fewer allocations in +validate-graph
  graph-store: speed up +validate-graph by using +turn and no longer virtualizing
  interface: version local state by commit hash
  graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future
  graph-validators: speed up validators by adding type casts
  build: only run publish-npm-packages on pkg/npm
  build: match on path subdirectories
  glob: update to 0v1.4ujsp.698kt.ojftv.7jual.4hhu5
  launch: prevent aggressive tutorial render
  launch: get tutorial state from zustand
  push-hook: add version scries
  glob: update to 0v5.b7cjf.2kc12.85sng.lkqav.7sn0k
  readme: update arvo maintainers list
  notifications: clear before applying unreads
  ...
2021-04-01 15:31:35 -07:00
pilfer-pandex
15cc84164d Merge branch 'master' into release/next-vere 2021-03-22 15:26:00 -04:00
Liam Fitzgerald
ceafee33ab
hooks: address L review 2021-03-22 09:54:59 +10:00
Liam Fitzgerald
0878104538
versioning: address review, add tests 2021-03-19 10:12:49 +10:00
J
ef1b125c3e zuse: fix time fix regression
Fixes #4598.

#4474 made the JSON time conversion no longer invertible, which caused
problems for chat, which uses message timestamp in milliseconds as a key
-- so chat would send a message with ms timestamp x, it would get
encoded as @da x, but then when it went back through the conversion to
milliseconds, it would often (not always) get encoded as x-1.

I still do not fully understand why this is -- and why it doesn't seem
to be a problem with seconds based on cursory testing -- but integer
multiplication and division generally do not invert. And adding a half a
millisecond to the input date before converting it resolves the issue
and makes the functions invertible.

I added a regression test, so hopefully the next courageous adventurer
who winds up here after wondering why +unm looks funny will have a
safeguard against some of the mistakes I made.
2021-03-12 20:06:10 +00:00
Ted Blackman
b55417a1c3 clay: remove +bunt from marks 2021-03-05 16:53:35 -05:00
Philip Monk
008f8ac54d
tests: update for removing +volt 2021-03-04 15:20:43 -08:00
Philip Monk
137f1cdff3
Merge remote-tracking branch 'origin/ted/static-clay-3' into release/next-sys 2021-03-03 18:42:44 -08:00
Philip Monk
6215137ed5
Merge remote-tracking branch 'origin/ted/ordered-map-fix' into release/next-sys 2021-03-03 18:20:33 -08:00
Philip Monk
6e3d1680a7
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-03-03 17:54:57 -08:00
Ted Blackman
fcbb70de9e zuse: actually fix ordered-map +traverse this time 2021-02-26 22:37:11 -05:00
Ted Blackman
2442f9bb93 zuse: fix ordered-map delete many 2021-02-26 21:42:22 -05:00
Ted Blackman
0452eb92f2 Merge branch 'release/next-sys' into HEAD 2021-02-24 13:26:51 -05:00
Ted Blackman
68e1d92fb4 clay: fix tests 2021-02-24 13:07:27 -05:00