Skip to content

Commit

Permalink
feat: upgrade to SP1 v4
Browse files Browse the repository at this point in the history
  • Loading branch information
oyyblin committed Jan 27, 2025
1 parent c516805 commit 3c2d53b
Show file tree
Hide file tree
Showing 19 changed files with 1,094 additions and 1,714 deletions.
2 changes: 1 addition & 1 deletion contracts/script/deploy/Raffle.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract RaffleScript is BaseScript {
console.logBytes32(vkey);
console.log("DrandOracle:", drandOracle);

Raffle raffle = new Raffle(owner, signer, verifier, vkey, drandOracle);
Raffle raffle = new Raffle{salt: CREATE2_SALT}(owner, signer, verifier, vkey, drandOracle);
console.log("Raffle deployed at:", address(raffle));

// Write address
Expand Down
Binary file modified prover-service/elf/riscv32im-succinct-zkvm-elf
Binary file not shown.
7 changes: 4 additions & 3 deletions zk/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 'mock' for generating mock proofs locally, 'local' for generating proofs locally, 'network' for generating proofs using the proving network.
SP1_PROVER=local
# 'mock' for generating mock proofs locally, 'cpu' for generating proofs locally, 'network' for generating proofs using the proving network.
SP1_PROVER=cpu
# If using the proving network, set to your whitelisted private key. For more information, see:
# https://docs.succinct.xyz/prover-network/setup.html#key-setup
SP1_PRIVATE_KEY=
NETWORK_PRIVATE_KEY=
NETWORK_RPC_URL=https://rpc.production.succinct.xyz
Loading

0 comments on commit 3c2d53b

Please sign in to comment.