Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update testnet epochs heights #1582

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions components/clarinet-deployments/src/requirements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading