Skip to content

Commit

Permalink
Merge pull request #2542 from zosorock/mainnet-beta/v0.1.0
Browse files Browse the repository at this point in the history
Updating Mainnet Beta genesis block for release v0.1.0
  • Loading branch information
zosorock authored Sep 4, 2024
2 parents 5bb50a8 + e39e130 commit 02994a1
Show file tree
Hide file tree
Showing 6 changed files with 706 additions and 3 deletions.
4 changes: 2 additions & 2 deletions console/network/src/mainnet_v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ impl Network for MainnetV0 {
#[cfg(feature = "test")]
const GENESIS_PROOF_TARGET: u64 = 1u64 << 3;
/// The fixed timestamp of the genesis block.
const GENESIS_TIMESTAMP: i64 = 1696118400 /* 2023-10-01 00:00:00 UTC */;
const GENESIS_TIMESTAMP: i64 = 1725462000 /* 2024-09-04 11:00:00 UTC */;
/// The network ID.
const ID: u16 = 0;
/// The function name for the inclusion circuit.
const INCLUSION_FUNCTION_NAME: &'static str = snarkvm_parameters::mainnet::NETWORK_INCLUSION_FUNCTION_NAME;
/// The maximum number of certificates in a batch.
const MAX_CERTIFICATES: u16 = 15;
const MAX_CERTIFICATES: u16 = 16;
/// The network name.
const NAME: &'static str = "Aleo Mainnet (v0)";

Expand Down
2 changes: 1 addition & 1 deletion parameters/src/mainnet/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ mod tests {
#[test]
fn test_genesis_block() {
let bytes = GenesisBytes::load_bytes();
assert_eq!(20083, bytes.len() as u64, "Update me if serialization has changed");
assert_eq!(31083, bytes.len() as u64, "Update me if serialization has changed");
}
}
Binary file modified parameters/src/mainnet/resources/block.genesis
Binary file not shown.
Loading

0 comments on commit 02994a1

Please sign in to comment.