Fang
6298a94729
Add super basic tests for argon2
2018-11-06 16:49:30 -08:00
Fang
f4d3ff9665
Add tests for blake2b
2018-11-06 16:17:22 -08:00
Joe Bryan
2db865e801
adds trivial :dns test
2018-11-06 19:13:11 -05:00
Joe Bryan
cb56ee3a9b
tracks message length in rs256 signatures
2018-11-06 18:12:05 -05:00
Joe Bryan
3958b5205a
adds trivial :acme unit tests
2018-11-06 17:29:05 -05:00
Fang
28c153bfd0
Add tests for ripemd-160
2018-11-06 14:14:55 -08:00
Fang
37e2a186da
Merge branch 'release-candidate' into keygen-changes
2018-11-06 10:37:37 -08:00
Fang
bba117de54
Add tests for keygen
2018-11-05 17:59:43 -08:00
Philip Monk
0db24cf208
clean and add tests
2018-10-31 15:18:40 -07:00
Philip Monk
aaed5b992a
fix dawn tests
2018-10-30 17:05:33 -07:00
Joe Bryan
3e09b9b6c5
includes block number and ethereum gateway url in boot event
2018-10-29 15:38:14 -04:00
Joe Bryan
ff0564338c
finishes incomplete +test-take-bloq from previous
2018-10-29 15:36:53 -04:00
Joe Bryan
087b6c92b0
pins pre-boot validation eth rpc requests to a single block
2018-10-29 14:02:36 -04:00
Joe Bryan
7269c09771
adds life-mismatch checks to pre-boot validation
2018-10-25 17:39:34 -04:00
Fang
bb7c301c62
Disable some of the more expensive PBKDF tests
...
So that CI is happy again.
2018-10-24 15:27:13 -07:00
Fang
1556402668
Implement BIP39 as a library
...
Currently only uses the official English wordlist, but could be expanded
to use various other wordlists in the future.
Includes tests.
2018-10-24 14:55:35 -07:00
Fang
aeeb075ddd
Add a more generic PBKDF implementation into zuse
...
Can be fed arbitrary KDF functions and operate using those.
Includes arms for calling with HMAC-SHA variants.
Still takes @t rather than sane-byte-order @ though...
Includes tests.
2018-10-24 13:42:35 -07:00
Joe Bryan
d9fa9a75c4
refactors |dawn (pre-boot validation)
...
adds comments, fixes moons, simplifies product type
2018-10-16 23:47:39 -04:00
Joe Bryan
535ab6e90b
updates %jael to save and %ames to give domains (on boot/startup)
...
also defers initial clay merge,
renames +turf (utf8 to utf32) to +taft,
and removes duplicate +turf (domain) declarations,
and updates pinned vere to use them
2018-10-16 21:02:41 -04:00
Joe Bryan
d5368c22fe
simplify %pubs and %vein wires so the ducts can be deduped
2018-10-05 23:25:38 -04:00
Joe Bryan
bb4bc95e97
adds basic %init test for %ames
2018-10-05 20:58:19 -04:00
Joe Bryan
71c57c14f2
removes %jael %init, adds tests for %dawn
2018-10-05 20:56:49 -04:00
Joe Bryan
536bf47095
adds pre-boot ethereum validation (|dawn) and tests
2018-10-05 19:54:06 -04:00
Ted Blackman
b349890fb8
use the clay mime cache for sync; also sort some of clay's ford builds for more determinism
2018-10-04 11:37:42 -07:00
Fang
020a8fd96a
Add @q, phonetic data representation
...
It's @p, except never scrambles, and doesn't use -- in large values.
2018-09-27 19:56:36 -07:00
Elliot Glaysher
db34424de2
Fix +grad case in +make-join, add assertions.
2018-09-13 14:51:12 -07:00
Fang
b4631e9438
Merge pull request #803 from urbit/ethereum-signing
...
Ethereum transaction signing
2018-09-06 11:17:52 +02:00
Ted Blackman
0ac5038b7b
Enqueue second Clay write during an Arvo event ( #807 )
...
* clay queue passes test
* docs on :cue and :tip in clay
* minor typo
2018-09-05 16:05:23 -07:00
Ted Blackman
2c7cbe5382
refactored +expect-schematic and completed first clay test
2018-09-04 16:37:01 -07:00
Fang
9cb8828d44
Add tests for Ethereum transaction signing
...
Simple almost-real-world transactions as generated by web3.js.
2018-09-05 01:23:34 +02:00
Fang
24886d327f
Add tests for RLP encoding
2018-09-05 00:52:25 +02:00
Ted Blackman
c0c00de7e9
Fix %reef handling more. Now uses the right part of the arvo core
2018-09-02 03:48:40 -07:00
Ted Blackman
60fcfc467e
fix ford %reef dependency tracking
2018-08-30 16:06:27 -07:00
Elliot Glaysher
ac089cef80
Merge remote-tracking branch 'origin/release-candidate' into remove-eny-from-tests
2018-08-29 15:45:10 -07:00
Ted Blackman
8684f58257
minor cleanup
2018-08-29 15:09:51 -07:00
Elliot Glaysher
03ed4dbee5
Rebuild the test support library so its easier and doesn't use entropy.
2018-08-29 14:57:22 -07:00
Ted Blackman
3b4ca6c8a9
+expect-schematic in ford test lib
2018-08-29 14:56:54 -07:00
Elliot Glaysher
73ad9a20a5
11: Move ethereum tests to %tests/sys/zuse
2018-08-29 11:11:41 -07:00
Elliot Glaysher
fbfabe50d3
10: Mass rename +expect-nu-eq to +expect-eq
2018-08-29 11:09:37 -07:00
Elliot Glaysher
4581cfab51
9: Move clay test to expect-nu-eq
2018-08-29 11:03:26 -07:00
Elliot Glaysher
06b491ed5e
8: Move acme libraries to expect-nu-eq
2018-08-29 10:58:49 -07:00
Elliot Glaysher
66c74bcd74
Merge remote-tracking branch 'origin/acme-factor' into expect-nu-eq
2018-08-29 10:25:30 -07:00
Joe Bryan
44c16cf75f
5. moves :acme JWK, JWS and tests out of app
2018-08-29 09:17:58 -07:00
Joe Bryan
407584cda7
4. moves :acme RS256, PKCS1/8/10, PEM and tests out of app
2018-08-29 09:17:25 -07:00
Joe Bryan
7e982c0f2c
3. moves :acme RSA and tests out of app
2018-08-29 09:17:19 -07:00
Joe Bryan
b81dedf626
2. moves :acme ASN1, DER and tests out of app
2018-08-29 09:16:44 -07:00
Joe Bryan
bf6739574a
1. moves :acme base64 and tests out of app
2018-08-29 09:16:36 -07:00
Elliot Glaysher
80872b3088
6: Remove expect-eq from ethereum tests.
2018-08-28 16:37:23 -07:00
Elliot Glaysher
f78323b5b4
5: Remove expect-eq from jael tests.
2018-08-28 16:35:28 -07:00
Elliot Glaysher
074e0e0138
4: Move jael tests out of generator and into test framework.
2018-08-28 16:30:26 -07:00
Elliot Glaysher
40b5dbc15f
3: Completely remove expect-eq from %/tests/sys/zuse.
2018-08-28 16:16:37 -07:00
Elliot Glaysher
753f2f6a5a
2: Completely remove expect-eq from ford tests.
2018-08-28 15:56:01 -07:00
Ted Blackman
7163c60649
remove superfluous casts
2018-08-28 15:11:24 -07:00
Ted Blackman
adec3a0f96
a clay test passes
2018-08-28 15:02:53 -07:00
Elliot Glaysher
e88787dee0
1: Add +expect-nu-eq and use it where we were manually nest checking.
2018-08-28 14:22:06 -07:00
Joe Bryan
4f569a1a79
Merge pull request #784 from urbit/fix-travis-build-vere
...
updates CI build to compile vere at a specified commit
2018-08-28 11:56:25 -07:00
Joe Bryan
47855b6972
disables failures, re-enables successes, or fixes failing tests
2018-08-28 11:44:33 -07:00
Elliot Glaysher
e3e5ae6d30
Merge pull request #783 from urbit/ford-turbo-clock
...
Improvements to +clock / +capped-queue
2018-08-28 10:11:03 -07:00
Joe Bryan
50782bd1c9
Merge branch 'research-constitution' into release-candidate
...
* research-constitution: (120 commits)
removes obsolete doccords-style comments
Revert "fixy uno~by, other vor-based code duplication"
Implement argon2.
Use face over lark when available.
Implement blake2b.
Use ++rep over ++can when we can
Use ++rev over ++swp, for safety.
Clean up base58 en/decoding
Rename secp point serialization arms
Add HMAC-SHA1
Put +=byts to use
Restructure and complete BIP32 core
Fix bug in RIPEMD-160 implementation.
BIP32 key derivation logic. Messy, in dire need of restructuring.
Fix bug in HMAC implementation.
SHA-1 re-implementation, can account for leading zeroes.
Converting points on curve to un/compressed numbers.
RIPEMD-160 implementation.
Start work on BIP32 support. Library file includes wrappers for the SHA family to make it take and produce sane byte order data, and a new HMAC implementation that depends on it. Also includes @belisarius222's secp256k1 implementation, plus experimental (and broken) support for other secp variants.
Add ++rev to bit arithmetic, for reversing block order while accounting for leading zeroes.
...
2018-08-27 15:48:13 -07:00
Elliot Glaysher
e1ee2b211e
+capped-queue is also general. Move to zuse and add tests.
2018-08-27 15:25:33 -07:00
Elliot Glaysher
7f623772ac
The +clock structure is general, put it in zuse and add tess.
2018-08-27 14:51:42 -07:00
Elliot Glaysher
ac3dd392d0
Move keccak tests so directory structure follow %/sys.
2018-08-27 14:25:46 -07:00
Elliot Glaysher
1906f9e654
Make %/tests mirror the rest of the filesystem.
2018-08-24 15:14:11 -07:00
Elliot Glaysher
68fd34d142
Test that passes when we wish it had revealed a failure.
2018-08-24 15:13:16 -07:00
Elliot Glaysher
6b0bb3ddef
Fix test output.
2018-08-24 10:46:31 -07:00
Ted Blackman
174ab25b14
remove lib/new-hoon and all uses
2018-08-23 15:03:55 -07:00
Ted Blackman
47f1258517
fix ford tests for +test; all pass
2018-08-22 22:39:10 -07:00
Ted Blackman
124e76350e
move ford tests to /tests directory unchanged
2018-08-22 22:38:07 -07:00
Ted Blackman
84cc46e609
+test passes using %ct and presenting compile errors
2018-08-22 20:53:49 -07:00
Elliot Glaysher
89a0a91c57
Boots without old ford.
2018-08-09 11:22:37 -07:00
Fang
e362b4b1c8
Merge in userspace constitution work.
2018-05-14 19:59:34 +02:00
Ted Blackman
67894d0ab8
Merge branch 'ford-turbo' into turbo-merge
2018-04-30 11:34:35 -07:00
Anton Dyudin
8280e41dd1
Use ++tang instead of ++wall test output
2018-04-17 14:36:42 -07:00
Ted Blackman
6adf5b8652
dummy +build; use generator for tests
2018-03-15 17:21:46 -07:00
Ted Blackman
7b9b43f959
Data structures compile
2018-03-15 11:48:24 -07:00
Fang
62f18aff31
Merge branch 'master' of https://github.com/urbit/arvo into constitution
2018-03-12 15:39:36 +01:00
Anton Dyudin
d0138ff7fa
fix #654 by having assert-eq accept a vase of a pair
...
flipping the order of the pair while rewriting all the test was necessary anyawy, to accoutn for heavier-twig tendencies
2018-03-09 19:43:35 -08:00
Anton Dyudin
24fe89a2b5
add ++category formatter to optionally restore name behavior
2018-03-09 19:27:32 -08:00
Anton Dyudin
1b68ab0553
simplify ++tester interface to return immediate wall
2018-03-09 19:27:32 -08:00
Anton Dyudin
a07ca03bb6
get rid of redundant tester-type
2018-03-09 19:27:32 -08:00
Anton Dyudin
c73095af8a
remove reduncant c=tape parameter from expect-eq
...
also began cleaning up indentation
2018-03-09 19:27:32 -08:00
Fang
09303422ef
Rename keccak test helper to not get tested itself
...
As per #659 .
2018-03-07 23:38:01 +01:00
Fang
744005c79d
Helper function for checking known answers for the example inputs.
...
Also comments.
2018-03-07 22:13:54 +01:00
Fang
45741339d6
Added tests for keccak:crypto.
2018-03-06 02:07:35 +01:00
Fang
01c8035006
Implement ABI data encoding for Ethereum.
2018-02-20 22:11:27 +01:00
Elliot Glaysher
48585d2b2f
+test now deals with recursive directory structures.
...
+test now offloads creation of the test tree into a renderer. this should help
with caching. using a renderer also lets us deal with hierarchical directory
structures, leading to better organization.
2018-01-06 22:51:52 -08:00
Elliot Glaysher
e6dc49a4d2
Separate out all tests into files.
...
This moves the remaining test suites into their own test files, however,
we are still not autogenerating a list of tests.
2017-12-26 13:03:47 -08:00
Elliot Glaysher
4029cc0bb1
Experiment moving the tests and tester into their own file.
2017-11-26 15:41:49 -08:00