From 1fb886c75928f543a6bc241794ac6405218cd575 Mon Sep 17 00:00:00 2001 From: Hugo Caillard <911307+hugocaillard@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:38:42 +0200 Subject: [PATCH] feat: update testnet epochs heights --- .../clarinet-deployments/src/requirements.rs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/components/clarinet-deployments/src/requirements.rs b/components/clarinet-deployments/src/requirements.rs index 5f24c66c8..bde6da30e 100644 --- a/components/clarinet-deployments/src/requirements.rs +++ b/components/clarinet-deployments/src/requirements.rs @@ -131,15 +131,14 @@ pub const MAINNET_25_START_HEIGHT: u32 = 147_290; // @TODO: set right heights once live on mainnet pub const MAINNET_30_START_HEIGHT: u32 = 300_000; -pub const TESTNET_20_START_HEIGHT: u32 = 1; -pub const TESTNET_2_05_START_HEIGHT: u32 = 20_216; -pub const TESTNET_21_START_HEIGHT: u32 = 99_113; -pub const TESTNET_22_START_HEIGHT: u32 = 105_923; -pub const TESTNET_23_START_HEIGHT: u32 = 106_196; -pub const TESTNET_24_START_HEIGHT: u32 = 106_979; -pub const TESTNET_25_START_HEIGHT: u32 = 152_256; -// @TODO: set right heights once live on testnet -pub const TESTNET_30_START_HEIGHT: u32 = 300_000; +pub const TESTNET_20_START_HEIGHT: u32 = 0; +pub const TESTNET_2_05_START_HEIGHT: u32 = 1; +pub const TESTNET_21_START_HEIGHT: u32 = 2; +pub const TESTNET_22_START_HEIGHT: u32 = 3; +pub const TESTNET_23_START_HEIGHT: u32 = 4; +pub const TESTNET_24_START_HEIGHT: u32 = 5; +pub const TESTNET_25_START_HEIGHT: u32 = 6; +pub const TESTNET_30_START_HEIGHT: u32 = 56_457; fn epoch_for_height(is_mainnet: bool, height: u32) -> StacksEpochId { if is_mainnet {