Skip to content

Commit

Permalink
feat: fix vkey script
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jan 10, 2025
1 parent f8dd210 commit 0438754
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 5 additions & 5 deletions contracts/genesis.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"executionStateRoot": "0x91ce451ec39cad026fd5d242365c92cc5d56d4ef1362ebff20559585f89c1f7d",
"executionStateRoot": "0xdf692e41511ac4a0382f73ea44b3820bd87effc050d43c104abca9bc482c250b",
"genesisTime": 1655733600,
"genesisValidatorsRoot": "0xd8ea171f3c94aea21ebc42a1ed61052acf3f9209c00e4efbaaddac09ed9b8078",
"guardian": "0xded0000e32f8f40414d3ab3a830f735a3553e18e",
"head": 6726144,
"header": "0x3d058d5890fbbb7c2e349e140c95044dfb5d00b9f6205c889b0d1d000a322de5",
"heliosProgramVkey": "0x000b8552e84d824545ed24bb0c5c2c3d5180810140c7f63228389cc08904e56f",
"guardian": "0x788c45cafab3ea427b9079889be43d7d3cd7500c",
"head": 6733152,
"header": "0xce795ebea5c29436d4a10ca097712d2785e4f8541caec377c7388306d6c21376",
"heliosProgramVkey": "0x00796ec46c244906ad25c835f76c682e538e7ec0837a77bdaa88f0eb1aad8e9f",
"secondsPerSlot": 12,
"slotsPerEpoch": 32,
"slotsPerPeriod": 8192,
Expand Down
6 changes: 1 addition & 5 deletions script/bin/vkey.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use alloy_primitives::B256;
use anyhow::Result;
use sp1_sdk::{HashableKey, Prover, ProverClient};

Expand All @@ -7,9 +6,6 @@ const HELIOS_ELF: &[u8] = include_bytes!("../../elf/sp1-helios-elf");
fn main() -> Result<()> {
let client = ProverClient::builder().cpu().build();
let (_pk, vk) = client.setup(HELIOS_ELF);
println!(
"SP1 Helios Verifying Key: {:?}",
B256::from(vk.hash_bytes())
);
println!("SP1 Helios Verifying Key: {:?}", vk.bytes32());
Ok(())
}

0 comments on commit 0438754

Please sign in to comment.