Skip to content

Commit

Permalink
polkadot-v1.12.0 (#395)
Browse files Browse the repository at this point in the history
* psvm -v "1.12.0"

* fix fmt with newest nightly

* bump crate versions

* cargo update
  • Loading branch information
clangenb authored Jun 13, 2024
1 parent 67ffcfb commit 71d23eb
Show file tree
Hide file tree
Showing 28 changed files with 1,424 additions and 1,146 deletions.
2,438 changes: 1,358 additions & 1,080 deletions Cargo.lock

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ members = [

[workspace.dependencies]
# local pin
encointer-ceremonies-assignment = { path = "ceremonies/assignment", default-features = false, version = "10.1.0" }
encointer-meetup-validation = { path = "ceremonies/meetup-validation", default-features = false, version = "10.1.0" }
encointer-primitives = { path = "primitives", default-features = false, features = ["serde_derive"], version = "10.1.0" }
encointer-rpc = { path = "rpc", version = "10.1.0" }
ep-core = { path = "primitives/core", default-features = false, version = "10.0.0" }
pallet-encointer-balances = { path = "balances", default-features = false, version = "10.1.0" }
pallet-encointer-ceremonies = { path = "ceremonies", default-features = false, version = "10.1.0" }
pallet-encointer-communities = { path = "communities", default-features = false, version = "10.1.0" }
pallet-encointer-reputation-commitments = { path = "reputation-commitments", default-features = false, version = "10.1.0" }
pallet-encointer-scheduler = { path = "scheduler", default-features = false, version = "10.1.0" }
encointer-ceremonies-assignment = { path = "ceremonies/assignment", default-features = false, version = "11.1.0" }
encointer-meetup-validation = { path = "ceremonies/meetup-validation", default-features = false, version = "11.1.0" }
encointer-primitives = { path = "primitives", default-features = false, features = ["serde_derive"], version = "11.1.0" }
encointer-rpc = { path = "rpc", version = "11.1.0" }
ep-core = { path = "primitives/core", default-features = false, version = "11.0.0" }
pallet-encointer-balances = { path = "balances", default-features = false, version = "11.1.0" }
pallet-encointer-ceremonies = { path = "ceremonies", default-features = false, version = "11.1.0" }
pallet-encointer-communities = { path = "communities", default-features = false, version = "11.1.0" }
pallet-encointer-reputation-commitments = { path = "reputation-commitments", default-features = false, version = "11.1.0" }
pallet-encointer-scheduler = { path = "scheduler", default-features = false, version = "11.1.0" }
test-utils = { path = "test-utils" }
# rpc apis
encointer-balances-tx-payment-rpc-runtime-api = { path = "balances-tx-payment/rpc/runtime-api", version = "10.1.0" }
pallet-encointer-bazaar-rpc-runtime-api = { path = "bazaar/rpc/runtime-api", version = "10.1.0" }
pallet-encointer-ceremonies-rpc-runtime-api = { path = "ceremonies/rpc/runtime-api", version = "10.1.0" }
pallet-encointer-communities-rpc-runtime-api = { path = "communities/rpc/runtime-api", version = "10.1.0" }
encointer-balances-tx-payment-rpc-runtime-api = { path = "balances-tx-payment/rpc/runtime-api", version = "11.1.0" }
pallet-encointer-bazaar-rpc-runtime-api = { path = "bazaar/rpc/runtime-api", version = "11.1.0" }
pallet-encointer-ceremonies-rpc-runtime-api = { path = "ceremonies/rpc/runtime-api", version = "11.1.0" }
pallet-encointer-communities-rpc-runtime-api = { path = "communities/rpc/runtime-api", version = "11.1.0" }

# various
array-bytes = "6.1.0"
Expand All @@ -61,40 +61,40 @@ serde = { version = "1.0.197", default-features = false, features = ["derive", "
thiserror = "1.0.50"

# polkadot-sdk [no_std]
frame-benchmarking = { version = "33.0.0", default-features = false }
frame-support = { version = "33.0.0", default-features = false }
frame-system = { version = "33.0.0", default-features = false }
pallet-asset-tx-payment = { version = "33.0.0", default-features = false }
pallet-balances = { version = "34.0.0", default-features = false }
pallet-timestamp = { version = "32.0.0", default-features = false }
pallet-transaction-payment = { version = "33.0.0", default-features = false }
pallet-treasury = { version = "32.0.0", default-features = false }
sp-api = { version = "31.0.0", default-features = false }
sp-application-crypto = { version = "35.0.0", default-features = false }
frame-benchmarking = { version = "34.0.0", default-features = false }
frame-support = { version = "34.0.0", default-features = false }
frame-system = { version = "34.0.1", default-features = false }
pallet-asset-tx-payment = { version = "34.0.0", default-features = false }
pallet-balances = { version = "35.0.0", default-features = false }
pallet-timestamp = { version = "33.0.0", default-features = false }
pallet-transaction-payment = { version = "34.0.0", default-features = false }
pallet-treasury = { version = "33.0.0", default-features = false }
sp-api = { version = "32.0.0", default-features = false }
sp-application-crypto = { version = "36.0.0", default-features = false }
sp-arithmetic = { version = "26.0.0", default-features = false }
sp-core = { version = "32.0.0", default-features = false }
sp-io = { version = "35.0.0", default-features = false }
sp-runtime = { version = "36.0.0", default-features = false }
sp-core = { version = "33.0.1", default-features = false }
sp-io = { version = "36.0.0", default-features = false }
sp-runtime = { version = "37.0.0", default-features = false }
sp-std = { version = "14.0.0", default-features = false }

# rpc stuff [std]
jsonrpsee = { version = "0.22.0", features = ["client-core", "server", "macros"] }
jsonrpsee-core = { version = "0.22.0" }
jsonrpsee-types = { version = "0.22.0" }
pallet-transaction-payment-rpc = { version = "35.0.0" }
sc-rpc = "34.0.0"
sc-rpc-api = "0.38.0"
sp-blockchain = "33.0.0"
sp-rpc = "30.0.0"
jsonrpsee = { version = "0.22.5", features = ["client-core", "server", "macros"] }
jsonrpsee-core = { version = "0.22.5" }
jsonrpsee-types = { version = "0.22.5" }
pallet-transaction-payment-rpc = { version = "36.0.0" }
sc-rpc = "35.0.0"
sc-rpc-api = "0.39.0"
sp-blockchain = "34.0.0"
sp-rpc = "31.0.0"

# dev deps
approx = "0.5.1"
itertools = "0.10.5"
itertools = "0.11.0"
rstest = "0.12.0"
serde_json = "1.0.114"
sp-inherents = "31.0.0"
sp-keyring = "36.0.0"
sp-keystore = "0.38.0"
sp-inherents = "32.0.0"
sp-keyring = "37.0.0"
sp-keystore = "0.39.0"

#[patch."https://github.com/encointer/substrate-fixed"]
#substrate-fixed = { path = "../substrate-fixed"}
Expand Down
2 changes: 1 addition & 1 deletion balances-tx-payment/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "encointer-balances-tx-payment"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Balances tx payment for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion balances-tx-payment/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "encointer-balances-tx-payment-rpc"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Balances tx payment rpc for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion balances-tx-payment/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "encointer-balances-tx-payment-rpc-runtime-api"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Balances tx payment rpc runtime api for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion balances/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-balances"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Balances pallet for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion bazaar/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-bazaar"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Bazaar pallet for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion bazaar/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-bazaar-rpc"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Bazaar rpc for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion bazaar/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-bazaar-rpc-runtime-api"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Bazaar rpc runtime API for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion ceremonies/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-ceremonies"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Ceremonies pallet for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion ceremonies/assignment/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "encointer-ceremonies-assignment"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Ceremonies assignments for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion ceremonies/meetup-validation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "encointer-meetup-validation"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Meetup validation for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion ceremonies/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-ceremonies-rpc"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Ceremonies rpc for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion ceremonies/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-ceremonies-rpc-runtime-api"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Ceremonies rpc runtime API for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion communities/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-communities"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Communities pallet for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion communities/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-communities-rpc"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Communities rpc for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion communities/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-communities-rpc-runtime-api"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Communities rpc runtime api for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion democracy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-democracy"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Democracy pallet for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion faucet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-faucet"
version = "10.2.0"
version = "11.2.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Faucet pallet for the Encointer blockchain runtime"
Expand Down
4 changes: 2 additions & 2 deletions faucet/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ fn dripping_fails_when_cid_not_whitelisted() {

ext.execute_with(|| {
System::set_block_number(System::block_number() + 1); // this is needed to assert events
// re-register because of different ext
// re-register because of different ext
let cid = register_test_community::<TestRuntime>(None, 0.0, 0.0);
let cid2 = register_test_community::<TestRuntime>(None, 10.0, 10.0);
let whitelist_input: WhiteListType = bounded_vec![cid];
Expand Down Expand Up @@ -458,7 +458,7 @@ fn dripping_works_with_whitelist_bypass() {

ext.execute_with(|| {
System::set_block_number(System::block_number() + 1); // this is needed to assert events
// re-register because of different ext
// re-register because of different ext
let cid = register_test_community::<TestRuntime>(None, 0.0, 0.0);
let cid2 = register_test_community::<TestRuntime>(None, 10.0, 10.0);
Balances::make_free_balance_be(&bob, 1000);
Expand Down
2 changes: 1 addition & 1 deletion primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "encointer-primitives"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Primitives for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion primitives/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ep-core"
version = "10.0.0"
version = "11.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Core primitives for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion reputation-commitments/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-reputation-commitments"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Reputation commitments pallet for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion reputation-commitments/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ fn purging_works() {

ext.execute_with(|| {
System::set_block_number(System::block_number() + 1); // this is needed to assert events
// re-register because of different ext
// re-register because of different ext
let cid = register_test_community::<TestRuntime>(None, 0.0, 0.0);
let cid2 = register_test_community::<TestRuntime>(None, 10.0, 10.0);

Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "encointer-rpc"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "RPC for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion scheduler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-scheduler"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Scheduler pallet for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion test-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-utils"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Test utils for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion vouches/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-vouches"
version = "10.1.0"
version = "11.1.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Vouches pallet for the Encointer blockchain runtime"
Expand Down

0 comments on commit 71d23eb

Please sign in to comment.