Skip to content

Commit

Permalink
polkadot v1.2.0 (#360)
Browse files Browse the repository at this point in the history
* bump dependencies for polkadot-v1.2.0

* bump major crate version to avoid accidental update

* deps cleanup

* add readme docs
  • Loading branch information
brenzi authored Nov 2, 2023
1 parent 8bcc998 commit acc6577
Show file tree
Hide file tree
Showing 26 changed files with 725 additions and 563 deletions.
751 changes: 453 additions & 298 deletions Cargo.lock

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ use `cargo-release` we exclude non-public crates explicitly in tomls

```
cargo install cargo-release
cargo release --execute
# check workspace dependency tree
cargo tree --workspace -i ep-core
# add --execute if you're sure
cargo release publish -p ep-core -p encointer-primitives -p test-utils -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
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
```

26 changes: 13 additions & 13 deletions 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 = "1.0.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Balances tx payment for the Encointer blockchain runtime"
Expand All @@ -9,26 +9,26 @@ repository = "https://github.com/encointer/pallets"
license = "GPL-3.0-or-later"

[dependencies]
log = { version = "0.4.14", default-features = false }
log = { version = "0.4.20", default-features = false }

encointer-primitives = { path = "../primitives", default-features = false, version = "1.3.0" }
pallet-encointer-balances = { path = "../balances", default-features = false, version = "1.2.0" }
pallet-encointer-ceremonies = { path = "../ceremonies", default-features = false, version = "1.2.0" }
encointer-primitives = { path = "../primitives", default-features = false, version = "2.0.0" }
pallet-encointer-balances = { path = "../balances", default-features = false, version = "2.0.0" }
pallet-encointer-ceremonies = { path = "../ceremonies", default-features = false, version = "2.0.0" }

# substrate dependencies
frame-support = { default-features = false, version = "23.0.0" }
frame-system = { default-features = false, version = "23.0.0" }
pallet-asset-tx-payment = { default-features = false, version = "23.0.0" }
pallet-transaction-payment = { default-features = false, version = "23.0.0" }
sp-runtime = { default-features = false, version = "26.0.0" }
frame-support = { default-features = false, version = "24.0.0" }
frame-system = { default-features = false, version = "24.0.0" }
pallet-asset-tx-payment = { default-features = false, version = "24.0.0" }
pallet-transaction-payment = { default-features = false, version = "24.0.0" }
sp-runtime = { default-features = false, version = "27.0.0" }

[dev-dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false, features = [
"derive",
] }
rstest = "0.12.0"
scale-info = { version = "2.5.0", default-features = false }
sp-io = "25.0.0"
scale-info = { version = "2.9.0", default-features = false }
sp-io = "26.0.0"
test-utils = { path = "../test-utils" }

[features]
Expand Down
32 changes: 16 additions & 16 deletions 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 = "1.0.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Balances tx payment rpc for the Encointer blockchain runtime"
Expand All @@ -9,28 +9,28 @@ repository = "https://github.com/encointer/pallets"
license = "GPL-3.0-or-later"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
jsonrpsee = { version = "0.16.2", features = [
codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false }
jsonrpsee = { version = "0.16.3", features = [
"client-core",
"server",
"macros",
] }
log = "0.4.14"
log = "0.4.20"
parking_lot = "0.12.0"
thiserror = "1.0.31"

# local deps
encointer-balances-tx-payment-rpc-runtime-api = { package = "encointer-balances-tx-payment-rpc-runtime-api", path = "runtime-api", version = "1.0.0" }
encointer-primitives = { path = "../../primitives", version = "1.3.0" }
encointer-rpc = { path = "../../rpc", version = "0.1.0" }
encointer-balances-tx-payment-rpc-runtime-api = { package = "encointer-balances-tx-payment-rpc-runtime-api", path = "runtime-api", version = "2.0.0" }
encointer-primitives = { path = "../../primitives", version = "2.0.0" }
encointer-rpc = { path = "../../rpc", version = "2.0.0" }

# substrate deps
pallet-transaction-payment = { default-features = false, version = "23.0.0" }
pallet-transaction-payment-rpc = { default-features = false, version = "25.0.0" }
sc-rpc = "24.0.0"
sc-rpc-api = "0.28.0"
sp-api = "21.0.0"
sp-blockchain = "23.0.0"
sp-core = "23.0.0"
sp-rpc = "21.0.0"
sp-runtime = "26.0.0"
pallet-transaction-payment = { default-features = false, version = "24.0.0" }
pallet-transaction-payment-rpc = { default-features = false, version = "26.0.0" }
sc-rpc = "25.0.0"
sc-rpc-api = "0.29.0"
sp-api = "22.0.0"
sp-blockchain = "24.0.0"
sp-core = "24.0.0"
sp-rpc = "22.0.0"
sp-runtime = "27.0.0"
14 changes: 7 additions & 7 deletions 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 = "1.0.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Balances tx payment rpc runtime api for the Encointer blockchain runtime"
Expand All @@ -10,16 +10,16 @@ license = "GPL-3.0-or-later"

[dependencies]
# local deps
encointer-primitives = { path = "../../../primitives", default-features = false, version = "1.3.0" }
encointer-primitives = { path = "../../../primitives", default-features = false, version = "2.0.0" }

# substrate deps
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false, features = [
"derive",
] }
frame-support = { default-features = false, version = "23.0.0" }
scale-info = { version = "2.5.0", default-features = false }
sp-api = { default-features = false, version = "21.0.0" }
sp-std = { default-features = false, version = "10.0.0" }
frame-support = { default-features = false, version = "24.0.0" }
scale-info = { version = "2.9.0", default-features = false }
sp-api = { default-features = false, version = "22.0.0" }
sp-std = { default-features = false, version = "11.0.0" }

[features]
default = ["std"]
Expand Down
26 changes: 13 additions & 13 deletions balances/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-balances"
version = "1.2.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Balances pallet for the Encointer blockchain runtime"
Expand All @@ -10,27 +10,27 @@ license = "GPL-3.0-or-later"

[dependencies]
approx = { version = "0.5.1", optional = true }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false, features = [
"derive",
] }
log = { version = "0.4.14", default-features = false }
scale-info = { version = "2.5.0", default-features = false }
log = { version = "0.4.20", default-features = false }
scale-info = { version = "2.9.0", default-features = false }

