Skip to content

Commit

Permalink
polkadot-v1.14.0 (#399)
Browse files Browse the repository at this point in the history
* polkadot-v1.14.0

* encointer v13
  • Loading branch information
clangenb authored Jul 18, 2024
1 parent 92d5ff3 commit f8437f5
Show file tree
Hide file tree
Showing 27 changed files with 742 additions and 518 deletions.
1,152 changes: 688 additions & 464 deletions Cargo.lock

Large diffs are not rendered by default.

58 changes: 29 additions & 29 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 = "12.1.0" }
encointer-meetup-validation = { path = "ceremonies/meetup-validation", default-features = false, version = "12.1.0" }
encointer-primitives = { path = "primitives", default-features = false, features = ["serde_derive"], version = "12.1.0" }
encointer-rpc = { path = "rpc", version = "12.1.0" }
ep-core = { path = "primitives/core", default-features = false, version = "12.0.0" }
pallet-encointer-balances = { path = "balances", default-features = false, version = "12.1.0" }
pallet-encointer-ceremonies = { path = "ceremonies", default-features = false, version = "12.1.0" }
pallet-encointer-communities = { path = "communities", default-features = false, version = "12.1.0" }
pallet-encointer-reputation-commitments = { path = "reputation-commitments", default-features = false, version = "12.1.0" }
pallet-encointer-scheduler = { path = "scheduler", default-features = false, version = "12.1.0" }
encointer-ceremonies-assignment = { path = "ceremonies/assignment", default-features = false, version = "13.1.0" }
encointer-meetup-validation = { path = "ceremonies/meetup-validation", default-features = false, version = "13.1.0" }
encointer-primitives = { path = "primitives", default-features = false, features = ["serde_derive"], version = "13.1.0" }
encointer-rpc = { path = "rpc", version = "13.1.0" }
ep-core = { path = "primitives/core", default-features = false, version = "13.0.0" }
pallet-encointer-balances = { path = "balances", default-features = false, version = "13.1.0" }
pallet-encointer-ceremonies = { path = "ceremonies", default-features = false, version = "13.1.0" }
pallet-encointer-communities = { path = "communities", default-features = false, version = "13.1.0" }
pallet-encointer-reputation-commitments = { path = "reputation-commitments", default-features = false, version = "13.1.0" }
pallet-encointer-scheduler = { path = "scheduler", default-features = false, version = "13.1.0" }
test-utils = { path = "test-utils" }
# rpc apis
encointer-balances-tx-payment-rpc-runtime-api = { path = "balances-tx-payment/rpc/runtime-api", version = "12.1.0" }
pallet-encointer-bazaar-rpc-runtime-api = { path = "bazaar/rpc/runtime-api", version = "12.1.0" }
pallet-encointer-ceremonies-rpc-runtime-api = { path = "ceremonies/rpc/runtime-api", version = "12.1.0" }
pallet-encointer-communities-rpc-runtime-api = { path = "communities/rpc/runtime-api", version = "12.1.0" }
encointer-balances-tx-payment-rpc-runtime-api = { path = "balances-tx-payment/rpc/runtime-api", version = "13.1.0" }
pallet-encointer-bazaar-rpc-runtime-api = { path = "bazaar/rpc/runtime-api", version = "13.1.0" }
pallet-encointer-ceremonies-rpc-runtime-api = { path = "ceremonies/rpc/runtime-api", version = "13.1.0" }
pallet-encointer-communities-rpc-runtime-api = { path = "communities/rpc/runtime-api", version = "13.1.0" }

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

# polkadot-sdk [no_std]
frame-benchmarking = { version = "35.0.0", default-features = false }
frame-support = { version = "35.0.0", default-features = false }
frame-system = { version = "35.0.0", default-features = false }
pallet-asset-tx-payment = { version = "35.0.0", default-features = false }
pallet-balances = { version = "36.0.0", default-features = false }
pallet-timestamp = { version = "34.0.0", default-features = false }
pallet-transaction-payment = { version = "35.0.0", default-features = false }
pallet-treasury = { version = "34.0.0", default-features = false }
frame-benchmarking = { version = "36.0.0", default-features = false }
frame-support = { version = "36.0.0", default-features = false }
frame-system = { version = "36.0.0", default-features = false }
pallet-asset-tx-payment = { version = "36.0.0", default-features = false }
pallet-balances = { version = "37.0.0", default-features = false }
pallet-timestamp = { version = "35.0.0", default-features = false }
pallet-transaction-payment = { version = "36.0.0", default-features = false }
pallet-treasury = { version = "35.0.0", default-features = false }
sp-api = { version = "33.0.0", default-features = false }
sp-application-crypto = { version = "37.0.0", default-features = false }
sp-arithmetic = { version = "26.0.0", default-features = false }
Expand All @@ -78,13 +78,13 @@ sp-runtime = { version = "38.0.0", default-features = false }
sp-std = { version = "14.0.0", default-features = false }

# rpc stuff [std]
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 = "37.0.0" }
sc-rpc = "36.0.0"
sc-rpc-api = "0.40.0"
sp-blockchain = "35.0.0"
jsonrpsee = { version = "0.23.2", features = ["client-core", "server", "macros"] }
jsonrpsee-core = { version = "0.23.2" }
jsonrpsee-types = { version = "0.23.2" }
pallet-transaction-payment-rpc = { version = "38.0.0" }
sc-rpc = "37.0.0"
sc-rpc-api = "0.41.0"
sp-blockchain = "35.1.0"
sp-rpc = "32.0.0"

# dev deps
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.2.0"
version = "13.2.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.2.0"
version = "13.2.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Faucet pallet for the Encointer blockchain runtime"
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 = "12.2.0"
version = "13.2.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.0.0"
version = "13.0.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Reputation commitments pallet for the Encointer blockchain runtime"
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Scheduler pallet for the Encointer blockchain runtime"
Expand Down
2 changes: 1 addition & 1 deletion scheduler/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ impl<T: Config> Pallet<T> {
// 2. when next_phase() is used, we would introduce long idle phases because next_phase_timestamp would be pushed furhter and further into the future
fn resync_and_set_next_phase_timestamp(tnext: T::Moment) -> DispatchResult {
let cycle_duration = Self::get_cycle_duration();
let now = <pallet_timestamp::Pallet<T>>::now();
let now = pallet_timestamp::Now::<T>::get();

let tnext = if tnext < now {
let gap = now - tnext;
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
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 = "12.1.0"
version = "13.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Vouches pallet for the Encointer blockchain runtime"
Expand Down

0 comments on commit f8437f5

Please sign in to comment.