Skip to content

Commit

Permalink
fix: adding back sp1 key
Browse files Browse the repository at this point in the history
  • Loading branch information
praetoriansentry committed Jan 16, 2025
1 parent a44af4b commit 7166d7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions agglayer.star
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ def run(plan, args, contract_setup_addresses):
prover_env_vars["RUST_BACKTRACE"] = "1"
if "agglayer_prover_sp1_key" in args and args["agglayer_prover_sp1_key"] != None:
prover_env_vars["NETWORK_PRIVATE_KEY"] = args["agglayer_prover_sp1_key"]
# Keeping this for backward compatibility for now
prover_env_vars["SP1_PRIVATE_KEY"] = args["agglayer_prover_sp1_key"]
prover_env_vars["NETWORK_RPC_URL"] = args["agglayer_prover_network_url"]

agglayer_prover = plan.add_service(
Expand Down
2 changes: 1 addition & 1 deletion input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ DEFAULT_ROLLUP_ARGS = {
# If the agglayer is going to be configured to use SP1 services, we'll need to provide an API Key
"agglayer_prover_sp1_key": None,
# If we're setting an sp1 key, we might want to specify a specific RPC url as well
"agglayer_prover_network_url": "https://rpc.production2.succinct.tools/",
"agglayer_prover_network_url": "https://rpc.succinct.xyz/",
# The URL where the agglayer can be reached
"agglayer_url": "http://agglayer:" + str(DEFAULT_PORTS.get("agglayer_port")),
# This is a path where the cdk-node will write data
Expand Down

0 comments on commit 7166d7c

Please sign in to comment.