From ac36822a3255198e4349e11eeb95fb2e9d2ea204 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 26 Aug 2025 15:17:37 -0400 Subject: [PATCH 1/2] fix: use the const --- crates/constants/src/chains/test_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/constants/src/chains/test_utils.rs b/crates/constants/src/chains/test_utils.rs index aeba80ed..29530ce8 100644 --- a/crates/constants/src/chains/test_utils.rs +++ b/crates/constants/src/chains/test_utils.rs @@ -79,7 +79,7 @@ pub const TX_CACHE_URL: &str = "localhost:8080/txcache"; /// Host config pub const HOST: HostConstants = HostConstants::new( HOST_CHAIN_ID, - 0, + DEPLOY_HEIGHT, HOST_ZENITH, HOST_ORDERS, HOST_PASSAGE, From 3c0fa9861fa8b53690e480f31451908bf7cb7603 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 26 Aug 2025 15:18:06 -0400 Subject: [PATCH 2/2] chore: bump version --- Cargo.toml | 2 +- crates/test-utils/tests/extract.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e84b5119..c9896943 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "0.9.3" +version = "0.9.4" edition = "2021" rust-version = "1.81" authors = ["init4"] diff --git a/crates/test-utils/tests/extract.rs b/crates/test-utils/tests/extract.rs index 6f6f9dd8..dffda452 100644 --- a/crates/test-utils/tests/extract.rs +++ b/crates/test-utils/tests/extract.rs @@ -16,7 +16,7 @@ fn extraction() { ru_block.add_simple_send(&TEST_SIGNERS[0], TEST_USERS[1], U256::from(GWEI_TO_WEI), 0); let hbs = HostBlockSpec::test() - .with_block_number(1) + .with_block_number(TEST_SYS.host_deploy_height() + 1) .enter(TEST_USERS[0], (GWEI_TO_WEI * 4) as usize) .enter(TEST_USERS[1], (GWEI_TO_WEI * 2) as usize) .enter_token(TEST_USERS[2], 10_000_000, HOST_USDC)