# local deps
encointer-primitives = { path = "../primitives", default-features = false, features = ["serde_derive"], version = "1.3.0" }
encointer-primitives = { path = "../primitives", default-features = false, features = ["serde_derive"], version = "2.0.0" }

# substrate deps
frame-benchmarking = { default-features = false, optional = true, version = "23.0.0" }
frame-support = { default-features = false, version = "23.0.0" }
frame-system = { default-features = false, version = "23.0.0" }
pallet-asset-tx-payment = { default-features = false, version = "23.0.0" }
pallet-transaction-payment = { default-features = false, version = "23.0.0" }
sp-runtime = { default-features = false, version = "26.0.0" }
sp-std = { default-features = false, version = "10.0.0" }
frame-benchmarking = { default-features = false, optional = true, version = "24.0.0" }
frame-support = { default-features = false, version = "24.0.0" }
frame-system = { default-features = false, version = "24.0.0" }
pallet-asset-tx-payment = { default-features = false, version = "24.0.0" }
pallet-transaction-payment = { default-features = false, version = "24.0.0" }
sp-runtime = { default-features = false, version = "27.0.0" }
sp-std = { default-features = false, version = "11.0.0" }

[dev-dependencies]
approx = "0.5.1"
sp-io = "25.0.0"
sp-io = "26.0.0"
test-utils = { path = "../test-utils" }

[features]
Expand Down
24 changes: 12 additions & 12 deletions bazaar/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-bazaar"
version = "1.1.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Bazaar pallet for the Encointer blockchain runtime"
Expand All @@ -9,25 +9,25 @@ repository = "https://github.com/encointer/pallets"
license = "GPL-3.0-or-later"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false, features = [
"derive",
] }
log = { version = "0.4.14", default-features = false }
scale-info = { version = "2.5.0", default-features = false }
log = { version = "0.4.20", default-features = false }
scale-info = { version = "2.9.0", default-features = false }

