diff --git a/pallets/vector/src/constants.rs b/pallets/vector/src/constants.rs index 519609598..ad554cbc9 100644 --- a/pallets/vector/src/constants.rs +++ b/pallets/vector/src/constants.rs @@ -7,8 +7,8 @@ use sp_core::H256; // "secondsPerSlot": 12, // "slotsPerPeriod": 8192, // "sourceChainId": 1, -// "syncCommitteePeriod": 1090, -// "syncCommitteePoseidon": "0x1e20a0cc530eb84dc1c40a572737fb0f284855d8740251edcd0f3612d6e6b0df" +// "syncCommitteePeriod": 1151, +// "syncCommitteePoseidon": "0x021ec07b06055642fff1304c3516715febfea258638f44cedd8f045465574663" // } // Vector initial configuration @@ -16,7 +16,7 @@ pub const BROADCASTER_DOMAIN: u32 = 2; pub const BROADCASTER: H256 = H256::zero(); pub const SLOTS_PER_PERIOD: u64 = 8192; pub const FINALITY_THRESHOLD: u16 = 342; -pub const PERIOD: u64 = 1090; +pub const PERIOD: u64 = 1151; // Attention! // If Posidon hash starts with "0" it (the zero character) will be ignore. // This means that that hash needs to be manually added to the chain spec. @@ -25,7 +25,7 @@ pub const PERIOD: u64 = 1090; pub fn get_poseidon_hash_for_period() -> U256 { // PERIOD hash U256::from(hex!( - "1e20a0cc530eb84dc1c40a572737fb0f284855d8740251edcd0f3612d6e6b0df" + "021ec07b06055642fff1304c3516715febfea258638f44cedd8f045465574663" )) } pub const GENESIS_VALIDATOR_ROOT: H256 = H256(hex!(