Skip to content

Commit 43be5eb

Browse files
davidjsonnyongkangc
authored andcommitted
fix(stages-types): resolve compilation errors in tests (#19501)
1 parent 9914533 commit 43be5eb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

crates/stages/types/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ modular-bitfield = { workspace = true, optional = true }
2424

2525
[dev-dependencies]
2626
reth-codecs.workspace = true
27+
reth-trie-common = { workspace = true, features = ["reth-codec"] }
2728
alloy-primitives = { workspace = true, features = ["arbitrary", "rand"] }
2829
arbitrary = { workspace = true, features = ["derive"] }
2930
proptest.workspace = true
3031
proptest-arbitrary-interop.workspace = true
3132
rand.workspace = true
3233
bytes.workspace = true
34+
modular-bitfield.workspace = true
3335

3436
[features]
3537
default = ["std"]

crates/stages/types/src/checkpoints.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
use super::StageId;
2+
#[cfg(test)]
3+
use alloc::vec;
24
use alloc::{format, string::String, vec::Vec};
35
use alloy_primitives::{Address, BlockNumber, B256, U256};
46
use core::ops::RangeInclusive;

0 commit comments

Comments
 (0)