Commit Graph

464 Commits

Author SHA1 Message Date
Jōshin
4591fa272e
zuse: schnorr test cases
These are from:
<https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv>
2022-01-09 05:28:22 +00:00
Philip Monk
a2a89d3532
Merge remote-tracking branch 'origin/next/arvo' into philip/roller 2021-11-16 13:58:57 -08:00
fang
d379a38486
zuse: explicitly +cut in +cite:title, add tests 2021-11-12 13:11:40 +01:00
Philip Monk
d9d7f69f26
test: make lib/vere/dawn not crash 2021-11-10 01:25:08 -08:00
yosoyubik
27576e272b Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-10-31 15:14:15 +01:00
fang
0ec3d5111d
Merge branch 'master' into naive/roller 2021-10-26 20:46:32 +02:00
fang
36cd69b6d0
Merge tag 'urbit-os-v2.100' into naive/roller 2021-10-26 17:08:03 +02:00
fang
5131d3165d
Merge branch 'release/next-userspace' into m/eip-1559-plus 2021-10-08 20:42:37 +04:00
Philip Monk
7b528e823f
naive: final touch-up 2021-10-05 22:20:35 -05: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
yosoyubik
f243500068 Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-09-27 16:29:12 +02:00
Fang
7d3fc3d9b1
eyre: update tests wrt recent changes 2021-09-25 17:16:39 +04:00
Philip Monk
32f07f4c3e
naive: add block-number to input
Unused, but will be used to trigger all upgrades
2021-09-23 12:24:20 -05: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
bb53d5a8ba naive: splits large batch test into parsing and full tx handling 2021-09-15 10:36:56 -04:00
Philip Monk
312d27169b
naive: specific large batch test 2021-09-13 14:24:00 -05:00
Philip Monk
94c2223bf8
naive: style 2021-09-13 14:23:21 -05:00
drbeefsupreme
22d19f29cc
naive: remove unnecessary variable from test 2021-09-13 14:42:59 -04:00
drbeefsupreme
08e4a5afce
naive: large batch test is an actual batch 2021-09-13 14:40:26 -04:00
drbeefsupreme
b808f927d2
naive: large batch test 2021-09-13 12:56:53 -04:00
Joe Bryan
1a8935ffe6
Merge pull request #5171 from urbit/jb/urcrypt-merge
urcrypt: merge
2021-09-09 07:23:48 -07:00
drbeefsupreme
f9f82eedfd
naive: ledger signature tests 2021-09-08 14:52:24 -04:00
drbeefsupreme
ee260694fa
naive: test trezor signature 2021-09-01 16:54:52 -04:00
drbeefsupreme
e1bbcd01e3
naive: fix metamask signature test 2021-09-01 16:38:01 -04:00
drbeefsupreme
419400fd9c
naive: 80 char width trimming 2021-08-24 18:18:48 -04:00
drbeefsupreme
996743b830
naive: cleanup +test-rut 2021-08-24 17:01:09 -04:00
drbeefsupreme
44e0d65740
naive: add %spawn dominion galaxy tests 2021-08-24 15:28:40 -04:00
drbeefsupreme
e03a6d7055
naive: fix rank-filter 2021-08-24 15:06:08 -04:00
yosoyubik
3774abba73 Merge remote-tracking branch 'origin/philip/naive' into naive/roller 2021-08-22 18:27:33 +02:00
Philip Monk
38c0452203
naive: fixup test nonces 2021-08-20 10:36:04 -07:00
Joe Bryan
c28c3e040b test: removes obsolete scrypt test comment 2021-08-19 22:15:20 -04:00
drbeefsupreme
45daca57ad
Merge branch 'philip/naive' into poprox/naive-tests 2021-08-19 20:56:23 -04:00
Philip Monk
16306dc48c
naive: speed up tests by pinning initial state 2021-08-19 17:33:28 -07:00
drbeefsupreme
ee71d19000
naive: fix broken test nonces 2021-08-19 20:32:19 -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
Philip Monk
bfd7550c98
naive: migrate tests to ordered map 2021-08-19 16:47:28 -07:00
Philip Monk
7f7e033004
Revert "Revert "Merge naive/aggregator into poprox/naive-tests""
This reverts commit 2f49dab586.
2021-08-19 16:09:28 -07:00
drbeefsupreme
c1106bf3f0
naive: cleanup test prep area 2021-08-19 18:11:14 -04:00
drbeefsupreme
175b363412
naive: add transfer proxy tests to +test-rut 2021-08-19 14:07:04 -04:00
drbeefsupreme
37ca59e96d
naive: add another case to spawn proxy test 2021-08-17 15:58:28 -04:00
drbeefsupreme
e834033daa
naive: comment out unneeded test 2021-08-17 15:41:54 -04:00
drbeefsupreme
febe814cce
naive: fully functional test-rut complete 2021-08-17 15:08:33 -04:00
drbeefsupreme
c11cd709d0
naive: fix test-rut nonce calculation 2021-08-17 13:37:43 -04:00
drbeefsupreme
c8b62d8d2c
naive: expand approval-for-all test 2021-08-17 13:30:04 -04:00
drbeefsupreme
2f49dab586
Revert "Merge naive/aggregator into poprox/naive-tests"
This reverts commit 8a5a7754f5, reversing
changes made to e21754f9af.
2021-08-17 13:23:40 -04:00
drbeefsupreme
8a5a7754f5
Merge naive/aggregator into poprox/naive-tests 2021-08-16 15:14:58 -04:00
drbeefsupreme
fbbbc834b7 naive: changed-dns test 2021-08-16 13:05:30 +02:00
drbeefsupreme
3f96038c79 naive: batch proxy transfer test 2021-08-16 13:05:30 +02:00
drbeefsupreme
ce9e63f2ae naive: approval-for-all test 2021-08-16 13:05:30 +02:00
drbeefsupreme
428cd34d41 naive: batch and changed-dns tests 2021-08-16 13:05:30 +02:00
drbeefsupreme
7358eaf748 naive: fix batch concatenation 2021-08-16 13:05:29 +02:00
drbeefsupreme
f4aad28097 naive: batches with tx with trailing zeroes fail 2021-08-16 13:05:29 +02:00
drbeefsupreme
2f6e60aa1c naive: batch test creator implemented 2021-08-16 13:05:29 +02:00
drbeefsupreme
ac21fecf89 naive: l2 batch maker for tests 2021-08-16 13:05:29 +02:00
drbeefsupreme
97d2a591ec naive: fuzz and padding tests 2021-08-16 13:05:29 +02:00
drbeefsupreme
4608e4d5f6 naive: remaining fuzz tests 2021-08-16 13:05:29 +02:00
drbeefsupreme
94c75985a6 naive: fuzz test 2021-08-16 13:05:28 +02:00
drbeefsupreme
e21754f9af
naive: changed-dns test 2021-08-13 13:29:55 -04:00
drbeefsupreme
dfac952c54
naive: batch proxy transfer test 2021-08-12 16:50:20 -04:00
drbeefsupreme
e6dd731b19
naive: approval-for-all test 2021-08-12 16:23:48 -04:00
drbeefsupreme
fa6935e08a
naive: batch and changed-dns tests 2021-08-12 16:06:39 -04:00
drbeefsupreme
cd0935e209
naive: fix batch concatenation 2021-08-12 10:27:19 -04:00
drbeefsupreme
dac89b0e3b
naive: batches with tx with trailing zeroes fail 2021-08-11 12:50:21 -04:00
Ted Blackman
616ab66f26 merge master; loosen :hood's updates 2021-08-11 19:23:36 +03:00
drbeefsupreme
3943d05a02
naive: batch test creator implemented 2021-08-11 11:52:22 -04:00
drbeefsupreme
cd6ab7a83d
naive: l2 batch maker for tests 2021-08-06 18:18:01 -04:00
drbeefsupreme
c2e89253ec
naive: fuzz and padding tests 2021-08-06 13:49:29 -04:00
drbeefsupreme
4ebcbedec5
naive: remaining fuzz tests 2021-08-03 17:29:28 -04:00
drbeefsupreme
f319a5f6c4
naive: fuzz test 2021-08-03 13:21:35 -04:00
yosoyubik
31e5dd206d Merge remote-tracking branch 'origin/poprox/naive-tests' into naive/aggregator 2021-08-03 13:57:14 +02:00
drbeefsupreme
df24883565
naive: comment out certain L1 adopt tests 2021-07-21 16:38:57 -04:00
drbeefsupreme
56155be507
naive: L1 adopt and cancel tests 2021-07-21 16:01:39 -04:00
drbeefsupreme
f994e34bff
naive: detach-3 test, fix L2 escape/L1 adopt 2021-07-21 15:37:06 -04:00
drbeefsupreme
f58addc761
naive: own sponsor escape test 2021-07-21 15:14:20 -04:00
drbeefsupreme
1775b6fa5f
naive: more sponsorship tests 2021-07-21 15:05:38 -04: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
drbeefsupreme
7b4347ad31
Merge branch 'philip/naive' into poprox/naive-tests 2021-07-16 14:06:03 -04:00
drbeefsupreme
09185131bf
naive: fix spawn proxy set test nonce 2021-07-16 14:00:35 -04:00
drbeefsupreme
c120099ec2
naive: add spawn proxy keys 2021-07-16 13:54:03 -04:00
drbeefsupreme
3658bb53e7
naive: adoption test was wrong, not naive.hoon 2021-07-16 13:11:54 -04:00
drbeefsupreme
e9b77881d1
naive: wrong nonce l1 l2 adopt 2021-07-16 11:59:21 -04:00
drbeefsupreme
b388a91494
naive: wrong key test fix 2021-07-16 11:47:31 -04:00
drbeefsupreme
e199f54dca
naive: wrong key L2 %escape on L1 works 2021-07-16 11:46:44 -04:00
drbeefsupreme
4ce4f4c3f4
naive: remove finished TODOs and unneeded tests 2021-07-16 10:58:33 -04:00
drbeefsupreme
b8ec176284
naive: fix spawn planet with planet test 2021-07-16 10:56:23 -04:00
drbeefsupreme
b5d99d3ee2
naive: double-spawn is no-op, not crash 2021-07-16 10:47:43 -04:00
Philip Monk
ede732a58f
naive: allow l2 spawn proxy to reset itself 2021-07-15 21:11:40 -04:00
drbeefsupreme
e60ef1a9d7
naive: l2 sponsorship tests with %manage 2021-07-15 17:28:08 -04:00
drbeefsupreme
e7ac8df71a
naive: l2 %detach %own tests 2021-07-15 17:00:47 -04:00
drbeefsupreme
0488b4b10d
naive: L2 adopt/reject/cancel tests 2021-07-15 16:41:12 -04:00
Ted Blackman
4cb5cd0ba1 gall,drum,kiln: WIP start agents in kiln 2021-07-15 09:51:03 +03:00
Fang
cb1a7cb76a
Merge branch 'm/multipass' into naive/preboot 2021-07-02 16:20:51 +02:00
Logan Allen
23869712ee test/thread: make tests pass and all threads build 2021-06-24 11:28:26 -05:00
drbeefsupreme
e9227dca7e
naive: %manage events working 2021-06-22 14:57:57 -04:00
drbeefsupreme
126f286ed5
naive: ~pidted-dacnum joins the party 2021-06-22 14:36:28 -04:00