Skip to content

Commit

Permalink
chore: update 2.5 constants (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard authored Apr 22, 2024
1 parent 9440f58 commit e2295e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions components/clarinet-deployments/src/requirements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ pub const MAINNET_21_START_HEIGHT: u32 = 99_113;
pub const MAINNET_22_START_HEIGHT: u32 = 103_900;
pub const MAINNET_23_START_HEIGHT: u32 = 104_359;
pub const MAINNET_24_START_HEIGHT: u32 = 107_055;
// @TODO: set right heights once epochs are live on mainnet
pub const MAINNET_25_START_HEIGHT: u32 = 200_000;
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;
Expand All @@ -137,7 +137,7 @@ 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 epochs are live on testnet
// @TODO: set right heights once live on testnet
pub const TESTNET_30_START_HEIGHT: u32 = 300_000;

fn epoch_for_height(is_mainnet: bool, height: u32) -> StacksEpochId {
Expand Down
2 changes: 1 addition & 1 deletion components/clarity-repl/src/repl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use clarity::types::StacksEpochId;
use clarity::vm::ClarityVersion;

pub const DEFAULT_CLARITY_VERSION: ClarityVersion = ClarityVersion::Clarity2;
pub const DEFAULT_EPOCH: StacksEpochId = StacksEpochId::Epoch24;
pub const DEFAULT_EPOCH: StacksEpochId = StacksEpochId::Epoch25;

#[derive(Deserialize, Debug, Clone)]
pub struct ClarityContract {
Expand Down

0 comments on commit e2295e1

Please sign in to comment.