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/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, 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)