# local deps
encointer-communities = { package = "pallet-encointer-communities", path = "../communities", default-features = false, version = "1.3.0" }
encointer-primitives = { path = "../primitives", default-features = false, features = ["serde_derive"], version = "1.3.0" }
encointer-communities = { package = "pallet-encointer-communities", path = "../communities", default-features = false, version = "2.0.0" }
encointer-primitives = { path = "../primitives", default-features = false, features = ["serde_derive"], version = "2.0.0" }

# substrate deps
frame-benchmarking = { default-features = false, optional = true, version = "23.0.0" }
frame-support = { default-features = false, version = "23.0.0" }
frame-system = { default-features = false, version = "23.0.0" }
sp-core = { default-features = false, version = "23.0.0" }
sp-std = { default-features = false, version = "10.0.0" }
frame-benchmarking = { default-features = false, optional = true, version = "24.0.0" }
frame-support = { default-features = false, version = "24.0.0" }
frame-system = { default-features = false, version = "24.0.0" }
sp-core = { default-features = false, version = "24.0.0" }
sp-std = { default-features = false, version = "11.0.0" }

[dev-dependencies]
sp-io = "25.0.0"
sp-io = "26.0.0"
test-utils = { path = "../test-utils" }

[features]
Expand Down
22 changes: 11 additions & 11 deletions 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 = "1.0.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Bazaar rpc for the Encointer blockchain runtime"
Expand All @@ -9,23 +9,23 @@ repository = "https://github.com/encointer/pallets"
license = "GPL-3.0-or-later"

