Skip to content

Commit

Permalink
rollback spec
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Dec 26, 2023
1 parent afd3299 commit 9d2b201
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion util/constant/src/hardfork/mainnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ pub const CHAIN_SPEC_NAME: &str = "ckb";
/// hardcode rfc0028/rfc0032/rfc0033/rfc0034 epoch
pub const RFC0028_RFC0032_RFC0033_RFC0034_START_EPOCH: u64 = 5414;
/// First epoch number for CKB v2021, at about 2022/05/10 1:00 UTC
pub const CKB2021_START_EPOCH: u64 = 5414;
// pub const CKB2021_START_EPOCH: u64 = 5414;
pub const CKB2021_START_EPOCH: u64 = 0;

/// hardcode ckb2023 epoch
pub const CKB2023_START_EPOCH: u64 = u64::MAX;
3 changes: 2 additions & 1 deletion util/constant/src/hardfork/testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ pub const CHAIN_SPEC_NAME: &str = "ckb_testnet";
/// hardcode rfc0028/rfc0032/rfc0033/rfc0034 epoch
pub const RFC0028_RFC0032_RFC0033_RFC0034_START_EPOCH: u64 = 3113;
/// First epoch number for CKB v2021, at about 2021/10/24 3:15 UTC.
pub const CKB2021_START_EPOCH: u64 = 3113;
// pub const CKB2021_START_EPOCH: u64 = 3113;
pub const CKB2021_START_EPOCH: u64 = 0;

/// hardcode ckb2023 epoch
pub const CKB2023_START_EPOCH: u64 = u64::MAX;

0 comments on commit 9d2b201

Please sign in to comment.