Skip to content

Commit

Permalink
Update to SCALE 1.2.0 (paritytech#5113)
Browse files Browse the repository at this point in the history
This updates `parity-scale-codec` to `1.2.0`, which includes multiple
performance improvements and a fix that bounds the capacity of a vector
at decoding.
  • Loading branch information
bkchr authored and General-Beck committed Mar 4, 2020
1 parent ea9eb5d commit 36868e0
Show file tree
Hide file tree
Showing 116 changed files with 130 additions and 130 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions bin/node-template/pallets/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/paritytech/substrate/"
description = "FRAME pallet template"

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
safe-mix = { default-features = false, version = '1.0.0' }

[dependencies.frame-support]
Expand Down Expand Up @@ -41,8 +41,8 @@ path = "../../../../primitives/runtime"
[features]
default = ['std']
std = [
'codec/std',
'frame-support/std',
'safe-mix/std',
'system/std'
'codec/std',
'frame-support/std',
'safe-mix/std',
'system/std'
]
2 changes: 1 addition & 1 deletion bin/node-template/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }

aura = { version = "2.0.0-alpha.2", default-features = false, package = "pallet-aura", path = "../../../frame/aura" }
balances = { version = "2.0.0-alpha.2", default-features = false, package = "pallet-balances", path = "../../../frame/balances" }
Expand Down
2 changes: 1 addition & 1 deletion bin/node/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
# third-party dependencies
codec = { package = "parity-scale-codec", version = "1.0.6" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
serde = { version = "1.0.102", features = ["derive"] }
futures = { version = "0.3.1", features = ["compat"] }
hex-literal = "0.2.1"
Expand Down
2 changes: 1 addition & 1 deletion bin/node/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
node-primitives = { version = "2.0.0-alpha.2", path = "../primitives" }
node-runtime = { version = "2.0.0-alpha.2", path = "../runtime" }
sc-executor = { version = "0.8.0-alpha.2", path = "../../../client/executor" }
Expand Down
2 changes: 1 addition & 1 deletion bin/node/inspect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
derive_more = "0.99"
log = "0.4.8"
sc-cli = { version = "0.8.0-alpha.2", path = "../../../client/cli" }
Expand Down
2 changes: 1 addition & 1 deletion bin/node/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/paritytech/substrate/"
[dependencies]

# third-party dependencies
codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
integer-sqrt = { version = "0.1.2" }
rustc-hex = { version = "2.0", optional = true }
serde = { version = "1.0.102", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion bin/node/testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pallet-balances = { version = "2.0.0-alpha.2", path = "../../../frame/balances"
sc-client = { version = "0.8.0-alpha.2", path = "../../../client/" }
sc-client-db = { version = "0.8.0-alpha.2", path = "../../../client/db/", features = ["kvdb-rocksdb"] }
sc-client-api = { version = "2.0.0-alpha.2", path = "../../../client/api/" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
pallet-contracts = { version = "2.0.0-alpha.2", path = "../../../frame/contracts" }
pallet-grandpa = { version = "2.0.0-alpha.2", path = "../../../frame/grandpa" }
pallet-indices = { version = "2.0.0-alpha.2", path = "../../../frame/indices" }
Expand Down
2 changes: 1 addition & 1 deletion bin/node/transaction-factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sp-block-builder = { version = "2.0.0-alpha.2", path = "../../../primitives/bloc
sc-cli = { version = "0.8.0-alpha.2", path = "../../../client/cli" }
sc-client-api = { version = "2.0.0-alpha.2", path = "../../../client/api" }
sc-client = { version = "0.8.0-alpha.2", path = "../../../client" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
sp-consensus = { version = "0.8.0-alpha.2", path = "../../../primitives/consensus/common" }
log = "0.4.8"
sp-core = { version = "2.0.0-alpha.2", path = "../../../primitives/core" }
Expand Down
2 changes: 1 addition & 1 deletion bin/utils/subkey/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rustc-hex = "2.0.1"
substrate-bip39 = "0.3.1"
hex = "0.4.0"
hex-literal = "0.2.1"
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
frame-system = { version = "2.0.0-alpha.2", path = "../../../frame/system" }
pallet-balances = { version = "2.0.0-alpha.2", path = "../../../frame/balances" }
pallet-transaction-payment = { version = "2.0.0-alpha.2", path = "../../../frame/transaction-payment" }
Expand Down
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Substrate Client and associated logic."
[dependencies]
sc-block-builder = { version = "0.8.0-alpha.2", path = "block-builder" }
sc-client-api = { version = "2.0.0-alpha.2", path = "api" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
sp-consensus = { version = "0.8.0-alpha.2", path = "../primitives/consensus/common" }
derive_more = { version = "0.99.2" }
sc-executor = { version = "0.8.0-alpha.2", path = "executor" }
Expand Down
2 changes: 1 addition & 1 deletion client/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ documentation = "https://docs.rs/sc-client-api"


[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
sp-consensus = { version = "0.8.0-alpha.2", path = "../../primitives/consensus/common" }
derive_more = { version = "0.99.2" }
sc-executor = { version = "0.8.0-alpha.2", path = "../executor" }
Expand Down
2 changes: 1 addition & 1 deletion client/authority-discovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ prost-build = "0.6.1"

[dependencies]
bytes = "0.5.0"
codec = { package = "parity-scale-codec", default-features = false, version = "1.0.3" }
codec = { package = "parity-scale-codec", default-features = false, version = "1.2.0" }
derive_more = "0.99.2"
futures = "0.3.1"
futures-timer = "3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion client/basic-authorship/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Basic implementation of block-authoring logic."
[dependencies]
log = "0.4.8"
futures = "0.3.1"
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
sp-api = { version = "2.0.0-alpha.2", path = "../../primitives/api" }
sp-runtime = { version = "2.0.0-alpha.2", path = "../../primitives/runtime" }
sp-core = { version = "2.0.0-alpha.2", path = "../../primitives/core" }
Expand Down
2 changes: 1 addition & 1 deletion client/block-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ sp-blockchain = { version = "2.0.0-alpha.2", path = "../../primitives/blockchain
sp-core = { version = "2.0.0-alpha.2", path = "../../primitives/core" }
sp-block-builder = { version = "2.0.0-alpha.2", path = "../../primitives/block-builder" }
sc-client-api = { version = "2.0.0-alpha.2", path = "../api" }
codec = { package = "parity-scale-codec", version = "1.0.6", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
2 changes: 1 addition & 1 deletion client/consensus/aura/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sp-consensus-aura = { version = "0.8.0-alpha.2", path = "../../../primitives/con
sp-block-builder = { version = "2.0.0-alpha.2", path = "../../../primitives/block-builder" }
sc-client = { version = "0.8.0-alpha.2", path = "../../" }
sc-client-api = { version = "2.0.0-alpha.2", path = "../../api" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
sp-consensus = { version = "0.8.0-alpha.2", path = "../../../primitives/consensus/common" }
derive_more = "0.99.2"
futures = "0.3.1"
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/babe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ documentation = "https://docs.rs/sc-consensus-babe"


[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
sp-consensus-babe = { version = "0.8.0-alpha.2", path = "../../../primitives/consensus/babe" }
sp-core = { version = "2.0.0-alpha.2", path = "../../../primitives/core" }
sp-application-crypto = { version = "2.0.0-alpha.2", path = "../../../primitives/application-crypto" }
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/epochs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
parking_lot = "0.10.0"
fork-tree = { version = "2.0.0-alpha.2", path = "../../../utils/fork-tree" }
sp-runtime = { path = "../../../primitives/runtime" , version = "2.0.0-alpha.2"}
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/pow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
sp-core = { version = "2.0.0-alpha.2", path = "../../../primitives/core" }
sp-blockchain = { version = "2.0.0-alpha.2", path = "../../../primitives/blockchain" }
sp-runtime = { version = "2.0.0-alpha.2", path = "../../../primitives/runtime" }
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/slots/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
sc-client-api = { version = "2.0.0-alpha.2", path = "../../api" }
sp-core = { version = "2.0.0-alpha.2", path = "../../../primitives/core" }
sp-blockchain = { version = "2.0.0-alpha.2", path = "../../../primitives/blockchain" }
Expand Down
2 changes: 1 addition & 1 deletion client/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kvdb-memorydb = "0.4.0"
linked-hash-map = "0.5.2"
hash-db = "0.15.2"
parity-util-mem = { version = "0.5.1", default-features = false, features = ["std"] }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }

sc-client-api = { version = "2.0.0-alpha.2", path = "../api" }
sp-core = { version = "2.0.0-alpha.2", path = "../../primitives/core" }
Expand Down
2 changes: 1 addition & 1 deletion client/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ documentation = "https://docs.rs/sc-executor"

[dependencies]
derive_more = "0.99.2"
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
sp-io = { version = "2.0.0-alpha.2", path = "../../primitives/io" }
sp-core = { version = "2.0.0-alpha.2", path = "../../primitives/core" }
sp-trie = { version = "2.0.0-alpha.2", path = "../../primitives/trie" }
Expand Down
2 changes: 1 addition & 1 deletion client/executor/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ documentation = "https://docs.rs/sc-executor-common/"
[dependencies]
log = "0.4.8"
derive_more = "0.99.2"
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
wasmi = "0.6.2"
sp-core = { version = "2.0.0-alpha.2", path = "../../../primitives/core" }
sp-allocator = { version = "2.0.0-alpha.2", path = "../../../primitives/allocator" }
Expand Down
2 changes: 1 addition & 1 deletion client/executor/wasmi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ documentation = "https://docs.rs/sc-execturo-wasmi"
log = "0.4.8"
wasmi = "0.6.2"
parity-wasm = "0.41.0"
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
sc-executor-common = { version = "0.8.0-alpha.2", path = "../common" }
sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../../../primitives/wasm-interface" }
sp-runtime-interface = { version = "2.0.0-alpha.2", path = "../../../primitives/runtime-interface" }
Expand Down
2 changes: 1 addition & 1 deletion client/executor/wasmtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description = "Defines a `WasmRuntime` that uses the Wasmtime JIT to execute."
log = "0.4.8"
wasmi = "0.6.2"
parity-wasm = "0.41.0"
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
sc-executor-common = { version = "0.8.0-alpha.2", path = "../common" }
sp-wasm-interface = { version = "2.0.0-alpha.2", path = "../../../primitives/wasm-interface" }
sp-runtime-interface = { version = "2.0.0-alpha.2", path = "../../../primitives/runtime-interface" }
Expand Down
2 changes: 1 addition & 1 deletion client/finality-grandpa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ log = "0.4.8"
parking_lot = "0.10.0"
rand = "0.7.2"
assert_matches = "1.3.0"
parity-scale-codec = { version = "1.0.0", features = ["derive"] }
parity-scale-codec = { version = "1.2.0", features = ["derive"] }
sp-arithmetic = { version = "2.0.0-alpha.2", path = "../../primitives/arithmetic" }
sp-runtime = { version = "2.0.0-alpha.2", path = "../../primitives/runtime" }
sp-consensus = { version = "0.8.0-alpha.1", path = "../../primitives/consensus/common" }
Expand Down
2 changes: 1 addition & 1 deletion client/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ prost-build = "0.6.1"
[dependencies]
bitflags = "1.2.0"
bytes = "0.5.0"
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
derive_more = "0.99.2"
either = "1.5.3"
erased-serde = "0.3.9"
Expand Down
2 changes: 1 addition & 1 deletion client/offchain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ log = "0.4.8"
threadpool = "1.7"
num_cpus = "1.10"
sp-offchain = { version = "2.0.0-alpha.2", path = "../../primitives/offchain" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
parking_lot = "0.10.0"
sp-core = { version = "2.0.0-alpha.2", path = "../../primitives/core" }
rand = "0.7.2"
Expand Down
2 changes: 1 addition & 1 deletion client/rpc-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/paritytech/substrate/"
description = "Substrate RPC interfaces."

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
derive_more = "0.99.2"
futures = { version = "0.3.1", features = ["compat"] }
jsonrpc-core = "14.0.3"
Expand Down
2 changes: 1 addition & 1 deletion client/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sc-rpc-api = { version = "0.8.0-alpha.2", path = "../rpc-api" }
sc-client-api = { version = "2.0.0-alpha.2", path = "../api" }
sc-client = { version = "0.8.0-alpha.2", path = "../" }
sp-api = { version = "2.0.0-alpha.2", path = "../../primitives/api" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
futures = { version = "0.3.1", features = ["compat"] }
jsonrpc-pubsub = "14.0.3"
log = "0.4.8"
Expand Down
2 changes: 1 addition & 1 deletion client/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sc-client-api = { version = "2.0.0-alpha.2", path = "../api" }
sc-client = { version = "0.8.0-alpha.2", path = "../" }
sp-api = { version = "2.0.0-alpha.2", path = "../../primitives/api" }
sc-client-db = { version = "0.8.0-alpha.2", path = "../db" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
sc-executor = { version = "0.8.0-alpha.2", path = "../executor" }
sc-transaction-pool = { version = "2.0.0-alpha.2", path = "../transaction-pool" }
sp-transaction-pool = { version = "2.0.0-alpha.2", path = "../../primitives/transaction-pool" }
Expand Down
2 changes: 1 addition & 1 deletion client/state-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ parking_lot = "0.10.0"
log = "0.4.8"
sc-client-api = { version = "2.0.0-alpha.2", path = "../api" }
sp-core = { version = "2.0.0-alpha.2", path = "../../primitives/core" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", features = ["derive"] }
parity-util-mem = "0.5.1"
parity-util-mem-derive = "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion client/transaction-pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/paritytech/substrate/"
description = "Substrate transaction pool implementation."

[dependencies]
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
derive_more = "0.99.2"
futures = { version = "0.3.1", features = ["compat"] }
futures-diagnose = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion client/transaction-pool/graph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ linked-hash-map = "0.5.2"

[dev-dependencies]
assert_matches = "1.3.0"
codec = { package = "parity-scale-codec", version = "1.0.0" }
codec = { package = "parity-scale-codec", version = "1.2.0" }
substrate-test-runtime = { version = "2.0.0-dev", path = "../../../test-utils/runtime" }
criterion = "0.3"

Expand Down
2 changes: 1 addition & 1 deletion frame/assets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = "FRAME asset management pallet"

[dependencies]
serde = { version = "1.0.101", optional = true }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false }
# Needed for various traits. In our case, `OnFinalize`.
sp-runtime = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/runtime" }
# Needed for type-safe access to storage DB.
Expand Down
2 changes: 1 addition & 1 deletion frame/aura/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = "FRAME AURA consensus pallet"

[dependencies]
sp-application-crypto = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/application-crypto" }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
sp-inherents = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/inherents" }
sp-core = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/core" }
sp-std = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/std" }
Expand Down
2 changes: 1 addition & 1 deletion frame/authority-discovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "FRAME pallet for authority discovery"
[dependencies]
sp-authority-discovery = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/authority-discovery" }
sp-application-crypto = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/application-crypto" }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
sp-core = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/core" }
sp-std = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/std" }
serde = { version = "1.0.101", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion frame/authorship/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/paritytech/substrate/"

[dependencies]
sp-core = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/core" }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
sp-inherents = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/inherents" }
sp-authorship = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/authorship" }
sp-std = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/std" }
Expand Down
2 changes: 1 addition & 1 deletion frame/babe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = "Consensus extension module for BABE consensus. Collects on-chain

[dependencies]
hex-literal = "0.2.1"
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.2.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.101", optional = true }
sp-inherents = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/inherents" }
sp-std = { version = "2.0.0-alpha.2", default-features = false, path = "../../primitives/std" }
Expand Down
Loading

0 comments on commit 36868e0

Please sign in to comment.