[dependencies]
jsonrpsee = { version = "0.16.2", features = [
jsonrpsee = { version = "0.16.3", features = [
"client-core",
"server",
"macros",
] }
log = "0.4.14"
log = "0.4.20"
parking_lot = "0.12.0"
thiserror = "1.0.31"

# local deps
encointer-bazaar-rpc-runtime-api = { package = "pallet-encointer-bazaar-rpc-runtime-api", path = "runtime-api", version = "1.0.0" }
encointer-primitives = { path = "../../primitives", version = "1.3.0" }
encointer-rpc = { path = "../../rpc", version = "0.1.0" }
encointer-bazaar-rpc-runtime-api = { package = "pallet-encointer-bazaar-rpc-runtime-api", path = "runtime-api", version = "2.0.0" }
encointer-primitives = { path = "../../primitives", version = "2.0.0" }
encointer-rpc = { path = "../../rpc", version = "2.0.0" }

# substrate deps
sc-rpc = "24.0.0"
sc-rpc-api = "0.28.0"
sp-api = "21.0.0"
sp-blockchain = "23.0.0"
sp-runtime = "26.0.0"
sc-rpc = "25.0.0"
sc-rpc-api = "0.29.0"
sp-api = "22.0.0"
sp-blockchain = "24.0.0"
sp-runtime = "27.0.0"
10 changes: 5 additions & 5 deletions 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 = "1.0.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Bazaar rpc runtime API for the Encointer blockchain runtime"
Expand All @@ -10,12 +10,12 @@ license = "GPL-3.0-or-later"

[dependencies]
# local deps
encointer-primitives = { path = "../../../primitives", default-features = false, version = "1.3.0" }
encointer-primitives = { path = "../../../primitives", default-features = false, version = "2.0.0" }

# substrate deps
frame-support = { default-features = false, version = "23.0.0" }
sp-api = { default-features = false, version = "21.0.0" }
sp-std = { default-features = false, version = "10.0.0" }
frame-support = { default-features = false, version = "24.0.0" }
sp-api = { default-features = false, version = "22.0.0" }
sp-std = { default-features = false, version = "11.0.0" }

[features]
default = ["std"]
Expand Down
42 changes: 21 additions & 21 deletions ceremonies/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-encointer-ceremonies"
version = "1.2.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Ceremonies pallet for the Encointer blockchain runtime"
Expand All @@ -9,39 +9,39 @@ repository = "https://github.com/encointer/pallets"
license = "GPL-3.0-or-later"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false, features = [
"derive",
] }
log = { version = "0.4.14", default-features = false }
scale-info = { version = "2.5.0", default-features = false }
log = { version = "0.4.20", default-features = false }
scale-info = { version = "2.9.0", default-features = false }

# local deps
encointer-balances = { package = "pallet-encointer-balances", path = "../balances", default-features = false, version = "1.2.0" }
encointer-ceremonies-assignment = { path = "assignment", default-features = false, version = "1.2.0" }
encointer-communities = { package = "pallet-encointer-communities", path = "../communities", default-features = false, version = "1.3.0" }
encointer-meetup-validation = { path = "meetup-validation", default-features = false, version = "1.2.0" }
encointer-primitives = { path = "../primitives", default-features = false, features = ["serde_derive"], version = "1.3.0" }
encointer-scheduler = { package = "pallet-encointer-scheduler", path = "../scheduler", default-features = false, version = "1.1.0" }
encointer-balances = { package = "pallet-encointer-balances", path = "../balances", default-features = false, version = "2.0.0" }
encointer-ceremonies-assignment = { path = "assignment", default-features = false, version = "2.0.0" }
encointer-communities = { package = "pallet-encointer-communities", path = "../communities", default-features = false, version = "2.0.0" }
encointer-meetup-validation = { path = "meetup-validation", default-features = false, version = "2.0.0" }
encointer-primitives = { path = "../primitives", default-features = false, features = ["serde_derive"], version = "2.0.0" }
encointer-scheduler = { package = "pallet-encointer-scheduler", path = "../scheduler", default-features = false, version = "2.0.0" }

# substrate deps
frame-support = { default-features = false, version = "23.0.0" }
frame-system = { default-features = false, version = "23.0.0" }
pallet-timestamp = { default-features = false, version = "22.0.0" }
sp-core = { default-features = false, version = "23.0.0" }
sp-io = { default-features = false, version = "25.0.0" }
sp-runtime = { default-features = false, version = "26.0.0" }
sp-std = { default-features = false, version = "10.0.0" }
frame-support = { default-features = false, version = "24.0.0" }
frame-system = { default-features = false, version = "24.0.0" }
pallet-timestamp = { default-features = false, version = "23.0.0" }
sp-core = { default-features = false, version = "24.0.0" }
sp-io = { default-features = false, version = "26.0.0" }
sp-runtime = { default-features = false, version = "27.0.0" }
sp-std = { default-features = false, version = "11.0.0" }

# benchmarking
frame-benchmarking = { default-features = false, optional = true, version = "23.0.0" }
sp-application-crypto = { default-features = false, optional = true, version = "25.0.0" }
frame-benchmarking = { default-features = false, optional = true, version = "24.0.0" }
sp-application-crypto = { default-features = false, optional = true, version = "26.0.0" }

[dev-dependencies]
approx = "0.5.1"
itertools = "0.10.3"
rstest = "0.12.0"
sp-io = "25.0.0"
sp-keystore = "0.29.0"
sp-io = "26.0.0"
sp-keystore = "0.30.0"
test-utils = { path = "../test-utils" }

[features]
Expand Down
10 changes: 5 additions & 5 deletions ceremonies/assignment/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "encointer-ceremonies-assignment"
version = "1.2.0"
version = "2.0.0"
authors = ["Encointer Association <[email protected]>"]
edition = "2021"
description = "Ceremonies assignments for the Encointer blockchain runtime"
Expand All @@ -10,14 +10,14 @@ license = "GPL-3.0-or-later"

[dependencies]
# local deps
encointer-primitives = { path = "../../primitives", default-features = false, version = "1.3.0" }
encointer-primitives = { path = "../../primitives", default-features = false, version = "2.0.0" }

# substrate deps
sp-runtime = { default-features = false, version = "26.0.0" }
sp-std = { default-features = false, version = "10.0.0" }
sp-runtime = { default-features = false, version = "27.0.0" }
sp-std = { default-features = false, version = "11.0.0" }

[dev-dependencies]
sp-core = "23.0.0"
sp-core = "24.0.0"

[features]
default = ["std"]
Expand Down
Loading

0 comments on commit acc6577

Please sign in to comment.