mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
Make use of parity-codec "derive" crate feature (#1919)
* Make use of parity-codec "derive" crate feature * Bump impl_version * Update wasm files and Cargo.lock files * Transferred to parity_codec derive feature for the rest of the crates * Update wasm binaries and lock files * Update core and node wasm binaries
This commit is contained in:
committed by
Bastian Köcher
parent
755b53bd05
commit
128d164f2b
@@ -8,8 +8,7 @@ edition = "2018"
|
||||
parking_lot = "0.7.1"
|
||||
log = "0.4"
|
||||
primitives = { package = "substrate-primitives", path = "../../core/primitives" }
|
||||
parity-codec = "3.1"
|
||||
parity-codec-derive = "3.1"
|
||||
parity-codec = { version = "3.1", features = ["derive"] }
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.6"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
use std::fmt;
|
||||
use std::collections::{HashMap, VecDeque, hash_map::Entry};
|
||||
use super::{Error, DBValue, ChangeSet, CommitSet, MetaDb, Hash, to_meta_key};
|
||||
use crate::codec::{Decode, Encode};
|
||||
use parity_codec_derive::{Decode, Encode};
|
||||
use crate::codec::{Encode, Decode};
|
||||
use log::trace;
|
||||
|
||||
const NON_CANONICAL_JOURNAL: &[u8] = b"noncanonical_journal";
|
||||
|
||||
@@ -26,7 +26,6 @@ use std::collections::{HashMap, HashSet, VecDeque};
|
||||
use std::mem;
|
||||
use crate::codec::{Encode, Decode};
|
||||
use crate::{CommitSet, Error, MetaDb, to_meta_key, Hash};
|
||||
use parity_codec_derive::{Encode, Decode};
|
||||
use log::{trace, warn};
|
||||
|
||||
const LAST_PRUNED: &[u8] = b"last_pruned";
|
||||
|
||||
Reference in New Issue
Block a user