-
Notifications
You must be signed in to change notification settings - Fork 19
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
- ...
Metadata
Metadata
Assignees
Labels
No labels