Use new externs for eth crypto (#114)

* Add claims.

* Failing build

* Updatee to latest substrate, fix tests

* Remove unneeded

* Introduce tests with real work sig

* Use right 64 bytes of pubkey to get eth addr

* Fix for eth sig

* Fix build

* Fix wasm

* Use new externs for eth crypto.

* Bump spec version

* New runtime
This commit is contained in:
Gav Wood
2019-01-29 14:06:40 +01:00
committed by GitHub
parent c363077404
commit 82e866be42
7 changed files with 217 additions and 209 deletions
+6 -5
View File
@@ -23,13 +23,15 @@
#[cfg(test)]
#[macro_use]
extern crate hex_literal;
#[cfg(test)]
extern crate secp256k1;
#[cfg(test)]
extern crate tiny_keccak;
#[macro_use]
extern crate bitvec;
extern crate tiny_keccak;
extern crate secp256k1;
#[macro_use]
extern crate parity_codec_derive;
extern crate parity_codec as codec;
@@ -41,7 +43,6 @@ extern crate substrate_inherents as inherents;
extern crate substrate_client as client;
extern crate sr_std as rstd;
#[cfg(test)]
extern crate sr_io;
extern crate sr_version as version;
#[macro_use]
@@ -111,7 +112,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("polkadot"),
impl_name: create_runtime_str!("parity-polkadot"),
authoring_version: 1,
spec_version: 105,
spec_version: 106,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
};