Skip to content

Instantly share code, notes, and snippets.

@gavofyork
Created February 1, 2019 16:32
Show Gist options
  • Save gavofyork/e65271988d487e4d0e9d63cd9429da0a to your computer and use it in GitHub Desktop.
Save gavofyork/e65271988d487e4d0e9d63cd9429da0a to your computer and use it in GitHub Desktop.
error[E0432]: unresolved import `srml_support::RuntimeMetadata`
--> runtime/src/lib.rs:59:38
|
59 | pub use srml_support::{StorageValue, RuntimeMetadata};
| ^^^^^^^^^^^^^^^ no `RuntimeMetadata` in the root
error[E0277]: the trait bound `Event: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:118:6
|
118 | impl system::Trait for Runtime {
| ^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Decode` is not implemented for `Event`
error[E0277]: the trait bound `Event: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:118:6
|
118 | impl system::Trait for Runtime {
| ^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Encode` is not implemented for `Event`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:194:1
|
194 | / construct_runtime!(
195 | | pub enum Runtime with Log(InternalLog: DigestItem<Hash, Ed25519AuthorityId>) where
196 | | Block = Block,
197 | | NodeBlock = opaque::Block,
... |
207 | | }
208 | | );
| |__^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Decode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:194:1
|
194 | / construct_runtime!(
195 | | pub enum Runtime with Log(InternalLog: DigestItem<Hash, Ed25519AuthorityId>) where
196 | | Block = Block,
197 | | NodeBlock = opaque::Block,
... |
207 | | }
208 | | );
| |__^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Encode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:228:1
|
228 | / impl_runtime_apis! {
229 | | impl runtime_api::Core<Block> for Runtime {
230 | | fn version() -> RuntimeVersion {
231 | | VERSION
... |
285 | | }
286 | | }
| |_^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Codec` for `opaque::UncheckedExtrinsic`
= note: required because of the requirements on the impl of `client::runtime_api::Block` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
= note: required by `client::runtime_api::CallRuntimeAt`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:228:1
|
228 | / impl_runtime_apis! {
229 | | impl runtime_api::Core<Block> for Runtime {
230 | | fn version() -> RuntimeVersion {
231 | | VERSION
... |
285 | | }
286 | | }
| |_^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Codec` for `opaque::UncheckedExtrinsic`
= note: required because of the requirements on the impl of `client::runtime_api::Block` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
= note: required by `client::runtime_api::CallRuntimeAt`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:228:1
|
228 | / impl_runtime_apis! {
229 | | impl runtime_api::Core<Block> for Runtime {
230 | | fn version() -> RuntimeVersion {
231 | | VERSION
... |
285 | | }
286 | | }
| |_^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Decode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:228:1
|
228 | / impl_runtime_apis! {
229 | | impl runtime_api::Core<Block> for Runtime {
230 | | fn version() -> RuntimeVersion {
231 | | VERSION
... |
285 | | }
286 | | }
| |_^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Encode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:229:7
|
229 | impl runtime_api::Core<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Decode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:229:7
|
229 | impl runtime_api::Core<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Encode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:247:7
|
247 | impl runtime_api::Metadata<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Decode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:247:7
|
247 | impl runtime_api::Metadata<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Encode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:253:7
|
253 | impl block_builder_api::BlockBuilder<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Decode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:253:7
|
253 | impl block_builder_api::BlockBuilder<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Encode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:275:7
|
275 | impl runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Decode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:275:7
|
275 | impl runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Encode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:281:7
|
281 | impl consensus_aura::AuraApi<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Decode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:281:7
|
281 | impl consensus_aura::AuraApi<Block> for Runtime {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Encode` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:286:1
|
286 | }
| ^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Codec` for `opaque::UncheckedExtrinsic`
= note: required because of the requirements on the impl of `client::runtime_api::Block` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
= note: required by `client::runtime_api::CallRuntimeAt`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:286:1
|
286 | }
| ^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Codec` for `opaque::UncheckedExtrinsic`
= note: required because of the requirements on the impl of `client::runtime_api::Block` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
= note: required by `client::runtime_api::CallRuntimeAt`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Encode` is not satisfied
--> runtime/src/lib.rs:286:1
|
286 | }
| ^ the trait `runtime_io::parity_codec::Encode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Codec` for `opaque::UncheckedExtrinsic`
= note: required because of the requirements on the impl of `client::runtime_api::Block` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error[E0277]: the trait bound `opaque::UncheckedExtrinsic: runtime_io::parity_codec::Decode` is not satisfied
--> runtime/src/lib.rs:286:1
|
286 | }
| ^ the trait `runtime_io::parity_codec::Decode` is not implemented for `opaque::UncheckedExtrinsic`
|
= note: required because of the requirements on the impl of `runtime_io::parity_codec::Codec` for `opaque::UncheckedExtrinsic`
= note: required because of the requirements on the impl of `client::runtime_api::Block` for `runtime_primitives::generic::Block<runtime_primitives::generic::Header<u64, runtime_primitives::traits::BlakeTwo256, runtime_primitives::generic::DigestItem<primitives::H256, primitives::Ed25519AuthorityId>>, opaque::UncheckedExtrinsic>`
error: aborting due to 23 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment