-
Notifications
You must be signed in to change notification settings - Fork 21
Specify the genesis variant for the EvmSketch #232
Copy link
Copy link
Closed
Description
Description
The sp1-contract-call crates are used in the aggchain proof for contract calls verification.
Recent update requires one genesis value (cf. here)
This genesis value must be properly specified according to the L1 for which the prover is instantiated.
Example in a test where the L1 is Sepolia:
let new = EvmSketch::builder()
.at_block(BlockNumberOrTag::Number(final_block_number))
.with_genesis(Genesis::Sepolia)
.el_rpc_url(rpc_url_l2.clone())
.build()
.await?;Solution
This with_genesis must be set properly in the production code to set whether the L1 is mainnet, sepolia, etc.
Several options:
- From a config file entry specifying the chain id
- The genesis variant directly
- ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels