Skip to content

Fix/update testnet burn heights #6315

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

Open
wants to merge 3 commits into
base: release/3.2.0.0.0-rc1
Choose a base branch
from
Open
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
18 changes: 9 additions & 9 deletions stackslib/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ pub const BITCOIN_TESTNET_FIRST_BLOCK_HEIGHT: u64 = 2000000;
pub const BITCOIN_TESTNET_FIRST_BLOCK_TIMESTAMP: u32 = 1622691840;
pub const BITCOIN_TESTNET_FIRST_BLOCK_HASH: &str =
"000000000000010dd0863ec3d7a0bae17c1957ae1de9cbcdae8e77aad33e3b8c";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

☝️ You'll need to update these and some other related code as well.

pub const BITCOIN_TESTNET_STACKS_2_05_BURN_HEIGHT: u64 = 2_104_380;
pub const BITCOIN_TESTNET_STACKS_21_BURN_HEIGHT: u64 = 2_422_101;
pub const BITCOIN_TESTNET_STACKS_22_BURN_HEIGHT: u64 = 2_431_300;
pub const BITCOIN_TESTNET_STACKS_23_BURN_HEIGHT: u64 = 2_431_633;
pub const BITCOIN_TESTNET_STACKS_24_BURN_HEIGHT: u64 = 2_432_545;
pub const BITCOIN_TESTNET_STACKS_25_BURN_HEIGHT: u64 = 2_583_893;
pub const BITCOIN_TESTNET_STACKS_30_BURN_HEIGHT: u64 = 30_000_000;
pub const BITCOIN_TESTNET_STACKS_31_BURN_HEIGHT: u64 = 30_000_001;
pub const BITCOIN_TESTNET_STACKS_32_BURN_HEIGHT: u64 = 30_000_002;
pub const BITCOIN_TESTNET_STACKS_2_05_BURN_HEIGHT: u64 = 1;
pub const BITCOIN_TESTNET_STACKS_21_BURN_HEIGHT: u64 = 2;
pub const BITCOIN_TESTNET_STACKS_22_BURN_HEIGHT: u64 = 3;
pub const BITCOIN_TESTNET_STACKS_23_BURN_HEIGHT: u64 = 4;
pub const BITCOIN_TESTNET_STACKS_24_BURN_HEIGHT: u64 = 5;
pub const BITCOIN_TESTNET_STACKS_25_BURN_HEIGHT: u64 = 6;
pub const BITCOIN_TESTNET_STACKS_30_BURN_HEIGHT: u64 = 1900;
pub const BITCOIN_TESTNET_STACKS_31_BURN_HEIGHT: u64 = 2000;
pub const BITCOIN_TESTNET_STACKS_32_BURN_HEIGHT: u64 = 71525;

/// This constant sets the approximate testnet bitcoin height at which 2.5 Xenon
/// was reorged back to 2.5 instantiation. This is only used to calculate the
Expand Down