Compare commits

...

208 Commits

Author SHA1 Message Date
Github Actions
7be59495b9 [CI Skip] 0.20.1
skip-checks: true
2020-01-30 15:00:56 +00:00
Jaco Greeff
33c2413247 0.20 (#50) 2020-01-30 15:46:36 +01:00
Github Actions
2345285e3d [CI Skip] 0.20.0-beta.4
skip-checks: true
2020-01-29 09:10:07 +00:00
Jaco Greeff
d1f188444c Bump deps (#49) 2020-01-29 09:55:13 +01:00
Github Actions
a3cc64ed51 [CI Skip] 0.20.0-beta.3
skip-checks: true
2020-01-28 17:27:05 +00:00
Jaco Greeff
721ae96a7c Bump deps 2020-01-28 18:13:19 +01:00
Github Actions
70dfe47d79 [CI Skip] 0.20.0-beta.2
skip-checks: true
2020-01-25 09:49:38 +00:00
Jaco Greeff
2ad1132a48 Bump deps (#48) 2020-01-25 10:35:50 +01:00
Github Actions
9246bef8bb [CI Skip] 0.20.0-beta.1
skip-checks: true
2020-01-13 15:39:55 +00:00
Jaco Greeff
9f08e7832f Bump schnorrkel to 0.8 (#29)
* Bump schnorrkel to 0.8

* Remove unneeded return refactor (stick to issues at-hand)

* Mid-point step, use rev, verify signatures

* Update to 0.8.2

* Flatten for easier inspection

* 0.8.3 rev that passes the tests

* Updates for 0.8.3 memory allocation

* Test for Rust keypair imports

* Rust ed25519 compat

* 0.8.4

* sr25519 0.8.5, bump deps

* tiny-keccak config

* Update keccack hashing

* Update hashing
2020-01-13 16:26:04 +01:00
Github Actions
c14d84749a [CI Skip] 0.15.0-beta.184
skip-checks: true
2020-01-06 12:57:04 +00:00
Jaco Greeff
1f4612bf32 Bump deps (#47) 2020-01-06 13:44:06 +01:00
Github Actions
e724536d9c [CI Skip] 0.15.0-beta.183
skip-checks: true
2019-12-07 13:09:57 +00:00
Jaco Greeff
0d7ec76900 Bump deps (#46) 2019-12-07 13:58:59 +01:00
Github Actions
6dc6de5629 [CI Skip] 0.15.0-beta.182
skip-checks: true
2019-12-05 09:35:59 +00:00
Jaco Greeff
bd42b2b9ee Bump deps (#45) 2019-12-05 10:25:20 +01:00
Jaco Greeff
8024f524b3 Bump deps (#44)
* Bump deps

* Add dummy skip step
2019-12-05 10:09:04 +01:00
Github Actions
b10190e6cf [CI Skip] 0.15.0-beta.181 2019-11-06 21:26:54 +00:00
Jaco Greeff
2147464449 Bump deps (#43) 2019-11-06 22:15:31 +01:00
Github Actions
e74c15b239 [CI Skip] 0.15.0-beta.180 2019-10-28 16:29:12 +00:00
Jaco Greeff
3112aa8acb Use GH_PAT is checkout action 2019-10-28 17:15:24 +01:00
Github Actions
2ad4e10a32 [CI Skip] 0.15.0-beta.179 2019-10-22 13:37:50 +00:00
Jaco Greeff
db3f3d273d Excl. tsconfig build (#42) 2019-10-22 15:24:14 +02:00
Github Actions
e4cc9ffbe9 [CI Skip] 0.15.0-beta.178 2019-10-22 09:47:07 +00:00
Jaco Greeff
d74d9e8de4 Bump deps (#41) 2019-10-22 11:34:52 +02:00
Github Actions
0c946aa527 [CI Skip] 0.15.0-beta.177 2019-10-14 07:08:53 +00:00
Jaco Greeff
ab61af29ab Don't run on CI Skip 2019-10-14 08:56:05 +02:00
Github Actions
576aeba620 [CI Skip] 0.15.0-beta.176 2019-10-13 20:05:18 +00:00
Github Actions
10f06d932a [CI Skip] 0.15.0-beta.175 2019-10-13 19:53:37 +00:00
Github Actions
5531f01815 [CI Skip] 0.15.0-beta.174 2019-10-13 19:41:20 +00:00
Github Actions
5a88a13454 [CI Skip] 0.15.0-beta.173 2019-10-13 19:29:56 +00:00
Github Actions
4c069d8e8d [CI Skip] 0.15.0-beta.172 2019-10-13 19:18:29 +00:00
Github Actions
45fbe693f5 [CI Skip] 0.15.0-beta.171 2019-10-13 19:05:44 +00:00
Github Actions
e4fd0ad6df [CI Skip] 0.15.0-beta.170 2019-10-13 18:54:12 +00:00
Github Actions
63f7cdb4b7 [CI Skip] 0.15.0-beta.169 2019-10-13 18:43:00 +00:00
Github Actions
aba850b6c9 [CI Skip] 0.15.0-beta.168 2019-10-13 18:31:11 +00:00
Github Actions
c7aeb572dd [CI Skip] 0.15.0-beta.167 2019-10-13 18:19:08 +00:00
Github Actions
e7e8d8a208 [CI Skip] 0.15.0-beta.166 2019-10-13 18:07:19 +00:00
Github Actions
b285352df3 [CI Skip] 0.15.0-beta.165 2019-10-13 17:54:49 +00:00
Github Actions
39670ea9ee [CI Skip] 0.15.0-beta.164 2019-10-13 17:43:22 +00:00
Github Actions
3553f939d4 [CI Skip] 0.15.0-beta.163 2019-10-13 17:31:35 +00:00
Github Actions
462c90eed8 [CI Skip] 0.15.0-beta.162 2019-10-13 17:19:18 +00:00
Github Actions
1c7a209a83 [CI Skip] 0.15.0-beta.161 2019-10-13 17:07:43 +00:00
Github Actions
f95c200aa0 [CI Skip] 0.15.0-beta.160 2019-10-13 16:55:23 +00:00
Github Actions
6865b98d39 [CI Skip] 0.15.0-beta.159 2019-10-13 16:43:05 +00:00
Github Actions
e62e90666b [CI Skip] 0.15.0-beta.158 2019-10-13 16:31:50 +00:00
Github Actions
bbacc24ee8 [CI Skip] 0.15.0-beta.157 2019-10-13 16:19:36 +00:00
Github Actions
c4ced11a81 [CI Skip] 0.15.0-beta.156 2019-10-13 16:07:22 +00:00
Github Actions
ce1a686926 [CI Skip] 0.15.0-beta.155 2019-10-13 15:55:35 +00:00
Github Actions
3225b9514d [CI Skip] 0.15.0-beta.154 2019-10-13 15:43:51 +00:00
Github Actions
0c28ddbd03 [CI Skip] 0.15.0-beta.153 2019-10-13 15:32:23 +00:00
Github Actions
3584e354a9 [CI Skip] 0.15.0-beta.152 2019-10-13 15:19:51 +00:00
Github Actions
837d308414 [CI Skip] 0.15.0-beta.151 2019-10-13 15:08:17 +00:00
Github Actions
8b5d7e6ad1 [CI Skip] 0.15.0-beta.150 2019-10-13 14:55:43 +00:00
Github Actions
b605e99c8c [CI Skip] 0.15.0-beta.149 2019-10-13 14:43:27 +00:00
Github Actions
db84a84ab9 [CI Skip] 0.15.0-beta.148 2019-10-13 14:30:43 +00:00
Github Actions
538ba3cee7 [CI Skip] 0.15.0-beta.147 2019-10-13 14:19:11 +00:00
Github Actions
249d33e88d [CI Skip] 0.15.0-beta.146 2019-10-13 14:06:58 +00:00
Github Actions
b508b757b3 [CI Skip] 0.15.0-beta.145 2019-10-13 13:54:42 +00:00
Github Actions
7dfec78e7f [CI Skip] 0.15.0-beta.144 2019-10-13 13:42:43 +00:00
Github Actions
007d3ef42c [CI Skip] 0.15.0-beta.143 2019-10-13 13:30:20 +00:00
Github Actions
8968e50d8e [CI Skip] 0.15.0-beta.142 2019-10-13 13:18:17 +00:00
Github Actions
860ac9df24 [CI Skip] 0.15.0-beta.141 2019-10-13 13:06:01 +00:00
Github Actions
1d28086018 [CI Skip] 0.15.0-beta.140 2019-10-13 12:54:24 +00:00
Github Actions
e437ce892c [CI Skip] 0.15.0-beta.139 2019-10-13 12:42:19 +00:00
Github Actions
273ad749c2 [CI Skip] 0.15.0-beta.138 2019-10-13 12:29:57 +00:00
Github Actions
99eb14e9b2 [CI Skip] 0.15.0-beta.137 2019-10-13 12:17:24 +00:00
Github Actions
bbaee7325a [CI Skip] 0.15.0-beta.136 2019-10-13 12:05:11 +00:00
Github Actions
063d13e18d [CI Skip] 0.15.0-beta.135 2019-10-13 11:53:29 +00:00
Github Actions
9ce3f2cf9f [CI Skip] 0.15.0-beta.134 2019-10-13 11:41:52 +00:00
Github Actions
64d5140f03 [CI Skip] 0.15.0-beta.133 2019-10-13 11:29:40 +00:00
Github Actions
9236196c02 [CI Skip] 0.15.0-beta.132 2019-10-13 11:17:31 +00:00
Github Actions
aa9b9286cc [CI Skip] 0.15.0-beta.131 2019-10-13 11:05:56 +00:00
Github Actions
a649085e56 [CI Skip] 0.15.0-beta.130 2019-10-13 10:53:44 +00:00
Github Actions
5910f02ea1 [CI Skip] 0.15.0-beta.129 2019-10-13 10:42:14 +00:00
Github Actions
dca5a6df90 [CI Skip] 0.15.0-beta.128 2019-10-13 10:30:39 +00:00
Github Actions
2a2428e1a5 [CI Skip] 0.15.0-beta.127 2019-10-13 10:19:30 +00:00
Github Actions
0ed359751a [CI Skip] 0.15.0-beta.126 2019-10-13 10:07:26 +00:00
Github Actions
024ffa3c5e [CI Skip] 0.15.0-beta.125 2019-10-13 09:56:12 +00:00
Github Actions
a6e1d16905 [CI Skip] 0.15.0-beta.124 2019-10-13 09:44:35 +00:00
Github Actions
2f0c01e042 [CI Skip] 0.15.0-beta.123 2019-10-13 09:32:34 +00:00
Github Actions
03008cae4f [CI Skip] 0.15.0-beta.122 2019-10-13 09:21:23 +00:00
Github Actions
3e6bd38b8f [CI Skip] 0.15.0-beta.121 2019-10-13 09:10:13 +00:00
Github Actions
18b17b143b [CI Skip] 0.15.0-beta.120 2019-10-13 08:57:25 +00:00
Github Actions
2844ce085a [CI Skip] 0.15.0-beta.119 2019-10-13 08:45:27 +00:00
Github Actions
77909c9ba6 [CI Skip] 0.15.0-beta.118 2019-10-13 08:34:09 +00:00
Github Actions
ef753fb65d [CI Skip] 0.15.0-beta.117 2019-10-13 08:22:43 +00:00
Github Actions
a85b5d3a72 [CI Skip] 0.15.0-beta.116 2019-10-13 08:10:25 +00:00
Github Actions
e2c8d1f3a2 [CI Skip] 0.15.0-beta.115 2019-10-13 07:58:21 +00:00
Github Actions
61b0126178 [CI Skip] 0.15.0-beta.114 2019-10-13 07:46:29 +00:00
Github Actions
3b672c8ca6 [CI Skip] 0.15.0-beta.113 2019-10-13 07:36:11 +00:00
Github Actions
de18cff30c [CI Skip] 0.15.0-beta.112 2019-10-13 07:24:32 +00:00
Github Actions
e626d1696d [CI Skip] 0.15.0-beta.111 2019-10-13 07:12:23 +00:00
Github Actions
69341f4482 [CI Skip] 0.15.0-beta.110 2019-10-13 06:59:34 +00:00
Github Actions
0adada79bb [CI Skip] 0.15.0-beta.109 2019-10-13 06:47:19 +00:00
Github Actions
67adc55627 [CI Skip] 0.15.0-beta.108 2019-10-13 06:35:44 +00:00
Github Actions
5d4a033e2c [CI Skip] 0.15.0-beta.107 2019-10-13 06:23:57 +00:00
Github Actions
cd3341c6ec [CI Skip] 0.15.0-beta.106 2019-10-13 06:12:34 +00:00
Github Actions
56d4f5175f [CI Skip] 0.15.0-beta.105 2019-10-13 06:01:04 +00:00
Github Actions
96ea859573 [CI Skip] 0.15.0-beta.104 2019-10-13 05:49:00 +00:00
Github Actions
34a02db84b [CI Skip] 0.15.0-beta.103 2019-10-13 05:37:49 +00:00
Github Actions
1f0ff1c354 [CI Skip] 0.15.0-beta.102 2019-10-13 05:25:41 +00:00
Github Actions
22a27e7f84 [CI Skip] 0.15.0-beta.101 2019-10-13 05:13:51 +00:00
Github Actions
bd8139ed2d [CI Skip] 0.15.0-beta.100 2019-10-13 05:02:45 +00:00
Github Actions
173cd0e11a [CI Skip] 0.15.0-beta.99 2019-10-13 04:49:59 +00:00
Github Actions
7b5cf39299 [CI Skip] 0.15.0-beta.98 2019-10-13 04:38:29 +00:00
Github Actions
a19f2fff19 [CI Skip] 0.15.0-beta.97 2019-10-13 04:26:14 +00:00
Github Actions
7f681861c5 [CI Skip] 0.15.0-beta.96 2019-10-13 04:15:38 +00:00
Github Actions
ad18d92ea0 [CI Skip] 0.15.0-beta.95 2019-10-13 04:04:08 +00:00
Github Actions
73a72470e3 [CI Skip] 0.15.0-beta.94 2019-10-13 03:52:40 +00:00
Github Actions
57a5e112fa [CI Skip] 0.15.0-beta.93 2019-10-13 03:41:19 +00:00
Github Actions
7357faf057 [CI Skip] 0.15.0-beta.92 2019-10-13 03:30:03 +00:00
Github Actions
b4c739b184 [CI Skip] 0.15.0-beta.91 2019-10-13 03:18:39 +00:00
Github Actions
cd8daafaaa [CI Skip] 0.15.0-beta.90 2019-10-13 03:06:33 +00:00
Github Actions
bc39b735ba [CI Skip] 0.15.0-beta.89 2019-10-13 02:55:00 +00:00
Github Actions
bb73f7ab43 [CI Skip] 0.15.0-beta.88 2019-10-13 02:43:29 +00:00
Github Actions
6c202bbe19 [CI Skip] 0.15.0-beta.87 2019-10-13 02:30:50 +00:00
Github Actions
79a7087cf8 [CI Skip] 0.15.0-beta.86 2019-10-13 02:18:13 +00:00
Github Actions
e14d722350 [CI Skip] 0.15.0-beta.85 2019-10-13 02:06:30 +00:00
Github Actions
94e0cadc00 [CI Skip] 0.15.0-beta.84 2019-10-13 01:54:26 +00:00
Github Actions
aedab18bca [CI Skip] 0.15.0-beta.83 2019-10-13 01:42:17 +00:00
Github Actions
f0e9e7f790 [CI Skip] 0.15.0-beta.82 2019-10-13 01:30:40 +00:00
Github Actions
7dbf14084e [CI Skip] 0.15.0-beta.81 2019-10-13 01:18:21 +00:00
Github Actions
14118ac058 [CI Skip] 0.15.0-beta.80 2019-10-13 01:06:14 +00:00
Github Actions
d7f2604933 [CI Skip] 0.15.0-beta.79 2019-10-13 00:54:25 +00:00
Github Actions
6897201132 [CI Skip] 0.15.0-beta.78 2019-10-13 00:42:35 +00:00
Github Actions
fa77c76025 [CI Skip] 0.15.0-beta.77 2019-10-13 00:31:39 +00:00
Github Actions
b6679e7fae [CI Skip] 0.15.0-beta.76 2019-10-13 00:19:07 +00:00
Github Actions
960419060b [CI Skip] 0.15.0-beta.75 2019-10-13 00:06:37 +00:00
Github Actions
379f2c175d [CI Skip] 0.15.0-beta.74 2019-10-12 23:55:23 +00:00
Github Actions
29394b37cc [CI Skip] 0.15.0-beta.73 2019-10-12 23:42:53 +00:00
Github Actions
b96a04bdc6 [CI Skip] 0.15.0-beta.72 2019-10-12 23:31:34 +00:00
Github Actions
f263d88684 [CI Skip] 0.15.0-beta.71 2019-10-12 23:18:14 +00:00
Github Actions
013448697d [CI Skip] 0.15.0-beta.70 2019-10-12 23:05:38 +00:00
Github Actions
77a5c59381 [CI Skip] 0.15.0-beta.69 2019-10-12 22:53:06 +00:00
Github Actions
c4b0e5278d [CI Skip] 0.15.0-beta.68 2019-10-12 22:41:00 +00:00
Github Actions
fa0bd6a57d [CI Skip] 0.15.0-beta.67 2019-10-12 22:28:22 +00:00
Github Actions
6920eeced6 [CI Skip] 0.15.0-beta.66 2019-10-12 22:16:08 +00:00
Github Actions
c290dc1d68 [CI Skip] 0.15.0-beta.65 2019-10-12 22:03:14 +00:00
Github Actions
16f52c8d47 [CI Skip] 0.15.0-beta.64 2019-10-12 21:50:38 +00:00
Github Actions
a99ffac9fb [CI Skip] 0.15.0-beta.63 2019-10-12 21:38:51 +00:00
Github Actions
24735d6386 [CI Skip] 0.15.0-beta.62 2019-10-12 21:27:31 +00:00
Github Actions
ba00017218 [CI Skip] 0.15.0-beta.61 2019-10-12 21:14:33 +00:00
Github Actions
a863dc61fb [CI Skip] 0.15.0-beta.60 2019-10-12 21:02:50 +00:00
Github Actions
9c574a5461 [CI Skip] 0.15.0-beta.59 2019-10-12 20:50:48 +00:00
Github Actions
2e9597de51 [CI Skip] 0.15.0-beta.58 2019-10-12 20:38:52 +00:00
Github Actions
c492416534 [CI Skip] 0.15.0-beta.57 2019-10-12 20:28:00 +00:00
Github Actions
7a922c6942 [CI Skip] 0.15.0-beta.56 2019-10-12 20:17:13 +00:00
Github Actions
1fb7f9f1a4 [CI Skip] 0.15.0-beta.55 2019-10-12 20:03:11 +00:00
Github Actions
3278a0f5ab [CI Skip] 0.15.0-beta.54 2019-10-12 19:51:15 +00:00
Github Actions
97619eb27c [CI Skip] 0.15.0-beta.53 2019-10-12 19:40:00 +00:00
Github Actions
04edfe2725 [CI Skip] 0.15.0-beta.52 2019-10-12 19:28:10 +00:00
Github Actions
e79fb448a3 [CI Skip] 0.15.0-beta.51 2019-10-12 19:15:10 +00:00
Github Actions
96dbe40681 [CI Skip] 0.15.0-beta.50 2019-10-12 19:04:23 +00:00
Github Actions
22bb4c2202 [CI Skip] 0.15.0-beta.49 2019-10-12 18:51:27 +00:00
Github Actions
1e25c033f1 [CI Skip] 0.15.0-beta.48 2019-10-12 18:39:16 +00:00
Github Actions
3627fd2d5f [CI Skip] 0.15.0-beta.47 2019-10-12 18:28:01 +00:00
Github Actions
85949e11d7 [CI Skip] 0.15.0-beta.46 2019-10-12 18:15:43 +00:00
Github Actions
0f7bdcd711 [CI Skip] 0.15.0-beta.45 2019-10-12 18:03:48 +00:00
Github Actions
828d44fbd4 [CI Skip] 0.15.0-beta.44 2019-10-12 17:51:45 +00:00
Github Actions
f3c9ae14f4 [CI Skip] 0.15.0-beta.43 2019-10-12 17:39:30 +00:00
Github Actions
e022247db7 [CI Skip] 0.15.0-beta.42 2019-10-12 17:26:52 +00:00
Github Actions
b18fa247bd [CI Skip] 0.15.0-beta.41 2019-10-12 17:14:58 +00:00
Github Actions
33f09b6d1d [CI Skip] 0.15.0-beta.40 2019-10-12 17:02:45 +00:00
Github Actions
21159707c8 [CI Skip] 0.15.0-beta.39 2019-10-12 16:50:44 +00:00
Github Actions
7b11865751 [CI Skip] 0.15.0-beta.38 2019-10-12 16:38:22 +00:00
Github Actions
737ddf36c5 [CI Skip] 0.15.0-beta.37 2019-10-12 16:27:05 +00:00
Github Actions
3851d11ab5 [CI Skip] 0.15.0-beta.36 2019-10-12 16:14:46 +00:00
Github Actions
28233e9664 [CI Skip] 0.15.0-beta.35 2019-10-12 16:02:42 +00:00
Github Actions
af535a67cc [CI Skip] 0.15.0-beta.34 2019-10-12 15:50:02 +00:00
Github Actions
be6db81065 [CI Skip] 0.15.0-beta.33 2019-10-12 15:37:59 +00:00
Github Actions
9822c34dc7 [CI Skip] 0.15.0-beta.32 2019-10-12 15:25:31 +00:00
Github Actions
b46005f180 [CI Skip] 0.15.0-beta.31 2019-10-12 15:13:40 +00:00
Github Actions
4ceec33fc7 [CI Skip] 0.15.0-beta.30 2019-10-12 15:01:45 +00:00
Github Actions
ef78d10989 [CI Skip] 0.15.0-beta.29 2019-10-12 14:49:44 +00:00
Github Actions
fe232a9ab4 [CI Skip] 0.15.0-beta.28 2019-10-12 14:37:31 +00:00
Github Actions
da78a24aa3 [CI Skip] 0.15.0-beta.27 2019-10-12 14:24:57 +00:00
Github Actions
3c6e806db5 [CI Skip] 0.15.0-beta.26 2019-10-12 14:12:39 +00:00
Github Actions
0176c82db1 [CI Skip] 0.15.0-beta.25 2019-10-12 14:01:32 +00:00
Github Actions
98bb6453dd [CI Skip] 0.15.0-beta.24 2019-10-12 13:48:56 +00:00
Github Actions
839e4d3fa3 [CI Skip] 0.15.0-beta.23 2019-10-12 13:36:20 +00:00
Github Actions
91b55caf09 [CI Skip] 0.15.0-beta.22 2019-10-12 13:24:15 +00:00
Jaco Greeff
b03aaa4bf7 Update build (#39) 2019-10-12 15:13:00 +02:00
Jaco Greeff
811411f606 [CI Skip] 0.15.0-beta.21 2019-10-09 16:22:33 +00:00
Jaco Greeff
107c410346 [CI Skip] 0.15.0-beta.20 2019-10-09 16:09:25 +00:00
Jaco Greeff
43d0bfaaf1 [CI Skip] 0.15.0-beta.19 2019-10-09 15:57:08 +00:00
Jaco Greeff
543c6a7512 [CI Skip] 0.15.0-beta.18 2019-10-09 15:44:25 +00:00
Jaco Greeff
9ee302fd79 [CI Skip] 0.15.0-beta.17 2019-10-09 15:31:29 +00:00
Jaco Greeff
30f7dc3549 [CI Skip] 0.15.0-beta.16 2019-10-09 15:19:26 +00:00
Jaco Greeff
5cab032133 [CI Skip] 0.15.0-beta.15 2019-10-09 15:06:43 +00:00
Jaco Greeff
6df8568f85 [CI Skip] 0.15.0-beta.14 2019-10-09 14:55:09 +00:00
Jaco Greeff
f23f4eb986 [CI Skip] 0.15.0-beta.13 2019-10-09 14:43:36 +00:00
Jaco Greeff
d0b3317c28 [CI Skip] 0.15.0-beta.12 2019-10-09 14:31:04 +00:00
Jaco Greeff
61b227436e [CI Skip] 0.15.0-beta.11 2019-10-09 14:18:38 +00:00
Jaco Greeff
1cc5190fa0 [CI Skip] 0.15.0-beta.10 2019-10-09 14:05:26 +00:00
Jaco Greeff
311ac2e0e3 [CI Skip] 0.15.0-beta.9 2019-10-09 13:52:33 +00:00
Jaco Greeff
52a14a7928 [CI Skip] 0.15.0-beta.8 2019-10-09 13:40:19 +00:00
Jaco Greeff
498e089342 [CI Skip] 0.15.0-beta.7 2019-10-09 13:25:01 +00:00
Jaco Greeff
b75cb172ba [CI Skip] 0.15.0-beta.6 2019-10-09 13:12:09 +00:00
Jaco Greeff
ab1952a3f5 [CI Skip] 0.15.0-beta.5 2019-10-09 12:58:55 +00:00
Jaco Greeff
c46a890234 [CI Skip] 0.15.0-beta.4 2019-10-09 12:47:03 +00:00
Jaco Greeff
80d6d9f9ff [CI Skip] 0.15.0-beta.3 2019-10-09 12:34:25 +00:00
Jaco Greeff
b3f006d5c0 [CI Skip] 0.15.0-beta.2 2019-10-09 12:21:13 +00:00
Jaco Greeff
0f16e58760 Swap CI to GH actions (#38)
* Swap CI to GH actions

* Ignore coverage
2019-10-09 14:08:39 +02:00
Travis CI
648adf840d [CI Skip] 0.15.0-beta.1 2019-10-08 12:30:29 +00: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
Travis CI
2c02b44c0d [CI Skip] 0.15.0-beta.0 2019-09-11 10:49:11 +00:00
Jaco Greeff
416e0c58f8 Bump deps (#36) 2019-09-11 12:34:47 +02:00
40 changed files with 4100 additions and 2765 deletions

View File

@@ -5,7 +5,7 @@ module.exports = {
parserOptions: {
...base.parserOptions,
project: [
'./tsconfig.eslint.json'
'./tsconfig.json'
]
}
};

56
.github/workflows/pr-any.yml vendored Normal file
View File

@@ -0,0 +1,56 @@
name: PR
on: [pull_request]
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: lint
run: |
yarn install --frozen-lockfile
yarn lint
test:
name: Testing
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: test
run: |
rustup toolchain install nightly
yarn install --frozen-lockfile
yarn test
build_code:
name: Build Code
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build
run: |
rustup toolchain install nightly
yarn install --frozen-lockfile
yarn build

44
.github/workflows/push-master.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: Master
on:
push:
branches:
- master
jobs:
build_code:
name: Build Code
if: "! contains(github.event.head_commit.message, '[CI Skip]')"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
with:
token: ${{ secrets.GH_PAT }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GH_PAT: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
rustup toolchain install nightly
yarn install --frozen-lockfile
yarn polkadot-dev-ghact-build
dummy:
name: Dummy
if: "contains(github.event.head_commit.message, '[CI Skip]')"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: dummy
run: |
echo "Dummy skip step"

View File

@@ -1,36 +0,0 @@
dist: xenial
language: node_js
node_js:
- "10"
env:
global:
- CC_TEST_REPORTER_ID=979056b20f7c89193ed7b4cdcd6bb6252231f069171fd73b072d0da6f5dd2338
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['cmake', 'g++-5']
cache:
cargo: true
yarn: true
directories:
- node_modules
compiler:
- clang
before_install:
- curl -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=nightly -y
- curl -o- -L https://yarnpkg.com/install.sh | bash
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- export PATH=$HOME/.yarn/bin:$HOME/.cargo/bin:$(yarn global bin):$PATH
before_script:
- ./cc-test-reporter before-build
script:
- yarn polkadot-dev-travis-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
deploy:
skip_cleanup: true
provider: script
script: yarn polkadot-dev-travis-deploy
on:
branch: master

View File

@@ -1,3 +1,7 @@
# 0.20.1
- Pull in schnorrkel 0.8.5 for full Substrate 2.x compatibility
# 0.14.1
- No functionality changes at all, everything done is "under the hood" to give the codebase better maintainability

View File

@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.14.1"
"version": "0.20.1"
}

View File

@@ -1,5 +1,5 @@
{
"version": "0.14.1",
"version": "0.20.1",
"private": true,
"engines": {
"yarn": "^1.10.1"
@@ -9,20 +9,19 @@
],
"resolutions": {
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.6.2"
"typescript": "^3.7.5"
},
"scripts": {
"build": "./scripts/build.sh",
"check": "yarn lint",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx . && tsc --noEmit --pretty",
"clean": "./scripts/clean.sh",
"postinstall": "polkadot-dev-yarn-only",
"test": "echo \"Tests included in build\""
"test": "./scripts/test-rust.sh"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@polkadot/dev": "^0.31.0-beta.7",
"@polkadot/util": "^1.2.0-beta.7",
"@babel/core": "^7.8.3",
"@polkadot/dev": "^0.33.3",
"@polkadot/util": "^2.0.0-beta.10",
"override-require": "^1.1.1"
}
}

View File

@@ -15,15 +15,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "backtrace"
version = "0.3.14"
version = "0.3.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
"cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc-demangle 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -32,7 +30,7 @@ version = "0.1.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cc 1.0.31 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -83,6 +81,14 @@ name = "byteorder"
version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "c2-chacha"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "cc"
version = "1.0.31"
@@ -116,7 +122,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "crunchy"
version = "0.1.6"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
@@ -130,14 +136,26 @@ dependencies = [
[[package]]
name = "curve25519-dalek"
version = "1.1.3"
version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"clear_on_drop 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"digest 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"subtle 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"subtle 2.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "curve25519-dalek"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"digest 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"subtle 2.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"zeroize 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -150,13 +168,12 @@ dependencies = [
[[package]]
name = "ed25519-dalek"
version = "1.0.0-pre.1"
version = "1.0.0-pre.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"clear_on_drop 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"curve25519-dalek 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
"curve25519-dalek 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
"sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -165,7 +182,7 @@ name = "failure"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"backtrace 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
"backtrace 0.3.38 (registry+https://github.com/rust-lang/crates.io-index)",
"failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -198,6 +215,16 @@ dependencies = [
"typenum 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "getrandom"
version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "hashbrown"
version = "0.1.8"
@@ -245,7 +272,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "libc"
version = "0.2.50"
version = "0.2.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
@@ -271,13 +298,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "merlin"
version = "1.0.3"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"clear_on_drop 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"keccak 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -320,7 +347,7 @@ name = "parking_lot_core"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -336,6 +363,11 @@ dependencies = [
"crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "ppv-lite86"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "proc-macro-hack"
version = "0.5.8"
@@ -368,10 +400,10 @@ version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"packed_simd 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_jitter 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -381,6 +413,19 @@ dependencies = [
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"packed_simd 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand_chacha"
version = "0.1.1"
@@ -391,17 +436,34 @@ dependencies = [
]
[[package]]
name = "rand_core"
version = "0.3.1"
name = "rand_chacha"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand_core"
version = "0.4.0"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand_core"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "rand_core"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand_hc"
@@ -411,6 +473,14 @@ dependencies = [
"rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand_hc"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand_isaac"
version = "0.1.1"
@@ -424,8 +494,8 @@ name = "rand_jitter"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -436,8 +506,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"wasm-bindgen 0.2.39 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -449,7 +519,7 @@ version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -483,19 +553,18 @@ dependencies = [
[[package]]
name = "schnorrkel"
version = "0.1.1"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"clear_on_drop 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"curve25519-dalek 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"ed25519-dalek 1.0.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)",
"curve25519-dalek 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"merlin 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"merlin 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"sha3 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
"subtle 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"subtle 2.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"zeroize 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
@@ -527,18 +596,6 @@ dependencies = [
"opaque-debug 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "sha3"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"block-buffer 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"digest 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"keccak 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"opaque-debug 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "smallvec"
version = "0.6.9"
@@ -551,7 +608,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "subtle"
version = "2.0.0"
version = "2.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
@@ -577,7 +634,7 @@ dependencies = [
[[package]]
name = "tiny-bip39"
version = "0.6.1"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -591,15 +648,15 @@ dependencies = [
[[package]]
name = "tiny-keccak"
version = "1.4.2"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"crunchy 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "twox-hash"
version = "1.1.2"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -628,22 +685,28 @@ name = "void"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "wasi"
version = "0.9.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "wasm"
version = "0.0.0"
dependencies = [
"backtrace 0.3.38 (registry+https://github.com/rust-lang/crates.io-index)",
"blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"ed25519-dalek 1.0.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)",
"ed25519-dalek 1.0.0-pre.3 (registry+https://github.com/rust-lang/crates.io-index)",
"hex-literal 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"hmac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pbkdf2 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
"schnorrkel 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"schnorrkel 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)",
"sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"tiny-bip39 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
"tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"twox-hash 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"tiny-bip39 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
"tiny-keccak 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"twox-hash 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"wasm-bindgen 0.2.39 (registry+https://github.com/rust-lang/crates.io-index)",
"wee_alloc 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
@@ -702,7 +765,7 @@ version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
"memory_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -727,10 +790,20 @@ name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "zeroize"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "zeroize"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
[metadata]
"checksum arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "92c7fb76bc8826a8b33b4ee5bb07a247a81e76764ab4d55e8f73e3a4d8808c71"
"checksum autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799"
"checksum backtrace 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "cd5a90e2b463010cd0e0ce9a11d4a9d5d58d9f41d4a6ba3dcaf9e68b466e88b4"
"checksum backtrace 0.3.38 (registry+https://github.com/rust-lang/crates.io-index)" = "690a62be8920ccf773ee00ef0968649b0e724cda8bd5b12286302b4ae955fdf5"
"checksum backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)" = "797c830ac25ccc92a7f8a7b9862bde440715531514594a6154e3d4a54dd769b6"
"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12"
"checksum blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400"
@@ -739,32 +812,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum bumpalo 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e244c3d946bd68dc2c8996d35363d3a855ff55d59aa1c4b41df8b52334c5e19c"
"checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
"checksum byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb"
"checksum c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb"
"checksum cc 1.0.31 (registry+https://github.com/rust-lang/crates.io-index)" = "c9ce8bb087aacff865633f0bd5aeaed910fe2fe55b55f4739527f2e023a2e53d"
"checksum cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4"
"checksum clear_on_drop 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "97276801e127ffb46b66ce23f35cc96bd454fa311294bced4bbace7baa8b1d17"
"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
"checksum constant_time_eq 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e"
"checksum crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a2f4a431c5c9f662e1200b7c7f02c34e91361150e382089a8f2dec3ba680cbda"
"checksum crunchy 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
"checksum crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5"
"checksum curve25519-dalek 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e1f8a6fc0376eb52dc18af94915cc04dfdf8353746c0e8c550ae683a0815e5c1"
"checksum curve25519-dalek 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8b7dcd30ba50cdf88b55b033456138b7c0ac4afdc436d82e1b79f370f24cc66d"
"checksum curve25519-dalek 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "26778518a7f6cffa1d25a44b602b62b979bd88adb9e99ffec546998cf3404839"
"checksum digest 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05f47366984d3ad862010e22c7ce81a7dbcaebbdfb37241a620f8b6596ee135c"
"checksum ed25519-dalek 1.0.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)" = "81956bcf7ef761fb4e1d88de3fa181358a0d26cbcb9755b587a08f9119824b86"
"checksum ed25519-dalek 1.0.0-pre.3 (registry+https://github.com/rust-lang/crates.io-index)" = "978710b352437433c97b2bff193f2fb1dfd58a093f863dd95e225a19baa599a2"
"checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2"
"checksum failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1"
"checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
"checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
"checksum generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3c0f28c2f5bfb5960175af447a2da7c18900693738343dc896ffbcabd9839592"
"checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
"checksum hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3bae29b6653b3412c2e71e9d486db9f9df5d701941d86683005efb9f2d28e3da"
"checksum hex-literal 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c3da68162fdd2147e66682e78e729bd77f93b4c99656db058c5782d8c6b6225a"
"checksum hex-literal-impl 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "06095d08c7c05760f11a071b3e1d4c5b723761c01bd8d7201c30a9536668a612"
"checksum hmac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f127a908633569f208325f86f71255d3363c79721d7f9fe31cd5569908819771"
"checksum keccak 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7"
"checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14"
"checksum libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)" = "aab692d7759f5cd8c859e169db98ae5b52c924add2af5fbbca11d12fefb567c1"
"checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
"checksum lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c"
"checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6"
"checksum memory_units 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3"
"checksum merlin 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "83c2dda19c01176e8e7148f7bdb88bbdf215a8db0641f89fc40e4b81736aeda5"
"checksum merlin 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "66448a173ad394ef5ebf734efa724f3644dcffda083b1e89979da4461ddac079"
"checksum nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "2f9667ddcc6cc8a43afc9b7917599d7216aa09c463919ea32c59ed6cac8bc945"
"checksum once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "532c29a261168a45ce28948f9537ddd7a5dd272cc513b3017b1e82a88f962c37"
"checksum opaque-debug 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "93f5bb2e8e8dec81642920ccff6b61f1eb94fa3020c5a325c9851ff604152409"
@@ -772,14 +848,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ab41b4aed082705d1056416ae4468b6ea99d52599ecf3169b00088d43113e337"
"checksum parking_lot_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "94c8c7923936b28d546dfd14d4472eaf34c99b14e1c973a32b3e6d4eb04298c9"
"checksum pbkdf2 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "006c038a43a45995a9670da19e67600114740e8511d4333bf97a56e66a7542d9"
"checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b"
"checksum proc-macro-hack 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)" = "982a35d1194084ba319d65c4a68d24ca28f5fdb5b8bc20899e4eef8641ea5178"
"checksum proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)" = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915"
"checksum quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1"
"checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
"checksum rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
"checksum rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"
"checksum rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853"
"checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
"checksum rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0"
"checksum rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc"
"checksum rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
"checksum rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
"checksum rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
"checksum rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
"checksum rand_jitter 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b9ea758282efe12823e0d952ddb269d2e1897227e464919a554f2a03ef1b832"
"checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
@@ -788,24 +869,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
"checksum rustc-demangle 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "adacaae16d02b6ec37fdc7acfcddf365978de76d1983d3ee22afc260e1ca9619"
"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
"checksum schnorrkel 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b5eff518f9bed3d803a0d002af0ab96339b0ebbedde3bec98a684986134b7a39"
"checksum schnorrkel 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)" = "eacd8381b3c37840c9c9f40472af529e49975bdcbc24f83c31059fd6539023d3"
"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
"checksum sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b4d8bfd0e469f417657573d8451fb33d16cfe0989359b93baf3a1ffc639543d"
"checksum sha3 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "34a5e54083ce2b934bf059fdf38e7330a154177e029ab6c4e18638f2f624053a"
"checksum smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be"
"checksum subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee"
"checksum subtle 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "702662512f3ddeb74a64ce2fbbf3707ee1b6bb663d28bb054e0779bbc720d926"
"checksum subtle 2.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c65d530b10ccaeac294f349038a597e435b18fb456aadd0840a623f83b9e941"
"checksum syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2"
"checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015"
"checksum tiny-bip39 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f5388a470627f97a01a6e13389ced797a42b1611f9de7e0f6ca705675ac55297"
"checksum tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e9175261fbdb60781fcd388a4d6cc7e14764a2b629a7ad94abb439aed223a44f"
"checksum twox-hash 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "555cd4909480122bbbf21e34faac4cb08a171f324775670447ed116726c474af"
"checksum tiny-bip39 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c1c5676413eaeb1ea35300a0224416f57abc3bd251657e0fafc12c47ff98c060"
"checksum tiny-keccak 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2953ca5148619bc99695c1274cb54c5275bbb913c6adad87e72eaf8db9787f69"
"checksum twox-hash 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3bfd5b7557925ce778ff9b9ef90e3ade34c524b5ff10e239c69a42d546d2af56"
"checksum typenum 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169"
"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
"checksum unreachable 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56"
"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
"checksum wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)" = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
"checksum wasm-bindgen 0.2.39 (registry+https://github.com/rust-lang/crates.io-index)" = "06e36714cc3947a9c80ddc9715edb319e445e5ab0d0b083debec0dd52558580e"
"checksum wasm-bindgen-backend 0.2.39 (registry+https://github.com/rust-lang/crates.io-index)" = "6764493f6eeb3f8632ffd418bf7db6a7e7aca98417c115833e4663976cd60a5e"
"checksum wasm-bindgen-macro 0.2.39 (registry+https://github.com/rust-lang/crates.io-index)" = "a473501c40a2a4da83ae7176fead61f10d003554b701071a704dd0667397027a"
@@ -815,3 +896,5 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0"
"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
"checksum zeroize 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "45af6a010d13e4cf5b54c94ba5a2b2eba5596b9e46bf5875612d332a1f2b3f86"
"checksum zeroize 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3cbac2ed2ba24cc90f5e06485ac8c7c1e5449fe8911aef4d8877218af021a5b8"

View File

@@ -15,17 +15,18 @@ version = "0.0.0"
crate-type = ["cdylib", "rlib"]
[dependencies]
backtrace = "0.3.38"
blake2-rfc = "0.2.18"
byteorder = "1.3.1"
ed25519-dalek = { version = "1.0.0-pre.1", features = ["nightly"] }
ed25519-dalek = { version = "1.0.0-pre.3", features = ["nightly"] }
hmac = "0.7.0"
# libsecp256k1 = "0.2.2"
pbkdf2 = { version = "0.3.0", default-features = false }
schnorrkel = { version = "0.1.1", features = ["nightly"] }
schnorrkel = { version = "0.8.5", features = ["nightly", "preaudit_deprecated", "u64_backend"] }
sha2 = "0.8.0"
tiny-bip39 = { version = "0.6.1", default-features = false }
tiny-keccak = "1.4.2"
twox-hash = "1.1.2"
tiny-bip39 = { version = "0.6.2", default-features = false }
tiny-keccak = { version = "2.0.1", features = ["keccak"] }
twox-hash = "1.5.0"
wasm-bindgen = "0.2"
wee_alloc = "0.4.3"

View File

@@ -1,6 +1,6 @@
{
"name": "@polkadot/wasm-crypto",
"version": "0.14.1",
"version": "0.20.1",
"author": "Jaco Greeff <jacogr@gmail.com>",
"files": [
"crypto-polyfill.js",

View File

@@ -1,4 +1,4 @@
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,4 +1,4 @@
// Copyright 2019 @polkadot/wasm-dalek-ed25519 authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,4 +1,4 @@
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
@@ -8,13 +8,13 @@ use hmac::Hmac;
use pbkdf2::pbkdf2;
use sha2::{Digest, Sha512};
// use secp256k1;
use std::hash::Hasher;
use tiny_keccak::keccak256;
use tiny_keccak::{Hasher, Keccak};
use twox_hash::XxHash;
use wasm_bindgen::prelude::*;
/// helper function for a single twox round with a seed
fn create_twox(data: &[u8], seed: u64) -> [u8; 8] {
use ::std::hash::Hasher;
let mut hasher = XxHash::with_seed(seed);
hasher.write(data);
@@ -49,8 +49,13 @@ pub fn ext_blake2b(data: &[u8], key: &[u8], size: u32) -> Vec<u8> {
/// Returns the hash as a vector
#[wasm_bindgen]
pub fn ext_keccak256(data: &[u8]) -> Vec<u8> {
keccak256(data)
.to_vec()
let mut keccak = Keccak::v256();
let mut result = [0u8; 32];
keccak.update(data);
keccak.finalize(&mut result);
result.to_vec()
}
/// pbkdf2 hash from an input, salt for the number of specified rounds

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-wasm authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,4 +1,4 @@
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,4 +1,4 @@
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,4 +1,4 @@
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,5 +1,5 @@
// Copyright 2019 Paritytech via https://github.com/paritytech/schnorrkel-js/
// Copyright 2019 @polkadot/wasm-schnorrkel authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
@@ -8,7 +8,7 @@
// forked at commit eff430ddc3090f56317c80654208b8298ef7ab3f
use schnorrkel::{
Keypair, MiniSecretKey, PublicKey, SecretKey, Signature,
ExpansionMode, Keypair, MiniSecretKey, PublicKey, SecretKey,
derive::{Derivation, ChainCode, CHAIN_CODE_LENGTH},
};
use wasm_bindgen::prelude::*;
@@ -25,38 +25,6 @@ fn create_cc(data: &[u8]) -> ChainCode {
ChainCode(cc)
}
/// Keypair helper function.
fn create_from_seed(seed: &[u8]) -> Keypair {
match MiniSecretKey::from_bytes(seed) {
Ok(mini) => return mini.expand_to_keypair(),
Err(_) => panic!("Provided seed is invalid.")
}
}
/// Keypair helper function.
fn create_from_pair(pair: &[u8]) -> Keypair {
match Keypair::from_bytes(pair) {
Ok(pair) => return pair,
Err(_) => panic!("Provided pair is invalid.")
}
}
/// PublicKey helper
fn create_public(public: &[u8]) -> PublicKey {
match PublicKey::from_bytes(public) {
Ok(public) => return public,
Err(_) => panic!("Provided public key is invalid.")
}
}
/// SecretKey helper
fn create_secret(secret: &[u8]) -> SecretKey {
match SecretKey::from_bytes(secret) {
Ok(secret) => return secret,
Err(_) => panic!("Provided private key is invalid.")
}
}
/// Perform a derivation on a secret
///
/// * secret: UIntArray with 64 bytes
@@ -65,10 +33,12 @@ fn create_secret(secret: &[u8]) -> SecretKey {
/// returned vector the derived keypair as a array of 96 bytes
#[wasm_bindgen]
pub fn ext_sr_derive_keypair_hard(pair: &[u8], cc: &[u8]) -> Vec<u8> {
create_from_pair(pair).secret
Keypair::from_half_ed25519_bytes(pair)
.unwrap()
.secret
.hard_derive_mini_secret_key(Some(create_cc(cc)), &[]).0
.expand_to_keypair()
.to_bytes()
.expand_to_keypair(ExpansionMode::Ed25519)
.to_half_ed25519_bytes()
.to_vec()
}
@@ -80,9 +50,10 @@ pub fn ext_sr_derive_keypair_hard(pair: &[u8], cc: &[u8]) -> Vec<u8> {
/// returned vector the derived keypair as a array of 96 bytes
#[wasm_bindgen]
pub fn ext_sr_derive_keypair_soft(pair: &[u8], cc: &[u8]) -> Vec<u8> {
create_from_pair(pair)
Keypair::from_half_ed25519_bytes(pair)
.unwrap()
.derived_key_simple(create_cc(cc), &[]).0
.to_bytes()
.to_half_ed25519_bytes()
.to_vec()
}
@@ -94,9 +65,11 @@ pub fn ext_sr_derive_keypair_soft(pair: &[u8], cc: &[u8]) -> Vec<u8> {
/// returned vector is the derived publicKey as a array of 32 bytes
#[wasm_bindgen]
pub fn ext_sr_derive_public_soft(public: &[u8], cc: &[u8]) -> Vec<u8> {
create_public(public)
PublicKey::from_bytes(public)
.unwrap()
.derived_key_simple(create_cc(cc), &[]).0
.to_bytes().to_vec()
.to_bytes()
.to_vec()
}
/// Generate a key pair.
@@ -107,8 +80,23 @@ pub fn ext_sr_derive_public_soft(public: &[u8], cc: &[u8]) -> Vec<u8> {
/// followed by the public key (32) bytes.
#[wasm_bindgen]
pub fn ext_sr_from_seed(seed: &[u8]) -> Vec<u8> {
create_from_seed(seed)
.to_bytes()
MiniSecretKey::from_bytes(seed)
.unwrap()
.expand_to_keypair(ExpansionMode::Ed25519)
.to_half_ed25519_bytes()
.to_vec()
}
/// Generate a key pair from a known pair. (This is not exposed via WASM)
///
/// * seed: UIntArray with 96 element
///
/// returned vector is the concatenation of first the private key (64 bytes)
/// followed by the public key (32) bytes.
pub fn ext_sr_from_pair(pair: &[u8]) -> Vec<u8> {
Keypair::from_half_ed25519_bytes(pair)
.unwrap()
.to_half_ed25519_bytes()
.to_vec()
}
@@ -124,8 +112,9 @@ pub fn ext_sr_from_seed(seed: &[u8]) -> Vec<u8> {
/// * returned vector is the signature consisting of 64 bytes.
#[wasm_bindgen]
pub fn ext_sr_sign(public: &[u8], secret: &[u8], message: &[u8]) -> Vec<u8> {
create_secret(secret)
.sign_simple(SIGNING_CTX, message, &create_public(public))
SecretKey::from_ed25519_bytes(secret)
.unwrap()
.sign_simple(SIGNING_CTX, message, &PublicKey::from_bytes(public).unwrap())
.to_bytes()
.to_vec()
}
@@ -137,13 +126,19 @@ pub fn ext_sr_sign(public: &[u8], secret: &[u8], message: &[u8]) -> Vec<u8> {
/// * pubkey: UIntArray with 32 element
#[wasm_bindgen]
pub fn ext_sr_verify(signature: &[u8], message: &[u8], public: &[u8]) -> bool {
let signature = match Signature::from_bytes(signature) {
Ok(signature) => signature,
Err(_) => return false
};
// This is where we only verify 0.8.0+ signatures, replacing the code below
//
// match Signature::from_bytes(signature) {
// Ok(signature) => PublicKey::from_bytes(public).unwrap()
// .verify_simple(SIGNING_CTX, message, &signature)
// .is_ok(),
// Err(_) => false
// };
create_public(public)
.verify_simple(SIGNING_CTX, message, &signature)
PublicKey::from_bytes(public)
.unwrap()
.verify_simple_preaudit_deprecated(SIGNING_CTX, message, &signature)
.is_ok()
}
#[cfg(test)]
@@ -168,7 +163,7 @@ pub mod tests {
}
#[test]
fn creates_pair_from_known() {
fn creates_pair_from_known_seed() {
let seed = hex!("fac7959dbfe72f052e5a0c3c8d6530f202b02fd8f9f5ca3580ec8deb7797479e");
let expected = hex!("46ebddef8cd9bb167dc30878d7113b7e168e6f0646beffd77d69d39bad76b47a");
let keypair = ext_sr_from_seed(&seed);
@@ -177,6 +172,16 @@ pub mod tests {
assert_eq!(public, expected);
}
#[test]
fn create_pair_from_known_pair() {
let input = hex!("28b0ae221c6bb06856b287f60d7ea0d98552ea5a16db16956849aa371db3eb51fd190cce74df356432b410bd64682309d6dedb27c76845daf388557cbac3ca3446ebddef8cd9bb167dc30878d7113b7e168e6f0646beffd77d69d39bad76b47a");
let keypair = ext_sr_from_pair(&input);
let expected = hex!("46ebddef8cd9bb167dc30878d7113b7e168e6f0646beffd77d69d39bad76b47a");
let public = &keypair[SECRET_KEY_LENGTH..KEYPAIR_LENGTH];
assert_eq!(public, expected);
}
#[test]
fn can_sign_message() {
let seed = generate_random_seed();

View File

@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/camelcase */
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// @ts-check

View File

@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/camelcase */
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// @ts-check

View File

@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/camelcase */
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// @ts-check

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/camelcase */
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// @ts-check

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
// Copyright 2019 @polkadot/wasm-crypto authors & contributors
// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// @ts-check

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright 2019-2020 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright 2019-2020 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright 2019-2020 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Copyright 2019-2020 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e

View File

@@ -1,3 +1,7 @@
// Copyright 2019-2020 @polkadot/wasm authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
/* eslint-disable @typescript-eslint/no-var-requires */
const fs = require('fs');
const buffer = fs.readFileSync('./build/wasm_opt.wasm');

View File

@@ -1,12 +1,12 @@
#!/usr/bin/env bash
# Copyright 2019-2020 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e
echo "*** Testing package"
echo "*** Testing Rust"
RUST_BACKTRACE=full rustup run nightly cargo test --release -- --nocapture
echo "*** Testing WASM"
node ./test/wasm.js

25
scripts/test-rust.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Copyright 2019-2020 @polkadot/wasm authors & contributors
# This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details.
set -e
echo "*** Testing packages"
cd packages
PACKAGES=( $(ls -1d *) )
for PKG in "${PACKAGES[@]}"; do
if [ -f "$PKG/package.json" ]; then
echo "*** Testing $PKG"
cd $PKG
echo "*** Testing Rust"
RUST_BACKTRACE=full rustup run nightly cargo test --release -- --nocapture
cd ..
fi
done
cd ..

View File

@@ -1,11 +0,0 @@
{
"extends": "./tsconfig.json",
"exclude": [
"build",
"packages/*/build"
],
"compilerOptions": {
"allowJs": true,
"checkJs": true
}
}

View File

@@ -1,10 +1,15 @@
{
"extends": "./node_modules/@polkadot/dev/config/tsconfig",
"exclude": [
"build/**/*",
"**/build/**/*"
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@polkadot/wasm-schnorrkel": [ "packages/wasm-schnorrkel/src" ]
},
"skipLibCheck": true,
"typeRoots": [
"./node_modules/@polkadot/ts",
"./node_modules/@types"

View File

@@ -1,3 +0,0 @@
{
"extends": "@polkadot/dev/config/tslint"
}

6244
yarn.lock

File diff suppressed because it is too large Load Diff