Skip to content

Commit

Permalink
bump to polkadot stable-202409-1 and release encointer as v14 (#406)
Browse files Browse the repository at this point in the history
* bump to stable-202409-1

* bump encointer crates to v14.*

* add encointer-treasuries to release cmd in readme

* add treasury rpc and runtime api to command to publish
  • Loading branch information
clangenb authored Oct 21, 2024
1 parent fb16ada commit 2362e1d
Showing 30 changed files with 265 additions and 329 deletions.
462 changes: 199 additions & 263 deletions Cargo.lock

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -31,24 +31,24 @@ members = [

[workspace.dependencies]
# local pin
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.3.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" }
pallet-encointer-treasuries = { path = "treasuries", default-features = false, version = "13.3.0" }
encointer-ceremonies-assignment = { path = "ceremonies/assignment", default-features = false, version = "14.1.0" }
encointer-meetup-validation = { path = "ceremonies/meetup-validation", default-features = false, version = "14.1.0" }
encointer-primitives = { path = "primitives", default-features = false, features = ["serde_derive"], version = "14.3.0" }
encointer-rpc = { path = "rpc", version = "14.1.0" }
ep-core = { path = "primitives/core", default-features = false, version = "14.0.0" }
pallet-encointer-balances = { path = "balances", default-features = false, version = "14.1.0" }
pallet-encointer-ceremonies = { path = "ceremonies", default-features = false, version = "14.1.0" }
pallet-encointer-communities = { path = "communities", default-features = false, version = "14.1.0" }
pallet-encointer-reputation-commitments = { path = "reputation-commitments", default-features = false, version = "14.1.0" }
pallet-encointer-scheduler = { path = "scheduler", default-features = false, version = "14.1.0" }
pallet-encointer-treasuries = { path = "treasuries", default-features = false, version = "14.3.0" }
test-utils = { path = "test-utils" }
# rpc apis
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" }
pallet-encointer-treasuries-rpc-runtime-api = { path = "treasuries/rpc/runtime-api", version = "13.3.0" }
encointer-balances-tx-payment-rpc-runtime-api = { path = "balances-tx-payment/rpc/runtime-api", version = "14.1.0" }
pallet-encointer-bazaar-rpc-runtime-api = { path = "bazaar/rpc/runtime-api", version = "14.1.0" }
pallet-encointer-ceremonies-rpc-runtime-api = { path = "ceremonies/rpc/runtime-api", version = "14.1.0" }
pallet-encointer-communities-rpc-runtime-api = { path = "communities/rpc/runtime-api", version = "14.1.0" }
pallet-encointer-treasuries-rpc-runtime-api = { path = "treasuries/rpc/runtime-api", version = "14.3.0" }

# various
array-bytes = "6.1.0"
@@ -66,39 +66,39 @@ serde = { version = "1.0.197", default-features = false, features = ["derive", "
thiserror = "1.0.50"

# polkadot-sdk [no_std]
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 }
frame-benchmarking = { version = "38.0.0", default-features = false }
frame-support = { version = "38.0.0", default-features = false }
frame-system = { version = "38.0.0", default-features = false }
pallet-asset-tx-payment = { version = "38.0.0", default-features = false }
pallet-balances = { version = "39.0.0", default-features = false }
pallet-timestamp = { version = "37.0.0", default-features = false }
pallet-transaction-payment = { version = "38.0.0", default-features = false }
pallet-treasury = { version = "37.0.0", default-features = false }
sp-api = { version = "34.0.0", default-features = false }
sp-application-crypto = { version = "38.0.0", default-features = false }
sp-arithmetic = { version = "26.0.0", default-features = false }
sp-core = { version = "34.0.0", default-features = false }
sp-io = { version = "37.0.0", default-features = false }
sp-runtime = { version = "38.0.0", default-features = false }
sp-io = { version = "38.0.0", default-features = false }
sp-runtime = { version = "39.0.1", default-features = false }
sp-std = { version = "14.0.0", default-features = false }

# rpc stuff [std]
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"
jsonrpsee = { version = "0.24.7", features = ["client-core", "server", "macros"] }
jsonrpsee-core = { version = "0.24.7" }
jsonrpsee-types = { version = "0.24.7" }
pallet-transaction-payment-rpc = { version = "41.0.0" }
sc-rpc = "40.0.0"
sc-rpc-api = "0.44.0"
sp-blockchain = "37.0.1"
sp-rpc = "32.0.0"

# dev deps
approx = "0.5.1"
itertools = "0.11.0"
rstest = "0.12.0"
serde_json = "1.0.114"
sp-inherents = "33.0.0"
sp-keyring = "38.0.0"
sp-inherents = "34.0.0"
sp-keyring = "39.0.0"
sp-keystore = "0.40.0"

#[patch."https://github.com/encointer/substrate-fixed"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ cargo tree --workspace -i ep-core
# add --execute if you're sure
cargo release publish -p ep-core -p encointer-primitives -p pallet-encointer-scheduler -p pallet-encointer-balances -p pallet-encointer-communities
cargo release publish -p encointer-ceremonies-assignment -p encointer-meetup-validation -p pallet-encointer-ceremonies -p pallet-encointer-bazaar -p pallet-encointer-reputation-commitments -p pallet-encointer-faucet -p pallet-encointer-democracy
cargo release publish -p encointer-rpc -p encointer-balances-tx-payment -p encointer-balances-tx-payment-rpc-runtime-api -p encointer-balances-tx-payment-rpc -p pallet-encointer-bazaar-rpc-runtime-api -p pallet-encointer-bazaar-rpc -p pallet-encointer-ceremonies-rpc-runtime-api -p pallet-encointer-ceremonies-rpc -p pallet-encointer-communities-rpc-runtime-api -p pallet-encointer-communities-rpc
cargo release publish -p encointer-ceremonies-assignment -p encointer-meetup-validation -p pallet-encointer-ceremonies -p pallet-encointer-bazaar -p pallet-encointer-reputation-commitments -p pallet-encointer-faucet -p pallet-encointer-treasuries -p pallet-encointer-democracy
cargo release publish -p encointer-rpc -p encointer-balances-tx-payment -p encointer-balances-tx-payment-rpc-runtime-api -p encointer-balances-tx-payment-rpc -p pallet-encointer-bazaar-rpc-runtime-api -p pallet-encointer-bazaar-rpc -p pallet-encointer-ceremonies-rpc-runtime-api -p pallet-encointer-ceremonies-rpc -p pallet-encointer-communities-rpc-runtime-api -p pallet-encointer-communities-rpc -p pallet-encointer-treasuries-rpc-runtime-api -p pallet-encointer-treasuries-rpc
```

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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Balances tx payment for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Balances tx payment rpc for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Balances tx payment rpc runtime api for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Balances pallet for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Bazaar pallet for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Bazaar rpc for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Bazaar rpc runtime API for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Ceremonies pallet for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Ceremonies assignments for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Meetup validation for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Ceremonies rpc for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Ceremonies rpc runtime API for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Communities pallet for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Communities rpc for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Communities rpc runtime api for the Encointer blockchain runtime"
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 = "13.3.2"
version = "14.3.2"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Democracy pallet for the Encointer blockchain runtime"
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 = "13.2.0"
version = "14.2.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Faucet pallet for the Encointer blockchain runtime"
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 = "13.3.0"
version = "14.3.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Primitives for the Encointer blockchain runtime"
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 = "13.0.0"
version = "14.0.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Core primitives for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Reputation commitments pallet for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "RPC for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Scheduler pallet for the Encointer blockchain runtime"
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 = "13.3.0"
version = "14.3.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Test utils for the Encointer blockchain runtime"
2 changes: 1 addition & 1 deletion treasuries/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-treasuries"
version = "13.3.0"
version = "14.3.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Treasuries pallet for the Encointer blockchain runtime"
2 changes: 1 addition & 1 deletion treasuries/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-treasuries-rpc"
version = "13.3.0"
version = "14.3.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Treasuries pallet rpc for the Encointer blockchain runtime"
2 changes: 1 addition & 1 deletion treasuries/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-treasuries-rpc-runtime-api"
version = "13.3.0"
version = "14.3.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Treasuries pallet rpc runtime api for the Encointer blockchain runtime"
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 = "13.1.0"
version = "14.1.0"
authors = ["Encointer Association <info@encointer.org>"]
edition = "2021"
description = "Vouches pallet for the Encointer blockchain runtime"

0 comments on commit 2362e1d

Please sign in to comment.