Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Validate encoding of extrinsics passed to runtime (#6442)
Browse files Browse the repository at this point in the history
* Validate encoding of extrinsics passed to runtime

* Bump codec version explicitly
  • Loading branch information
arkpar authored Jun 19, 2020
1 parent 9cbda1e commit d0ab405
Show file tree
Hide file tree
Showing 131 changed files with 141 additions and 134 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion bin/node-template/pallets/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description = "FRAME pallet template"
targets = ["x86_64-unknown-linux-gnu"]

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

[dependencies.frame-support]
default-features = false
Expand Down
2 changes: 1 addition & 1 deletion bin/node-template/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/"
targets = ["x86_64-unknown-linux-gnu"]

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

aura = { version = "2.0.0-rc3", default-features = false, package = "pallet-aura", path = "../../../frame/aura" }
balances = { version = "2.0.0-rc3", 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 @@ -34,7 +34,7 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
# third-party dependencies
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
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 @@ -12,7 +12,7 @@ repository = "https://github.com/paritytech/substrate/"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
node-primitives = { version = "2.0.0-rc3", path = "../primitives" }
node-runtime = { version = "2.0.0-rc3", path = "../runtime" }
sc-executor = { version = "0.8.0-rc3", 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 @@ -11,7 +11,7 @@ repository = "https://github.com/paritytech/substrate/"
targets = ["x86_64-unknown-linux-gnu"]

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

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
frame-system = { version = "2.0.0-rc3", default-features = false, path = "../../../frame/system" }
sp-application-crypto = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/application-crypto" }
sp-core = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/core" }
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 @@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]

# third-party dependencies
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
integer-sqrt = { version = "0.1.2" }
serde = { version = "1.0.102", optional = true }
static_assertions = "1.1.0"
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 @@ -17,7 +17,7 @@ pallet-balances = { version = "2.0.0-rc3", path = "../../../frame/balances" }
sc-service = { version = "0.8.0-rc3", features = ["test-helpers", "db"], path = "../../../client/service" }
sc-client-db = { version = "0.8.0-rc3", path = "../../../client/db/", features = ["kvdb-rocksdb", "parity-db"] }
sc-client-api = { version = "2.0.0-rc3", path = "../../../client/api/" }
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
pallet-contracts = { version = "2.0.0-rc3", path = "../../../frame/contracts" }
pallet-grandpa = { version = "2.0.0-rc3", path = "../../../frame/grandpa" }
pallet-indices = { version = "2.0.0-rc3", path = "../../../frame/indices" }
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 @@ -22,7 +22,7 @@ tiny-bip39 = "0.7"
substrate-bip39 = "0.4.1"
hex = "0.4.0"
hex-literal = "0.2.1"
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
frame-system = { version = "2.0.0-rc3", path = "../../../frame/system" }
pallet-balances = { version = "2.0.0-rc3", path = "../../../frame/balances" }
pallet-transaction-payment = { version = "2.0.0-rc3", path = "../../../frame/transaction-payment" }
Expand Down
2 changes: 1 addition & 1 deletion client/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ documentation = "https://docs.rs/sc-client-api"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
sp-consensus = { version = "0.8.0-rc3", path = "../../primitives/consensus/common" }
derive_more = { version = "0.99.2" }
sc-executor = { version = "0.8.0-rc3", 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 @@ -17,7 +17,7 @@ prost-build = "0.6.1"

[dependencies]
bytes = "0.5.0"
codec = { package = "parity-scale-codec", default-features = false, version = "1.3.0" }
codec = { package = "parity-scale-codec", default-features = false, version = "1.3.1" }
derive_more = "0.99.2"
futures = "0.3.4"
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 @@ -12,7 +12,7 @@ description = "Basic implementation of block-authoring logic."
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
futures = "0.3.4"
futures-timer = "3.0.1"
log = "0.4.8"
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 @@ -21,7 +21,7 @@ sp-blockchain = { version = "2.0.0-rc3", path = "../../primitives/blockchain" }
sp-core = { version = "2.0.0-rc3", path = "../../primitives/core" }
sp-block-builder = { version = "2.0.0-rc3", path = "../../primitives/block-builder" }
sc-client-api = { version = "2.0.0-rc3", path = "../api" }
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }

[dev-dependencies]
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/aura/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sp-consensus-aura = { version = "0.8.0-rc3", path = "../../../primitives/consens
sp-block-builder = { version = "2.0.0-rc3", path = "../../../primitives/block-builder" }
sc-block-builder = { version = "0.8.0-rc3", path = "../../../client/block-builder" }
sc-client-api = { version = "2.0.0-rc3", path = "../../api" }
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
sp-consensus = { version = "0.8.0-rc3", path = "../../../primitives/consensus/common" }
derive_more = "0.99.2"
futures = "0.3.4"
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 @@ -13,7 +13,7 @@ documentation = "https://docs.rs/sc-consensus-babe"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
sp-consensus-babe = { version = "0.8.0-rc3", path = "../../../primitives/consensus/babe" }
sp-core = { version = "2.0.0-rc3", path = "../../../primitives/core" }
sp-application-crypto = { version = "2.0.0-rc3", 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 @@ -12,7 +12,7 @@ repository = "https://github.com/paritytech/substrate/"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
parking_lot = "0.10.0"
fork-tree = { version = "2.0.0-rc3", path = "../../../utils/fork-tree" }
sp-runtime = { path = "../../../primitives/runtime" , version = "2.0.0-rc3"}
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 @@ -12,7 +12,7 @@ repository = "https://github.com/paritytech/substrate/"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
sp-core = { version = "2.0.0-rc3", path = "../../../primitives/core" }
sp-blockchain = { version = "2.0.0-rc3", path = "../../../primitives/blockchain" }
sp-runtime = { version = "2.0.0-rc3", 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 @@ -13,7 +13,7 @@ repository = "https://github.com/paritytech/substrate/"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
sc-client-api = { version = "2.0.0-rc3", path = "../../api" }
sp-core = { version = "2.0.0-rc3", path = "../../../primitives/core" }
sp-application-crypto = { version = "2.0.0-rc3", path = "../../../primitives/application-crypto" }
Expand Down
2 changes: 1 addition & 1 deletion client/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ kvdb-memorydb = "0.6.0"
linked-hash-map = "0.5.2"
hash-db = "0.15.2"
parity-util-mem = { version = "0.6.1", default-features = false, features = ["std"] }
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
blake2-rfc = "0.2.18"

sc-client-api = { version = "2.0.0-rc3", path = "../api" }
Expand Down
2 changes: 1 addition & 1 deletion client/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
derive_more = "0.99.2"
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
sp-io = { version = "2.0.0-rc3", path = "../../primitives/io" }
sp-core = { version = "2.0.0-rc3", path = "../../primitives/core" }
sp-trie = { version = "2.0.0-rc3", 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 @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
log = "0.4.8"
derive_more = "0.99.2"
parity-wasm = "0.41.0"
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
wasmi = "0.6.2"
sp-core = { version = "2.0.0-rc3", path = "../../../primitives/core" }
sp-allocator = { version = "2.0.0-rc3", 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 @@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = "0.4.8"
wasmi = "0.6.2"
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
sc-executor-common = { version = "0.8.0-rc3", path = "../common" }
sp-wasm-interface = { version = "2.0.0-rc3", path = "../../../primitives/wasm-interface" }
sp-runtime-interface = { version = "2.0.0-rc3", 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 @@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
log = "0.4.8"
scoped-tls = "1.0"
parity-wasm = "0.41.0"
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
sc-executor-common = { version = "0.8.0-rc3", path = "../common" }
sp-wasm-interface = { version = "2.0.0-rc3", path = "../../../primitives/wasm-interface" }
sp-runtime-interface = { version = "2.0.0-rc3", 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 @@ -22,7 +22,7 @@ log = "0.4.8"
parking_lot = "0.10.0"
rand = "0.7.2"
assert_matches = "1.3.0"
parity-scale-codec = { version = "1.3.0", features = ["derive"] }
parity-scale-codec = { version = "1.3.1", features = ["derive"] }
sp-application-crypto = { version = "2.0.0-rc3", path = "../../primitives/application-crypto" }
sp-arithmetic = { version = "2.0.0-rc3", path = "../../primitives/arithmetic" }
sp-runtime = { version = "2.0.0-rc3", path = "../../primitives/runtime" }
Expand Down
2 changes: 1 addition & 1 deletion client/light/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sp-core = { version = "2.0.0-rc2", path = "../../primitives/core" }
sp-state-machine = { version = "0.8.0-rc2", path = "../../primitives/state-machine" }
sc-client-api = { version = "2.0.0-rc2", path = "../api" }
sp-api = { version = "2.0.0-rc2", path = "../../primitives/api" }
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
sc-executor = { version = "0.8.0-rc2", path = "../executor" }

[features]
Expand Down
2 changes: 1 addition & 1 deletion client/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ prost-build = "0.6.1"
bitflags = "1.2.0"
bs58 = "0.3.1"
bytes = "0.5.0"
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", 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 @@ -22,7 +22,7 @@ log = "0.4.8"
threadpool = "1.7"
num_cpus = "1.10"
sp-offchain = { version = "2.0.0-rc3", path = "../../primitives/offchain" }
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
parking_lot = "0.10.0"
sp-core = { version = "2.0.0-rc3", 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 @@ -12,7 +12,7 @@ description = "Substrate RPC interfaces."
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
derive_more = "0.99.2"
futures = { version = "0.3.1", features = ["compat"] }
jsonrpc-core = "14.2.0"
Expand Down
2 changes: 1 addition & 1 deletion client/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
sc-rpc-api = { version = "0.8.0-rc3", path = "../rpc-api" }
sc-client-api = { version = "2.0.0-rc3", path = "../api" }
sp-api = { version = "2.0.0-rc3", path = "../../primitives/api" }
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
futures = { version = "0.3.1", features = ["compat"] }
jsonrpc-pubsub = "14.2.0"
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 @@ -59,7 +59,7 @@ sc-light = { version = "2.0.0-rc3", path = "../light" }
sc-client-api = { version = "2.0.0-rc3", path = "../api" }
sp-api = { version = "2.0.0-rc3", path = "../../primitives/api" }
sc-client-db = { version = "0.8.0-rc3", default-features = false, path = "../db" }
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
sc-executor = { version = "0.8.0-rc3", path = "../executor" }
sc-transaction-pool = { version = "2.0.0-rc3", path = "../transaction-pool" }
sp-transaction-pool = { version = "2.0.0-rc3", path = "../../primitives/transaction-pool" }
Expand Down
2 changes: 1 addition & 1 deletion client/service/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ sc-client-api = { version = "2.0.0-rc3", path = "../../api" }
sc-block-builder = { version = "0.8.0-rc3", path = "../../block-builder" }
sc-executor = { version = "0.8.0-rc3", path = "../../executor" }
sp-panic-handler = { version = "2.0.0-rc3", path = "../../../primitives/panic-handler" }
parity-scale-codec = "1.3.0"
parity-scale-codec = "1.3.1"
2 changes: 1 addition & 1 deletion client/state-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parking_lot = "0.10.0"
log = "0.4.8"
sc-client-api = { version = "2.0.0-rc3", path = "../api" }
sp-core = { version = "2.0.0-rc3", path = "../../primitives/core" }
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
parity-util-mem = { version = "0.6.1", default-features = false, features = ["primitive-types"] }
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 @@ -12,7 +12,7 @@ description = "Substrate transaction pool implementation."
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
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 @@ -28,7 +28,7 @@ linked-hash-map = "0.5.2"

[dev-dependencies]
assert_matches = "1.3.0"
codec = { package = "parity-scale-codec", version = "1.3.0" }
codec = { package = "parity-scale-codec", version = "1.3.1" }
substrate-test-runtime = { version = "2.0.0-rc3", 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 @@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
serde = { version = "1.0.101", optional = true }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false }
# Needed for various traits. In our case, `OnFinalize`.
sp-runtime = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/runtime" }
# Needed for type-safe access to storage DB.
Expand Down
2 changes: 1 addition & 1 deletion frame/atomic-swap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
serde = { version = "1.0.101", optional = true }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false }
frame-support = { version = "2.0.0-rc3", default-features = false, path = "../support" }
frame-system = { version = "2.0.0-rc3", default-features = false, path = "../system" }
sp-runtime = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/runtime" }
Expand Down
2 changes: 1 addition & 1 deletion frame/aura/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
sp-application-crypto = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/application-crypto" }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
sp-inherents = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/inherents" }
sp-std = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/std" }
serde = { version = "1.0.101", optional = true }
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 @@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-authority-discovery = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/authority-discovery" }
sp-application-crypto = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/application-crypto" }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
sp-std = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/std" }
serde = { version = "1.0.101", optional = true }
pallet-session = { version = "2.0.0-rc3", features = ["historical" ], path = "../session", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion frame/authorship/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repository = "https://github.com/paritytech/substrate/"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
sp-inherents = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/inherents" }
sp-authorship = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/authorship" }
sp-std = { version = "2.0.0-rc3", 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 @@ -12,7 +12,7 @@ description = "Consensus extension module for BABE consensus. Collects on-chain
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.101", optional = true }
sp-inherents = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/inherents" }
sp-application-crypto = { version = "2.0.0-rc3", default-features = false, path = "../../primitives/application-crypto" }
Expand Down
Loading

0 comments on commit d0ab405

Please sign in to comment.