Skip to content

Commit

Permalink
Bump proc-macro-crate to the latest version (#4409)
Browse files Browse the repository at this point in the history
This PR bumps `proc-macro-crate` to the latest version.

In order to test a runtime from
https://github.com/polkadot-fellows/runtimes/ with the latest version of
polkadot-sdk one needs to use `cargo vendor` to extract all runtime
dependencies, patch them by hand and then build the runtime.

However at the moment 'vendored' builds fail due to
bkchr/proc-macro-crate#48. To fix this
`proc-macro-crate` should be updated to version `3.0.1` or higher.

---------

Co-authored-by: command-bot <>
  • Loading branch information
tdimitrov authored May 13, 2024
1 parent 477a120 commit 5562929
Show file tree
Hide file tree
Showing 14 changed files with 247 additions and 238 deletions.
453 changes: 231 additions & 222 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion polkadot/node/core/backing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ statement-table = { package = "polkadot-statement-table", path = "../../../state
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
gum = { package = "tracing-gum", path = "../../gum" }
thiserror = { workspace = true }
fatality = "0.0.6"
fatality = "0.1.0"
schnellru = "0.2.1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/core/dispute-coordinator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parity-scale-codec = "3.6.1"
kvdb = "0.13.0"
thiserror = { workspace = true }
schnellru = "0.2.1"
fatality = "0.0.6"
fatality = "0.1.0"

polkadot-primitives = { path = "../../../primitives" }
polkadot-node-primitives = { path = "../../primitives" }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/core/prospective-parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ futures = "0.3.30"
gum = { package = "tracing-gum", path = "../../gum" }
parity-scale-codec = "3.6.4"
thiserror = { workspace = true }
fatality = "0.0.6"
fatality = "0.1.0"
bitvec = "1"

polkadot-primitives = { path = "../../../primitives" }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/core/provisioner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ polkadot-node-primitives = { path = "../../primitives" }
polkadot-node-subsystem = { path = "../../subsystem" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
futures-timer = "3.0.2"
fatality = "0.0.6"
fatality = "0.1.0"
schnellru = "0.2.1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/availability-distribution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ thiserror = { workspace = true }
rand = "0.8.5"
derive_more = "0.99.17"
schnellru = "0.2.1"
fatality = "0.0.6"
fatality = "0.1.0"

[dev-dependencies]
polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/availability-recovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ futures = "0.3.30"
tokio = "1.37"
schnellru = "0.2.1"
rand = "0.8.5"
fatality = "0.0.6"
fatality = "0.1.0"
thiserror = { workspace = true }
async-trait = "0.1.79"
gum = { package = "tracing-gum", path = "../../gum" }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ polkadot-node-subsystem = { path = "../../subsystem" }
polkadot-overseer = { path = "../../overseer" }
parking_lot = "0.12.1"
bytes = "1"
fatality = "0.0.6"
fatality = "0.1.0"
thiserror = { workspace = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/collator-protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ polkadot-node-network-protocol = { path = "../protocol" }
polkadot-node-primitives = { path = "../../primitives" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }
polkadot-node-subsystem = { path = "../../subsystem" }
fatality = "0.0.6"
fatality = "0.1.0"
thiserror = { workspace = true }
tokio-util = "0.7.1"

Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/dispute-distribution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sc-network = { path = "../../../../substrate/client/network" }
sp-application-crypto = { path = "../../../../substrate/primitives/application-crypto" }
sp-keystore = { path = "../../../../substrate/primitives/keystore" }
thiserror = { workspace = true }
fatality = "0.0.6"
fatality = "0.1.0"
schnellru = "0.2.1"
indexmap = "2.0.0"

Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sp-runtime = { path = "../../../../substrate/primitives/runtime" }
strum = { version = "0.26.2", features = ["derive"] }
futures = "0.3.30"
thiserror = { workspace = true }
fatality = "0.0.6"
fatality = "0.1.0"
rand = "0.8"
derive_more = "0.99"
gum = { package = "tracing-gum", path = "../../gum" }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/statement-distribution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ arrayvec = "0.7.4"
indexmap = "2.0.0"
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
thiserror = { workspace = true }
fatality = "0.0.6"
fatality = "0.1.0"
bitvec = "1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/subsystem-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ parking_lot = "0.12.1"
pin-project = "1.0.9"
rand = "0.8.5"
thiserror = { workspace = true }
fatality = "0.0.6"
fatality = "0.1.0"
gum = { package = "tracing-gum", path = "../gum" }
derive_more = "0.99.17"
schnellru = "0.2.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ note: required because it appears within the type `RuntimeEvent`
28 | | }
| |_^
note: required by a bound in `EncodeLike`
--> $CARGO/parity-scale-codec-3.6.5/src/encode_like.rs
--> $CARGO/parity-scale-codec-3.6.11/src/encode_like.rs
|
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
| ^^^^^ required by this bound in `EncodeLike`
Expand Down Expand Up @@ -137,7 +137,7 @@ note: required because it appears within the type `RuntimeEvent`
28 | | }
| |_^
note: required by a bound in `Decode`
--> $CARGO/parity-scale-codec-3.6.5/src/codec.rs
--> $CARGO/parity-scale-codec-3.6.11/src/codec.rs
|
| pub trait Decode: Sized {
| ^^^^^ required by this bound in `Decode`
Expand Down Expand Up @@ -286,7 +286,7 @@ note: required because it appears within the type `RuntimeCall`
28 | | }
| |_^
note: required by a bound in `EncodeLike`
--> $CARGO/parity-scale-codec-3.6.5/src/encode_like.rs
--> $CARGO/parity-scale-codec-3.6.11/src/encode_like.rs
|
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
| ^^^^^ required by this bound in `EncodeLike`
Expand Down Expand Up @@ -317,7 +317,7 @@ note: required because it appears within the type `RuntimeCall`
28 | | }
| |_^
note: required by a bound in `Decode`
--> $CARGO/parity-scale-codec-3.6.5/src/codec.rs
--> $CARGO/parity-scale-codec-3.6.11/src/codec.rs
|
| pub trait Decode: Sized {
| ^^^^^ required by this bound in `Decode`
Expand Down

0 comments on commit 5562929

Please sign in to comment.