Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
2d597fc
Merkle Mountain Range pallet improvements (#7891)
tomusdrw Jan 28, 2021
64df2f9
Introduce a `Slot` type (#7997)
bkchr Jan 28, 2021
68d7157
Clarify and expand ProvideInherent docs (#7941)
JoshOrndorff Jan 28, 2021
ae3dabb
Introduce sc_peerset::DropReason (#7996)
tomaka Jan 29, 2021
a51a988
Doc fixes for sc-telemetry & API struct rename (#7934)
cecton Jan 29, 2021
1d5d13a
Fix telemetry span not entering properly & enter span in sc-cli (#7951)
cecton Jan 29, 2021
93b231e
Update parity-scale-codec to 2.0 (#7994)
gui1117 Jan 29, 2021
caff191
Test is_inherent_required (#8002)
4meta5 Jan 29, 2021
9659509
Sync: Fix issue of not freeing a block announcement slot (#8006)
bkchr Jan 29, 2021
a45e3f2
CI: return flaming fir deployment (#8007)
TriplEight Jan 29, 2021
30ec0be
chore: fix typos (#8013)
yjhmelody Feb 1, 2021
017a9a0
Fix tracing spans are not being forwarded to spawned task (#8009)
bkchr Feb 1, 2021
043cb0a
make AllModules public (#8017)
apopiak Feb 1, 2021
5a5f06e
client/network: Use request response for light client requests (#7895)
mxinden Feb 1, 2021
b7fc46d
relax translate closure to FnMut (#8019)
apopiak Feb 1, 2021
26f3d68
Remove outdated Grafana information (#8012)
tomaka Feb 1, 2021
b201d7c
contracts: Emit event on contract termination (#8014)
athei Feb 2, 2021
7cb5eed
Fix tracing tests (#8022)
bkchr Feb 2, 2021
aaf6598
contracts: Improve documentation (#8018)
athei Feb 2, 2021
d5b0856
Disable Kademlia random walk when --reserved-nodes is passed (#7999)
tomaka Feb 2, 2021
81ca765
Convert AURA to new pallet macro (#8020)
bkchr Feb 2, 2021
bc69520
Rename system_networkState to system_unstable_networkState (#8001)
tomaka Feb 2, 2021
075796f
Decouple the session validators from im-online (#7127)
liuchengxu Feb 2, 2021
c7f52d1
better formatting for doc comments (#8030)
JoshOrndorff Feb 2, 2021
5a94966
Add a send_request function to NetworkService (#8008)
eskimor Feb 2, 2021
56c64cf
Storage chains: serve transactions over IPFS/bitswap (#7963)
arkpar Feb 3, 2021
9d7b884
Improve log line (#8032)
tomaka Feb 3, 2021
2fb4534
Export `IfDisconnected` in public module. (#8034)
eskimor Feb 3, 2021
9b40d50
frame-system: Index type 'MaybeSerializeDeserialize' bound. (#8035)
shaunxw Feb 3, 2021
f80d23b
contracts: Make ChainExtension trait generic over the runtime (#8003)
athei Feb 3, 2021
840478a
AURA: Switch to `CurrentSlot` instead of `LastTimestamp` (#8023)
bkchr Feb 3, 2021
dc02c65
contracts: Charge rent for code storage (#7935)
athei Feb 4, 2021
169b16f
Migrate assets pallet to new macros (#7984)
dvdplm Feb 4, 2021
85c479f
babe, grandpa: cleanup stale equivocation reports (#8041)
andresilva Feb 4, 2021
05eb8d9
move some pallet test to use construct_runtime (#8049)
gui1117 Feb 4, 2021
6105169
Migrate more pallet tests to construct_runtime (#8051)
ascjones Feb 4, 2021
a675f9a
Update dependencies ahead of next release (#8015)
gnunicorn Feb 4, 2021
3c9b031
transaction-pool: drop unpropagable txs if local node cant author blo…
andresilva Feb 4, 2021
cc71cca
Fix some problems with `prove_warp_sync` (#8037)
expenses Feb 5, 2021
09ba69f
CheckSpecVersion reference fix (#8056)
al3mart Feb 5, 2021
f14488d
contracts: Remove ConfigCache (#8047)
athei Feb 5, 2021
26e9a11
Extend SS58 network identifiers (#8039)
gavofyork Feb 6, 2021
0b719f8
Use construct_runtime in tests (#8059)
gui1117 Feb 6, 2021
bbc7b0e
Bump wasmtime from 0.19.0 to 0.22.0 (#7865)
dependabot[bot] Feb 8, 2021
29aca98
Remove backwards-compatibility networking hack (#8068)
tomaka Feb 8, 2021
07a5f29
Switch to latest `impl-trait-for-tuples` (#8082)
bkchr Feb 9, 2021
66cfa92
Add Crust Network SS58 Address (#8064)
badkk Feb 9, 2021
077c480
Add Ares SS58 address type (#8061)
jiyilanzhou Feb 9, 2021
273bc7b
Replace last usages of `<() as PalletInfo>` in substrate (#8080)
gui1117 Feb 9, 2021
4777aba
Remove PalletInfo impl for () (#8090)
ascjones Feb 9, 2021
48e9d49
WasmExecutor takes a cache directory (#8057)
pepyakin Feb 9, 2021
9c5da5c
Add Aventus ss58 address (#8050)
nahuseyoum Feb 9, 2021
28b950e
sc-network: switch on default features for libp2p on non-wasm-builds …
gnunicorn Feb 10, 2021
91a7418
pallet macro: easier syntax for `#[pallet::pallet]` with `struct Pall…
gui1117 Feb 10, 2021
90c9706
Pallet attribute macro migrate guidelines minor fixes (#8094)
shaunxw Feb 10, 2021
90bb153
Switch to use `diener patch` for companion build (#8073)
bkchr Feb 10, 2021
22441aa
Migrate pallet-balances to pallet attribute macro (#7936)
ascjones Feb 10, 2021
ce018b8
babe, grandpa: set longevity for equivocation report transactions (#8…
andresilva Feb 10, 2021
ba290e0
Migrate pallet-timestamp to pallet attribute macro. (#8078)
shaunxw Feb 10, 2021
12562bb
Use log level error to report telemetry (#8097)
cecton Feb 10, 2021
49a4103
Releasing 3.0 (#8098)
gnunicorn Feb 10, 2021
3957f43
[CI] Move check_labels to github actions (#8099)
s3krit Feb 11, 2021
27c03f2
Update sc-finality-grandp-warp-sync to 0.9.0 and remove 'publish = fa…
expenses Feb 12, 2021
4e50238
Remove all code related to sentry nodes (#8079)
tomaka Feb 15, 2021
386914e
Add code blocks to doc diagrams (#8118)
shawntabrizi Feb 15, 2021
13b6998
Simplify runtime api error handling (#8114)
bkchr Feb 15, 2021
171ad23
CI: temp. allow cargo deny to fail (#8122)
TriplEight Feb 15, 2021
da6b3e2
Update Grafana dashboards (#8127)
tomaka Feb 15, 2021
e03ca38
grandpa: make the VotingRule API async (#8101)
andresilva Feb 15, 2021
d054593
Create a macro which automates creation of benchmark test suites. (#8…
coriolinus Feb 16, 2021
5e8df39
Move dust collection hook to outside of account mutate (#8087)
gavofyork Feb 16, 2021
fb1b15c
fix deprecated usage of panic (#8134)
gui1117 Feb 16, 2021
7d2de01
Remove inherent in pallet-babe (#8124)
gui1117 Feb 16, 2021
743accb
Fix telemetry span not entering properly attempt 3 (#8043)
cecton Feb 17, 2021
cd11670
Unbreak browser test CI (#8149)
tomaka Feb 18, 2021
75a2d29
Benchmark macro: Allow multiple bounds in where (#8116)
weichweich Feb 18, 2021
ca63242
Make it clear in CLI that paritydb is experimental (#8152)
bkchr Feb 18, 2021
2c99434
Extract transactions handling from protocol.rs (#8110)
tomaka Feb 18, 2021
f53d72f
Remove `OnSlot` associated type (#8156)
bkchr Feb 18, 2021
1c842c4
Fix warning in rustdoc job (#8159)
bkchr Feb 19, 2021
9029ab0
CI: test and update ci image, codeowners (#8142)
TriplEight Feb 19, 2021
394c52e
Migration testing runtime API/Bot (#8038)
kianenigma Feb 19, 2021
3c1c49e
Ensure we spawn the block import worker as an essential task (#8155)
bkchr Feb 19, 2021
e808d14
Update to libp2p-0.35.1 (#8141)
romanb Feb 22, 2021
824adac
contracts: Consider contract size in weights (#8086)
athei Feb 22, 2021
11e879f
Allow `transfer_keep_alive` to transfer all free balance (#8125)
gui1117 Feb 22, 2021
fd88fbf
Migrate examples to use pallet macro (#8138)
gui1117 Feb 22, 2021
5949485
Make keystore return `None` when a key doesn't exist (#8163)
bkchr Feb 22, 2021
4f9ee57
contracts: Convert to framev2 macros (#8157)
athei Feb 22, 2021
061ff5d
Fix: stash account reaped when ledger.active == ED (#8170)
gui1117 Feb 22, 2021
2237564
Bump thread_local (#8174)
arkpar Feb 22, 2021
528c14b
Return number of keys removed when calling `storage_kill` on child tr…
shawntabrizi Feb 22, 2021
904495b
Make Regex in ss58codec and secret phrase crypto static (#8117) (#8177)
anvie Feb 22, 2021
e6ac7e7
Add a Prometheus alert on no incoming connection (#7517)
tomaka Feb 23, 2021
27e1f89
Bump lru dependency (#8182)
tomaka Feb 23, 2021
1c434cd
Decouple Staking and Election - Part 2 Unsigned Phase (#7909)
kianenigma Feb 23, 2021
ad8c585
Remove suicide from frame_system weights (#8184)
s3krit Feb 23, 2021
c736c60
Reserve ss58 prefix 48 for Neatcoin (#8165)
sorpaas Feb 23, 2021
8643b9d
Make `on_slot` return the block with the post header (#8188)
bkchr Feb 24, 2021
6bd9aad
[multisig, insubstantial] WeightTooLow -> MaxWeightTooLow (#8112)
Feb 24, 2021
1db5108
Update lib.rs (#8192)
kianenigma Feb 24, 2021
61b1eb8
Fix transactions not being propagated to authorities (#8212)
tomaka Feb 26, 2021
76ce4dc
Merge remote-tracking branch 'upstream/polkadot-v0.8.29' into feature…
MRamanenkau Sep 7, 2022
177de33
Fixes after merge
MRamanenkau Sep 7, 2022
6703bd9
Use actual ddc-pallet
MRamanenkau Sep 7, 2022
e86ec81
Update ddc-pallet
MRamanenkau Sep 7, 2022
4bd527a
Update codec versions
MRamanenkau Sep 7, 2022
46870a5
Fix issue with getrandom
MRamanenkau Sep 7, 2022
f9e76d5
Add PalletInfo implementation
MRamanenkau Sep 8, 2022
45487ea
Fix ddc-metrics-offchain-worker
MRamanenkau Sep 8, 2022
f015dc8
Add PalletInfo implementation in erc721
MRamanenkau Sep 8, 2022
92cfcc4
Fix remining issues with tests
MRamanenkau Sep 8, 2022
2e17c3f
Fix path to binary
MRamanenkau Sep 8, 2022
d31bd2a
Update ddc pallet
MRamanenkau Sep 9, 2022
ad98d51
Fix bridge tests
MRamanenkau Sep 9, 2022
4224d54
Use constract_runtime! in ddc-metrics-offchain-worker
MRamanenkau Sep 9, 2022
86e82fd
Fix PalletInfo in erc721
MRamanenkau Sep 9, 2022
6b09ce6
Update ddc-pallet
MRamanenkau Sep 9, 2022
b1cd98a
Adjust max wasm code size
MRamanenkau Sep 10, 2022
38c9954
Update MaxCodeSize
MRamanenkau Sep 12, 2022
c903063
Add release notes
MRamanenkau Sep 12, 2022
a1040cb
Remove old commented code
MRamanenkau Sep 13, 2022
dbf947c
Merge branch 'feature/update-to-polkadot-v0-8-28' into feature/update…
MRamanenkau Nov 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update parity-scale-codec to 2.0 (paritytech#7994)
* update cargo.toml

* use 2.0 in mmmr
  • Loading branch information
gui1117 authored Jan 29, 2021
commit 93b231e79f5b4e551c34234e89fa4a2e5e9c1510
219 changes: 76 additions & 143 deletions Cargo.lock

Large diffs are not rendered by default.

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 @@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

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

[dev-dependencies]
serde = { version = "1.0.101" }
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.6", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }

pallet-aura = { version = "2.0.0", default-features = false, path = "../../../frame/aura" }
pallet-balances = { version = "2.0.0", default-features = false, path = "../../../frame/balances" }
Expand Down
6 changes: 3 additions & 3 deletions bin/node/bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ serde = "1.0.101"
serde_json = "1.0.41"
structopt = "0.3"
derive_more = "0.99.2"
kvdb = "0.8.0"
kvdb-rocksdb = "0.10.0"
kvdb = "0.9.0"
kvdb-rocksdb = "0.11.0"
sp-trie = { version = "2.0.0", path = "../../../primitives/trie" }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common" }
Expand All @@ -37,7 +37,7 @@ fs_extra = "1"
hex = "0.4.0"
rand = { version = "0.7.2", features = ["small_rng"] }
lazy_static = "1.4.0"
parity-util-mem = { version = "0.8.0", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.9.0", default-features = false, features = ["primitive-types"] }
parity-db = { version = "0.1.2" }
sc-transaction-pool = { version = "2.0.0", path = "../../../client/transaction-pool" }
futures = { version = "0.3.4", features = ["thread-pool"] }
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.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
serde = { version = "1.0.102", features = ["derive"] }
futures = { version = "0.3.9", features = ["compat"] }
hex-literal = "0.3.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.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
node-primitives = { version = "2.0.0", path = "../primitives" }
node-runtime = { version = "2.0.0", path = "../runtime" }
sc-executor = { version = "0.8.0", 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.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
derive_more = "0.99"
log = "0.4.8"
sc-cli = { version = "0.8.0", 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.6", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
frame-system = { version = "2.0.0", default-features = false, path = "../../../frame/system" }
sp-application-crypto = { version = "2.0.0", default-features = false, path = "../../../primitives/application-crypto" }
sp-core = { version = "2.0.0", 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.6", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.102", optional = true }
static_assertions = "1.1.0"
hex-literal = { version = "0.3.1", 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 @@ -17,7 +17,7 @@ pallet-balances = { version = "2.0.0", path = "../../../frame/balances" }
sc-service = { version = "0.8.0", features = ["test-helpers", "db"], path = "../../../client/service" }
sc-client-db = { version = "0.8.0", path = "../../../client/db/", features = ["kvdb-rocksdb", "parity-db"] }
sc-client-api = { version = "2.0.0", path = "../../../client/api/" }
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
pallet-contracts = { version = "2.0.0", path = "../../../frame/contracts" }
pallet-grandpa = { version = "2.0.0", path = "../../../frame/grandpa" }
pallet-indices = { version = "2.0.0", path = "../../../frame/indices" }
Expand Down
6 changes: 3 additions & 3 deletions client/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.6", default-features = false, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
sp-consensus = { version = "0.8.0", path = "../../primitives/consensus/common" }
derive_more = "0.99.2"
sc-executor = { version = "0.8.0", path = "../executor" }
Expand All @@ -24,7 +24,7 @@ futures = "0.3.1"
hash-db = { version = "0.15.2", default-features = false }
sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
sp-inherents = { version = "2.0.0", default-features = false, path = "../../primitives/inherents" }
kvdb = "0.8.0"
kvdb = "0.9.0"
log = "0.4.8"
parking_lot = "0.11.1"
lazy_static = "1.4.0"
Expand All @@ -43,7 +43,7 @@ sp-transaction-pool = { version = "2.0.0", path = "../../primitives/transaction-
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.8.0", path = "../../utils/prometheus" }

[dev-dependencies]
kvdb-memorydb = "0.8.0"
kvdb-memorydb = "0.9.0"
sp-test-primitives = { version = "2.0.0", path = "../../primitives/test-primitives" }
substrate-test-runtime = { version = "2.0.0", path = "../../test-utils/runtime" }
thiserror = "1.0.21"
2 changes: 1 addition & 1 deletion client/api/src/execution_extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl<Block: traits::Block> offchain::TransactionPool for TransactionPoolAdapter<
let xt = match Block::Extrinsic::decode(&mut &*data) {
Ok(xt) => xt,
Err(e) => {
log::warn!("Unable to decode extrinsic: {:?}: {}", data, e.what());
log::warn!("Unable to decode extrinsic: {:?}: {}", data, e);
return Err(());
},
};
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 @@ -18,7 +18,7 @@ prost-build = "0.7"

[dependencies]
async-trait = "0.1"
codec = { package = "parity-scale-codec", default-features = false, version = "1.3.6" }
codec = { package = "parity-scale-codec", default-features = false, version = "2.0.0" }
derive_more = "0.99.2"
either = "1.5.3"
futures = "0.3.9"
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 @@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
futures = "0.3.9"
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 @@ -23,7 +23,7 @@ sp-core = { version = "2.0.0", path = "../../primitives/core" }
sp-block-builder = { version = "2.0.0", path = "../../primitives/block-builder" }
sp-inherents = { version = "2.0.0", path = "../../primitives/inherents" }
sc-client-api = { version = "2.0.0", path = "../api" }
codec = { package = "parity-scale-codec", version = "1.3.6", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"] }

[dev-dependencies]
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
Expand Down
2 changes: 1 addition & 1 deletion client/chain-spec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ serde_json = "1.0.41"
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
sp-chain-spec = { version = "2.0.0", path = "../../primitives/chain-spec" }
sc-telemetry = { version = "2.0.0", path = "../telemetry" }
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
sc-consensus-babe = { version = "0.8.0-rc6", path = "../consensus/babe" }
sp-consensus-babe = { version = "0.8.0-rc6", path = "../../primitives/consensus/babe" }
sc-consensus-epochs = { version = "0.8.0-rc6", path = "../consensus/epochs" }
Expand Down
2 changes: 1 addition & 1 deletion client/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tokio = { version = "0.2.21", features = [ "signal", "rt-core", "rt-threaded", "
futures = "0.3.9"
fdlimit = "0.2.1"
libp2p = "0.34.0"
parity-scale-codec = "1.3.6"
parity-scale-codec = "2.0.0"
hex = "0.4.2"
rand = "0.7.3"
tiny-bip39 = "0.8.0"
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 @@ -18,7 +18,7 @@ sp-consensus-aura = { version = "0.8.0", path = "../../../primitives/consensus/a
sp-block-builder = { version = "2.0.0", path = "../../../primitives/block-builder" }
sc-block-builder = { version = "0.8.0", path = "../../block-builder" }
sc-client-api = { version = "2.0.0", path = "../../api" }
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common" }
sp-consensus-slots = { version = "0.8.0", path = "../../../primitives/consensus/slots" }
derive_more = "0.99.2"
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 @@ -14,7 +14,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.6", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"] }
sp-consensus-babe = { version = "0.8.0", path = "../../../primitives/consensus/babe" }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-application-crypto = { version = "2.0.0", path = "../../../primitives/application-crypto" }
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/babe/src/aux_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn load_decode<B, T>(backend: &B, key: &[u8]) -> ClientResult<Option<T>>
T: Decode,
{
let corrupt = |e: codec::Error| {
ClientError::Backend(format!("BABE DB is corrupted. Decode error: {}", e.what()))
ClientError::Backend(format!("BABE DB is corrupted. Decode error: {}", e))
};
match backend.get_aux(key)? {
None => Ok(None),
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 @@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.6", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"] }
parking_lot = "0.11.1"
fork-tree = { version = "2.0.0", path = "../../../utils/fork-tree" }
sp-runtime = { path = "../../../primitives/runtime" , version = "2.0.0"}
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/manual-seal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jsonrpc-core-client = "15.1.0"
jsonrpc-derive = "15.1.0"
log = "0.4.8"
parking_lot = "0.11.1"
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
serde = { version = "1.0", features=["derive"] }
assert_matches = "1.3.0"

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 @@ -13,7 +13,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.6", features = ["derive"] }
codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"] }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
sp-runtime = { version = "2.0.0", 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 @@ -14,7 +14,7 @@ readme = "README.md"
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
sc-client-api = { version = "2.0.0", path = "../../api" }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-trie = { version = "2.0.0", path = "../../../primitives/trie" }
Expand Down
2 changes: 1 addition & 1 deletion client/consensus/slots/src/aux_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn load_decode<C, T>(backend: &C, key: &[u8]) -> ClientResult<Option<T>>
None => Ok(None),
Some(t) => T::decode(&mut &t[..])
.map_err(
|e| ClientError::Backend(format!("Slots DB is corrupted. Decode error: {}", e.what())),
|e| ClientError::Backend(format!("Slots DB is corrupted. Decode error: {}", e)),
)
.map(Some)
}
Expand Down
12 changes: 6 additions & 6 deletions client/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
parking_lot = "0.11.1"
log = "0.4.8"
kvdb = "0.8.0"
kvdb-rocksdb = { version = "0.10.0", optional = true }
kvdb-memorydb = "0.8.0"
kvdb = "0.9.0"
kvdb-rocksdb = { version = "0.11.0", optional = true }
kvdb-memorydb = "0.9.0"
linked-hash-map = "0.5.2"
hash-db = "0.15.2"
parity-util-mem = { version = "0.8.0", default-features = false, features = ["std"] }
codec = { package = "parity-scale-codec", version = "1.3.6", features = ["derive"] }
parity-util-mem = { version = "0.9.0", default-features = false, features = ["std"] }
codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"] }
blake2-rfc = "0.2.18"

sc-client-api = { version = "2.0.0", path = "../api" }
Expand All @@ -43,7 +43,7 @@ sp-keyring = { version = "2.0.0", path = "../../primitives/keyring" }
sp-tracing = { version = "2.0.0", path = "../../primitives/tracing" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
quickcheck = "0.9"
kvdb-rocksdb = "0.10.0"
kvdb-rocksdb = "0.11.0"
tempfile = "3"

[features]
Expand Down
2 changes: 1 addition & 1 deletion client/executor/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]
derive_more = "0.99.2"
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
sp-io = { version = "2.0.0", path = "../../primitives/io" }
sp-core = { version = "2.0.0", path = "../../primitives/core" }
sp-tasks = { version = "2.0.0", path = "../../primitives/tasks" }
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"]
[dependencies]
derive_more = "0.99.2"
parity-wasm = "0.41.0"
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
wasmi = "0.6.2"
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-allocator = { version = "2.0.0", 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 @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
log = "0.4.8"
wasmi = "0.6.2"
codec = { package = "parity-scale-codec", version = "1.3.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
sc-executor-common = { version = "0.8.0", path = "../common" }
sp-wasm-interface = { version = "2.0.0", path = "../../../primitives/wasm-interface" }
sp-runtime-interface = { version = "2.0.0", 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 @@ -16,7 +16,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.6" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
sc-executor-common = { version = "0.8.0", path = "../common" }
sp-wasm-interface = { version = "2.0.0", path = "../../../primitives/wasm-interface" }
sp-runtime-interface = { version = "2.0.0", path = "../../../primitives/runtime-interface" }
Expand Down
2 changes: 1 addition & 1 deletion client/finality-grandpa-warp-sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sc-service = { version = "0.8.0", path = "../service" }
futures = "0.3.8"
log = "0.4.11"
derive_more = "0.99.11"
codec = { package = "parity-scale-codec", version = "1.3.5" }
codec = { package = "parity-scale-codec", version = "2.0.0" }
prost = "0.6.1"
num-traits = "0.2.14"
parking_lot = "0.11.1"
6 changes: 3 additions & 3 deletions client/finality-grandpa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ futures-timer = "3.0.1"
log = "0.4.8"
parking_lot = "0.11.1"
rand = "0.7.2"
parity-scale-codec = { version = "1.3.6", features = ["derive"] }
parity-scale-codec = { version = "2.0.0", features = ["derive"] }
sp-application-crypto = { version = "2.0.0", path = "../../primitives/application-crypto" }
sp-arithmetic = { version = "2.0.0", path = "../../primitives/arithmetic" }
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
Expand All @@ -43,13 +43,13 @@ sc-network-gossip = { version = "0.8.0", path = "../network-gossip" }
sp-finality-grandpa = { version = "2.0.0", path = "../../primitives/finality-grandpa" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0"}
sc-block-builder = { version = "0.8.0", path = "../block-builder" }
finality-grandpa = { version = "0.12.3", features = ["derive-codec"] }
finality-grandpa = { version = "0.13.0", features = ["derive-codec"] }
pin-project = "0.4.6"
linked-hash-map = "0.5.2"

[dev-dependencies]
assert_matches = "1.3.0"
finality-grandpa = { version = "0.12.3", features = ["derive-codec", "test-helpers"] }
finality-grandpa = { version = "0.13.0", features = ["derive-codec", "test-helpers"] }
sc-network = { version = "0.8.0", path = "../network" }
sc-network-test = { version = "0.8.0", path = "../network/test" }
sp-keyring = { version = "2.0.0", path = "../../primitives/keyring" }
Expand Down
4 changes: 2 additions & 2 deletions client/finality-grandpa/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sc-rpc = { version = "2.0.0", path = "../../rpc" }
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
sp-core = { version = "2.0.0", path = "../../../primitives/core" }
sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
finality-grandpa = { version = "0.12.3", features = ["derive-codec"] }
finality-grandpa = { version = "0.13.0", features = ["derive-codec"] }
jsonrpc-core = "15.1.0"
jsonrpc-core-client = "15.1.0"
jsonrpc-derive = "15.1.0"
Expand All @@ -24,7 +24,7 @@ serde = { version = "1.0.105", features = ["derive"] }
serde_json = "1.0.50"
log = "0.4.8"
derive_more = "0.99.2"
parity-scale-codec = { version = "1.3.6", features = ["derive"] }
parity-scale-codec = { version = "2.0.0", features = ["derive"] }
sc-client-api = { version = "2.0.0", path = "../../api" }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion client/finality-grandpa/src/aux_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub(crate) fn load_decode<B: AuxStore, T: Decode>(
match backend.get_aux(key)? {
None => Ok(None),
Some(t) => T::decode(&mut &t[..])
.map_err(|e| ClientError::Backend(format!("GRANDPA DB is corrupted: {}", e.what())))
.map_err(|e| ClientError::Backend(format!("GRANDPA DB is corrupted: {}", e)))
.map(Some)
}
}
Expand Down
4 changes: 2 additions & 2 deletions client/finality-grandpa/src/communication/gossip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ pub(super) struct NeighborPacket<N> {
/// A versioned neighbor packet.
#[derive(Debug, Encode, Decode)]
pub(super) enum VersionedNeighborPacket<N> {
#[codec(index = "1")]
#[codec(index = 1)]
V1(NeighborPacket<N>),
}

Expand Down Expand Up @@ -1415,7 +1415,7 @@ impl<Block: BlockT> GossipValidator<Block> {
}
Err(e) => {
message_name = None;
debug!(target: "afg", "Error decoding message: {}", e.what());
debug!(target: "afg", "Error decoding message: {}", e);
telemetry!(CONSENSUS_DEBUG; "afg.err_decoding_msg"; "" => "");

let len = std::cmp::min(i32::max_value() as usize, data.len()) as i32;
Expand Down
2 changes: 1 addition & 1 deletion client/informant/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
ansi_term = "0.12.1"
futures = "0.3.9"
log = "0.4.8"
parity-util-mem = { version = "0.8.0", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.9.0", default-features = false, features = ["primitive-types"] }
sc-client-api = { version = "2.0.0", path = "../api" }
sc-network = { version = "0.8.0", path = "../network" }
sp-blockchain = { version = "2.0.0", path = "../../primitives/blockchain" }
Expand Down
Loading