Skip to content

Commit 147018a

Browse files
committed
chore(cli,sdk): bump ethrex version to v24.0.0
Bump the workspace version and every ethrex-* dependency pin to the crates published by the ethrex v24.0.0 release, and adapt the frame command to the updated EIP-8141 FrameSignature type (signer is now Option<H160>, tracking the current spec revision). cargo check and clippy pass against the published crates.
1 parent 27d0c9b commit 147018a

3 files changed

Lines changed: 52 additions & 45 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default-members = ["cli"]
44
resolver = "3"
55

66
[workspace.package]
7-
version = "23.0.0"
7+
version = "24.0.0"
88
edition = "2024"
99
license = "MIT"
1010
repository = "https://github.com/lambdaclass/rex"
@@ -32,13 +32,13 @@ manual_saturating_arithmetic = "warn"
3232
rex-cli = { path = "cli" }
3333
rex-sdk = { path = "sdk" }
3434

35-
ethrex-common = "23.0.0"
36-
ethrex-blockchain = "23.0.0"
37-
ethrex-rlp = "23.0.0"
38-
ethrex-rpc = "23.0.0"
39-
ethrex-l2-rpc = "23.0.0"
40-
ethrex-sdk = "23.0.0"
41-
ethrex-l2-common = "23.0.0"
35+
ethrex-common = "24.0.0"
36+
ethrex-blockchain = "24.0.0"
37+
ethrex-rlp = "24.0.0"
38+
ethrex-rpc = "24.0.0"
39+
ethrex-l2-rpc = "24.0.0"
40+
ethrex-sdk = "24.0.0"
41+
ethrex-l2-common = "24.0.0"
4242

4343
keccak-hash = "0.11.0"
4444
thiserror = "2.0.11"

cli/src/commands/frame.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fn secp256k1_signature(sig_hash: H256, signer: Address, secret: &SecretKey) -> F
7878
bytes.extend_from_slice(&sig[32..64]); // s
7979
FrameSignature {
8080
scheme: FRAME_SIG_SCHEME_SECP256K1,
81-
signer,
81+
signer: Some(signer),
8282
msg: Bytes::new(),
8383
signature: Bytes::from(bytes),
8484
}
@@ -90,7 +90,7 @@ fn secp256k1_signature(sig_hash: H256, signer: Address, secret: &SecretKey) -> F
9090
fn signature_placeholder(signer: Address) -> FrameSignature {
9191
FrameSignature {
9292
scheme: FRAME_SIG_SCHEME_SECP256K1,
93-
signer,
93+
signer: Some(signer),
9494
msg: Bytes::new(),
9595
signature: Bytes::new(),
9696
}

0 commit comments

Comments
 (0)