Skip to content

Commit 5982154

Browse files
revive: fix alloy-consensus dependency (#10090)
Needed in order to update foundry-polkadot to the latest master: paritytech/foundry-polkadot#352 --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f50ebf0 commit 5982154

File tree

6 files changed

+45
-18
lines changed

6 files changed

+45
-18
lines changed

Cargo.lock

Lines changed: 30 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ pallet-oracle-runtime-api = { path = "substrate/frame/honzon/oracle/runtime-api"
638638
Inflector = { version = "0.11.4" }
639639
aes-gcm = { version = "0.10" }
640640
ahash = { version = "0.8.2" }
641-
alloy-consensus = { version = "1.0.24", default-features = false }
641+
alloy-consensus = { version = "1.0.41", default-features = false }
642642
alloy-core = { version = "1.2.1", default-features = false }
643643
alloy-primitives = { version = "1.2.1", default-features = false }
644644
alloy-rlp = { version = "0.3", default-features = false }

prdoc/pr_10090.prdoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
title: 'revive: fix alloy-consensus dependency'
2+
doc:
3+
- audience: Runtime Dev
4+
description: Bump the alloy-consensus version and include the serde feature in std
5+
crates:
6+
- name: pallet-revive
7+
bump: minor
8+
- name: pallet-revive-eth-rpc
9+
bump: patch
10+
- name: snowbridge-ethereum
11+
bump: none
12+
validate: false

substrate/frame/revive/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ sp-tracing = { workspace = true, default-features = true }
8686
[features]
8787
default = ["std"]
8888
std = [
89+
"alloy-consensus/serde",
8990
"alloy-consensus/std",
9091
"alloy-core/std",
9192
"alloy-trie/std",

substrate/frame/revive/rpc/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ name = "eth-rpc"
2020
path = "src/main.rs"
2121

2222
[dependencies]
23-
alloy-consensus = { workspace = true, default-features = true }
24-
alloy-core = { workspace = true, features = ["sol-types"], default-features = true }
2523
anyhow = { workspace = true }
2624
clap = { workspace = true, features = ["derive", "env"] }
2725
codec = { workspace = true, features = ["derive"] }

substrate/frame/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
740740
= help: the trait `Serialize` is implemented for `GenesisConfig<T>`
741741
= note: required for `GenesisConfig<Runtime>` to implement `Serialize`
742742
note: required by a bound in `frame_support::sp_runtime::serde::ser::SerializeStruct::serialize_field`
743-
--> $CARGO/serde-1.0.219/src/ser/mod.rs
743+
--> $CARGO/serde_core-1.0.228/src/ser/mod.rs
744744
|
745745
| fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
746746
| --------------- required by a bound in this associated function

0 commit comments

Comments
 (0)