Skip to content

Commit b723706

Browse files
refactor: replace local ssz test utils with strata-ssz-tests from strata-common
1 parent 18dae87 commit b723706

File tree

9 files changed

+33
-163
lines changed

9 files changed

+33
-163
lines changed

Cargo.lock

Lines changed: 27 additions & 26 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ members = [
3030
"crates/test-utils/btc",
3131
"crates/test-utils/btcio",
3232
"crates/test-utils/checkpoint",
33-
"crates/test-utils/ssz",
3433
"crates/worker",
3534
"crates/storage",
3635

@@ -88,7 +87,7 @@ strata-test-utils-btc = { path = "crates/test-utils/btc" }
8887
strata-test-utils-btcio = { path = "crates/test-utils/btcio" }
8988
strata-test-utils-checkpoint = { path = "crates/test-utils/checkpoint" }
9089

91-
strata-asm-test-utils-ssz = { path = "crates/test-utils/ssz" }
90+
strata-ssz-tests = { git = "https://github.com/alpenlabs/strata-common", tag = "v0.1.0-alpha-rc13" }
9291

9392
# Dependencies from alpenlabs/strata-bridge pinned to commit fc966d5 (STR-2598-asm-stf-proof-statements @ 2026-03-17)
9493
btc-tracker = { git = "https://github.com/alpenlabs/strata-bridge.git", rev = "fc966d5f81c773de10a4ef3a66666687ec11d715" }

crates/checkpoint-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ thiserror.workspace = true
2727
proptest.workspace = true
2828

2929
strata-identifiers = { workspace = true, features = ["test-utils"] }
30-
strata-asm-test-utils-ssz.workspace = true
30+
strata-ssz-tests.workspace = true
3131

3232
[build-dependencies]
3333
ssz_codegen.workspace = true

crates/checkpoint-types/src/claim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl_borsh_via_ssz!(CheckpointClaim);
7575

7676
#[cfg(test)]
7777
mod tests {
78-
use strata_asm_test_utils_ssz::ssz_proptest;
78+
use strata_ssz_tests::ssz_proptest;
7979

8080
use crate::{
8181
CheckpointClaim, L2BlockRange,

crates/manifest-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ssz_codegen.workspace = true
2525
[dev-dependencies]
2626
proptest.workspace = true
2727
strata-identifiers = { workspace = true, features = ["test-utils"] }
28-
strata-asm-test-utils-ssz.workspace = true
28+
strata-ssz-tests.workspace = true
2929

3030
[features]
3131
arbitrary = ["dep:arbitrary"]

crates/manifest-types/src/log.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl<'a> Arbitrary<'a> for AsmLogEntry {
114114
mod tests {
115115
use proptest::prelude::*;
116116
use ssz::{Decode, Encode};
117-
use strata_asm_test_utils_ssz::ssz_proptest;
117+
use strata_ssz_tests::ssz_proptest;
118118

119119
use super::AsmLogEntry;
120120

crates/manifest-types/src/manifest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ pub fn compute_asm_manifests_hash_from_leaves(leaves: &[[u8; 32]]) -> FixedBytes
108108
mod tests {
109109
use proptest::prelude::*;
110110
use ssz::{Decode, Encode};
111-
use strata_asm_test_utils_ssz::ssz_proptest;
112111
use strata_identifiers::{
113112
Buf32, L1BlockId, WtxidsRoot,
114113
test_utils::{buf32_strategy, l1_block_id_strategy},
115114
};
115+
use strata_ssz_tests::ssz_proptest;
116116

117117
use super::AsmManifest;
118118
use crate::ssz_generated::ssz::log::AsmLogEntry;

crates/test-utils/ssz/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

crates/test-utils/ssz/src/lib.rs

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)