Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: DNS-1035 label #44

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions src/contracts/contract_deployer.star
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def deploy_factory_contract(
l1_config_env_vars,
):
factory_deployment_result = plan.run_sh(
name="op_deploy_factory_contract",
name="op-deploy-factory-contract",
description="Deploying L2 factory contract to L1 (needs to wait for l1 to finalize, about 4 min for minimal preset, 30 min for mainnet)",
image=IMAGE,
env_vars={
Expand Down Expand Up @@ -47,7 +47,7 @@ def deploy_l2_contracts(
l2_services_suffix,
):
op_genesis = plan.run_sh(
name="op_deploy_l2_contracts",
name="op-deploy-l2-contracts",
description="Deploying L2 contracts (takes about a minute)",
image=IMAGE,
env_vars={
Expand Down Expand Up @@ -108,47 +108,50 @@ def deploy_l2_contracts(
)

gs_sequencer_private_key = plan.run_sh(
name="read-gs-sequencer-private-key",
description="Getting the sequencer private key",
run="cat /network-configs/GS_SEQUENCER_PRIVATE_KEY ",
files={"/network-configs": op_genesis.files_artifacts[0]},
)

gs_batcher_private_key = plan.run_sh(
name="read-gs-batcher-private-key",
description="Getting the batcher private key",
run="cat /network-configs/GS_BATCHER_PRIVATE_KEY ",
files={"/network-configs": op_genesis.files_artifacts[0]},
)

gs_proposer_private_key = plan.run_sh(
name="read-gs-proposer-private-key",
description="Getting the proposer private key",
run="cat /network-configs/GS_PROPOSER_PRIVATE_KEY ",
files={"/network-configs": op_genesis.files_artifacts[0]},
)

l2oo_address = plan.run_sh(
name="read_l2oo_address",
name="read-l2oo-address",
description="Getting the L2OutputOracleProxy address",
run="jq -r .L2OutputOracleProxy /network-configs/kurtosis.json | tr -d '\n'",
files={"/network-configs": op_genesis.files_artifacts[0]},
)

l1_bridge_address = plan.run_sh(
name="read_l1_bridge_address",
name="read-l1-bridge-address",
description="Getting the L1StandardBridgeProxy address",
run="jq -r .L1StandardBridgeProxy /network-configs/kurtosis.json | tr -d '\n'",
files={"/network-configs": op_genesis.files_artifacts[0]},
)

l1_deposit_start_block = plan.run_sh(
name="read_l1_deposit_start_block",
name="read-l1-deposit-start-block",
description="Getting the L1StandardBridgeProxy address",
image="badouralix/curl-jq",
run="jq -r .genesis.l1.number /network-configs/rollup.json | tr -d '\n'",
files={"/network-configs": op_genesis.files_artifacts[0]},
)

l1_portal_contract = plan.run_sh(
name="read_l1_portal_contract",
name="read-l1-portal-contract",
description="Getting the L1 portal contract",
run="jq -r .OptimismPortal /network-configs/kurtosis.json | tr -d '\n'",
files={"/network-configs": op_genesis.files_artifacts[0]},
Expand Down