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

Commit d0ab405

Browse files
authored
Validate encoding of extrinsics passed to runtime (#6442)
* Validate encoding of extrinsics passed to runtime * Bump codec version explicitly
1 parent 9cbda1e commit d0ab405

File tree

131 files changed

+141
-134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+141
-134
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node-template/pallets/template/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "FRAME pallet template"
1212
targets = ["x86_64-unknown-linux-gnu"]
1313

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

1717
[dependencies.frame-support]
1818
default-features = false

bin/node-template/runtime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/paritytech/substrate/"
1111
targets = ["x86_64-unknown-linux-gnu"]
1212

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

1616
aura = { version = "2.0.0-rc3", default-features = false, package = "pallet-aura", path = "../../../frame/aura" }
1717
balances = { version = "2.0.0-rc3", default-features = false, package = "pallet-balances", path = "../../../frame/balances" }

bin/node/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ crate-type = ["cdylib", "rlib"]
3434

3535
[dependencies]
3636
# third-party dependencies
37-
codec = { package = "parity-scale-codec", version = "1.3.0" }
37+
codec = { package = "parity-scale-codec", version = "1.3.1" }
3838
serde = { version = "1.0.102", features = ["derive"] }
3939
futures = { version = "0.3.1", features = ["compat"] }
4040
hex-literal = "0.2.1"

bin/node/executor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repository = "https://github.com/paritytech/substrate/"
1212
targets = ["x86_64-unknown-linux-gnu"]
1313

1414
[dependencies]
15-
codec = { package = "parity-scale-codec", version = "1.3.0" }
15+
codec = { package = "parity-scale-codec", version = "1.3.1" }
1616
node-primitives = { version = "2.0.0-rc3", path = "../primitives" }
1717
node-runtime = { version = "2.0.0-rc3", path = "../runtime" }
1818
sc-executor = { version = "0.8.0-rc3", path = "../../../client/executor" }

bin/node/inspect/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/paritytech/substrate/"
1111
targets = ["x86_64-unknown-linux-gnu"]
1212

1313
[dependencies]
14-
codec = { package = "parity-scale-codec", version = "1.3.0" }
14+
codec = { package = "parity-scale-codec", version = "1.3.1" }
1515
derive_more = "0.99"
1616
log = "0.4.8"
1717
sc-cli = { version = "0.8.0-rc3", path = "../../../client/cli" }

bin/node/primitives/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/paritytech/substrate/"
1111
targets = ["x86_64-unknown-linux-gnu"]
1212

1313
[dependencies]
14-
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
14+
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
1515
frame-system = { version = "2.0.0-rc3", default-features = false, path = "../../../frame/system" }
1616
sp-application-crypto = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/application-crypto" }
1717
sp-core = { version = "2.0.0-rc3", default-features = false, path = "../../../primitives/core" }

bin/node/runtime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1414
[dependencies]
1515

1616
# third-party dependencies
17-
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
17+
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
1818
integer-sqrt = { version = "0.1.2" }
1919
serde = { version = "1.0.102", optional = true }
2020
static_assertions = "1.1.0"

bin/node/testing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pallet-balances = { version = "2.0.0-rc3", path = "../../../frame/balances" }
1717
sc-service = { version = "0.8.0-rc3", features = ["test-helpers", "db"], path = "../../../client/service" }
1818
sc-client-db = { version = "0.8.0-rc3", path = "../../../client/db/", features = ["kvdb-rocksdb", "parity-db"] }
1919
sc-client-api = { version = "2.0.0-rc3", path = "../../../client/api/" }
20-
codec = { package = "parity-scale-codec", version = "1.3.0" }
20+
codec = { package = "parity-scale-codec", version = "1.3.1" }
2121
pallet-contracts = { version = "2.0.0-rc3", path = "../../../frame/contracts" }
2222
pallet-grandpa = { version = "2.0.0-rc3", path = "../../../frame/grandpa" }
2323
pallet-indices = { version = "2.0.0-rc3", path = "../../../frame/indices" }

bin/utils/subkey/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tiny-bip39 = "0.7"
2222
substrate-bip39 = "0.4.1"
2323
hex = "0.4.0"
2424
hex-literal = "0.2.1"
25-
codec = { package = "parity-scale-codec", version = "1.3.0" }
25+
codec = { package = "parity-scale-codec", version = "1.3.1" }
2626
frame-system = { version = "2.0.0-rc3", path = "../../../frame/system" }
2727
pallet-balances = { version = "2.0.0-rc3", path = "../../../frame/balances" }
2828
pallet-transaction-payment = { version = "2.0.0-rc3", path = "../../../frame/transaction-payment" }

0 commit comments

Comments
 (0)