Commit Graph
19 Commits
Author SHA1 Message Date
Jaco Greeff 3ef1b2073f Add yarn matrix (#70) 2020-03-16 15:31:06 +01:00
Jaco Greeff a20b14a8b7 Use yarn pnp (#64)
* Use yarn pnp

* Bump dev

* Bumps

* Attempt to fix build

* Move "override-require": "^1.1.1" dep

* Bump
2020-03-04 13:26:56 +01:00
Jaco Greeff a9b2ac1240 Swap to yarn 2 (#58)
* Swap to yarn 2

* Use polkadot-dev-run-test for jest

* Try and fix JS tests via jest

* Try via @polkadot/dev
2020-02-28 12:58:57 +01:00
Jaco Greeff c976f3ebf9 Use binaryen from GH releases (Linux) (#57)
* Use binaryen from GH releases (Linux)

* echo for downloading
2020-02-26 22:12:17 +01:00
Jaco Greeff 57030cb591 Unpin nightly (#56) 2020-02-25 11:29:10 +01:00
Jaco Greeff 4c7a9609bd Drop sr25519 verify_simple_preaudit_deprecated (#54)
* Drop sr25519 verify_simple_preaudit_deprecated

* Add missing Signature import

* Update test-verctor, 0.8.5+ only signatures

* Trigger

* Pin Rust nightly

* Pin via run

* De-dup nightlies

* Update tests to use nightly-2020-02-17

* Update CHANGELOG

* Typo
2020-02-24 16:24:49 +01:00
Jaco Greeff 1f4612bf32 Bump deps (#47) 2020-01-06 13:44:06 +01:00
Jaco Greeff 0e50f267d1 Add GH actions (#37)
* Add GH actions

* Install nightly, test Rust seperately

* Nightly for tests

* Pin nightly version... maybe this works?

* Revert attempted version fix

* Re-try nightly pinning...

* Try without...

* Revert stable experiment

* Run action on PR

* Action only on PR

* Rename push.yml to pr.yml

* Bump deps, update actions

* Bump backtrace (maybe this helps?)

* Don't test rust alongside wasm (split)
2019-10-08 14:00:59 +02:00
Jaco Greeff 0772aa8471 Don't run asm.js through babel (#26) 2019-07-19 17:01:12 +02:00
Jaco Greeff 8c6d2aea12 Only rely on wasm.js (no asm.js duplication) (#25)
* Only rely on wasm.js (no asm.js duplication)

* Add browser entry

* Make asm.js tests pass

* Remove (now-unsued) mock dep
2019-07-19 11:06:31 +02:00
Jaco Greeff 72d4ec56b5 Add asm.js generation with CRYPTO_ASM env var (#23)
* Add asm.js generation, import via index-asm.js

* Less sed-y, more babel-y

* Throw error when some failed

* CRYPTO_ASM env flag

* CHANGELOG
2019-07-18 15:38:50 +02:00
Jaco Greeff 2b637b079a Swap to eslint (#22)
* Swap to eslint

* Remove links to outdated packages

* Bump hex_literal to 0.2.0

* Bump version
2019-07-17 11:23:11 +02:00
Jaco Greeff f39b68f83d Add known signature tests (from subkey, actual values) (#20)
* Add know signing test (from subkey)

* Align sr25519 known sigs

* 0.10 (schnorrkel got a bump)
2019-05-09 15:18:44 +02:00
Jaco Greeff ed3e822d82 Fix error logging (#14) 2019-03-30 10:20:23 +01:00
Jaco Greeff e668b96bca Log init errors to the console (#11)
* Log init errors to the console

* Use stable @polkadot/util packages
2019-03-27 22:12:54 +01:00
Jaco Greeff 4e6bf711ed Pull down binaries for binaryen (instead of building) (#9)
* Pull down binaries for binaryen (instead of building)

* Try x86 version

* Skeip build deps

* Try with a "stable" version?

* Extend crypto

* Use Xenial

* Cache binaryen

* dalek-ed25519 (WIP)

* Small test cleanups

* Revamp binaryen cache

* Update ed25519 tests

* Remove externals for sr & ed

* Test with --release
2019-03-22 10:07:22 +01:00
Jaco Greeff dde6a2f7af Build updates (#5)
* Build script updates

* Add @babel/core (peerdep)
2019-03-20 13:14:46 +01:00
Jaco Greeff 9438234750 Add wasm-crypto package (just start, incomplete) (#3)
* Add wasm-crypto package (just start, incomplete)

* Update

* Merge master

* Headers

* Add sha512

* Add blake2b

* Add twox

* xxhash with multiple rounds

* Cleanup tests (non-async)

* Adjust signatures

* Doc comments

* schnorrkel 0.1.0 crate

* Simplify export names

* Bip39

* Updates, ext_* function exposure

* bip39 tested and working

* Re-add wasm optimisations

* Cleanup build script

* Auto-detect internal packages

* bip39ToMiniSecret
2019-03-20 10:09:40 +01:00
Jaco Greeff efbabc9c5c Cleanup build scripts (reusability) (#2)
* Cleanup build scripts (reusability)

* Adjustments

* More cleanups
2019-03-17 16:42:48 +01:00