From 290ef9fd1a96725953b538d554c087b0fa88de22 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Fri, 16 Aug 2024 14:34:44 +0200 Subject: [PATCH 1/9] feat: add custom configurable forks --- Dockerfile | 26 +++++++++++-------- README.md | 24 ++++++++++++++++- main.star | 2 +- network_params.yaml | 2 ++ .../op-batcher/op_batcher_launcher.star | 1 + src/cl/op-node/op_node_launcher.star | 1 + src/contracts/contract_deployer.star | 12 ++++++--- src/l2.star | 16 +++++++++++- src/package_io/input_parser.star | 14 +++++++--- src/package_io/sanity_check.star | 4 +++ .../op-proposer/op_proposer_launcher.star | 1 + 11 files changed, 83 insertions(+), 20 deletions(-) diff --git a/Dockerfile b/Dockerfile index e505400d..5628af19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ g++ \ python3 \ python3-pip \ - nodejs \ - npm \ vim \ build-essential \ libusb-1.0-0-dev \ @@ -24,11 +22,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -# Install pnpm -RUN npm install -g pnpm@9 # Install Go from the official golang image -COPY --from=golang:alpine /usr/local/go/ /usr/local/go/ +COPY --from=golang:1.22.6 /usr/local/go/ /usr/local/go/ ENV PATH="/usr/local/go/bin:${PATH}" # Install web3 cli @@ -39,17 +35,25 @@ RUN curl -L https://foundry.paradigm.xyz | bash ENV PATH="/root/.foundry/bin:${PATH}" RUN foundryup -RUN git clone https://github.com/ethereum-optimism/optimism.git && \ +# RUN git clone --recursive https://github.com/ethereum-optimism/optimism.git && \ +# cd optimism && \ +# git submodule update && \ +# git checkout develop && \ +# git pull origin develop && \ +# git fetch --all && \ +# cd op-node && \ +# make + +RUN git clone --recursive https://github.com/barnabasbusa/optimism.git && \ cd optimism && \ - git checkout develop && \ - git pull origin develop && \ - pnpm install && \ - pnpm build && \ + git submodule update && \ + git checkout getting-started-update && \ + git pull origin getting-started-update && \ + git fetch --all && \ cd op-node && \ make - # Use multi-stage build to keep the final image lean FROM debian:stable-slim diff --git a/README.md b/README.md index 7b9b2cf3..e7a417ed 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ optimism_package: # The Docker image that should be used for the CL client; leave blank to use the default for the client type # Defaults by client: - # - op-node: parithoshj/op-node:v1 + # - op-node: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:develop # - hildr: ghcr.io/optimism-java/hildr:latest cl_image: "" @@ -97,6 +97,28 @@ optimism_package: # Defaults to "op-kurtosis" name: "op-kurtosis" + # Triggering future forks in the network + # Fjord fork + # Defaults to 0 (genesis activation) - decimal value + # Offset is in seconds + fjord_time_offset: 0 + + # Granite fork + # Defaults to None - not activated - decimal value + # Offset is in seconds + granite_time_offset: "" + + # Holocene fork + # Defaults to None - not activated - decimal value + # Offset is in seconds + holocene_time_offset: "" + + # Interop fork + # Defaults to None - not activated - decimal value + # Offset is in seconds + interop_time_offset: "" + + # Additional services to run alongside the network # Defaults to [] # Available services: diff --git a/main.star b/main.star index 7b085f3c..fe468e89 100644 --- a/main.star +++ b/main.star @@ -41,7 +41,6 @@ def run(plan, args): # Deploy Create2 Factory contract (only need to do this once for multiple l2s) contract_deployer.deploy_factory_contract(plan, l1_priv_key, l1_config_env_vars) - # Deploy L2s plan.print("Deploying a local L2") if type(optimism_args) == "dict": @@ -72,6 +71,7 @@ def run(plan, args): network_id ) ) + seen_names[name] = True seen_network_ids[network_id] = True l2_services_suffix = "-{0}".format(name) diff --git a/network_params.yaml b/network_params.yaml index 8f88ec82..eb475113 100644 --- a/network_params.yaml +++ b/network_params.yaml @@ -6,3 +6,5 @@ optimism_package: - el_type: op-nethermind additional_services: - blockscout + network_params: + granite_time_offset: 11 diff --git a/src/batcher/op-batcher/op_batcher_launcher.star b/src/batcher/op-batcher/op_batcher_launcher.star index 8b363a8a..33a5d684 100644 --- a/src/batcher/op-batcher/op_batcher_launcher.star +++ b/src/batcher/op-batcher/op_batcher_launcher.star @@ -73,6 +73,7 @@ def get_batcher_config( gs_batcher_private_key, ): cmd = [ + "op-batcher", "--l2-eth-rpc=" + el_context.rpc_http_url, "--rollup-rpc=" + cl_context.beacon_http_url, "--poll-interval=1s", diff --git a/src/cl/op-node/op_node_launcher.star b/src/cl/op-node/op_node_launcher.star index f837c28d..1da22859 100644 --- a/src/cl/op-node/op_node_launcher.star +++ b/src/cl/op-node/op_node_launcher.star @@ -144,6 +144,7 @@ def get_beacon_config( used_ports = get_used_ports(BEACON_DISCOVERY_PORT_NUM) cmd = [ + "op-node", "--l2={0}".format(EXECUTION_ENGINE_ENDPOINT), "--l2.jwt-secret=" + constants.JWT_MOUNT_PATH_ON_CONTAINER, "--verifier.l1-confs=4", diff --git a/src/contracts/contract_deployer.star b/src/contracts/contract_deployer.star index bd2b4d9a..31442eb1 100644 --- a/src/contracts/contract_deployer.star +++ b/src/contracts/contract_deployer.star @@ -1,4 +1,5 @@ -IMAGE = "ethpandaops/optimism-contract-deployer:latest" +IMAGE = "ethpandaops/optimism-contract-deployer:develop" +#IMAGE = "bbusa/ops:latest" ENVRC_PATH = "/workspace/optimism/.envrc" FACTORY_DEPLOYER_ADDRESS = "0x3fAB184622Dc19b6109349B94811493BF2a45362" @@ -13,6 +14,7 @@ def deploy_factory_contract( plan, priv_key, l1_config_env_vars, + ): factory_deployment_result = plan.run_sh( name="op-deploy-factory-contract", @@ -50,6 +52,7 @@ def deploy_l2_contracts( l1_config_env_vars, l2_config_env_vars, l2_services_suffix, + fork_activation_env, ): chainspec_files_artifact = plan.upload_files( src=CHAINSPEC_JQ_FILEPATH, @@ -67,7 +70,8 @@ def deploy_l2_contracts( "DEPLOYMENT_CONTEXT": "getting-started", } | l1_config_env_vars - | l2_config_env_vars, + | l2_config_env_vars + | fork_activation_env, files={ "/workspace/optimism/packages/contracts-bedrock/deploy-config/chainspec-generator/": chainspec_files_artifact, }, @@ -98,8 +102,10 @@ def deploy_l2_contracts( 'jq \'. + {"fundDevAccounts": true, "useInterop": true}\' $DEPLOY_CONFIG_PATH > tmp.$$.json && mv tmp.$$.json $DEPLOY_CONFIG_PATH', # sleep till gs_admin_address is funded "while true; do sleep 1; echo 'GS_ADMIN_ADDRESS is not yet funded...'; if [ \"$(web3 balance $GS_ADMIN_ADDRESS)\" != \"0\" ]; then echo 'GS_ADMIN_ADDRESS is funded!'; break; fi; done", - "forge script scripts/Deploy.s.sol:Deploy --private-key $GS_ADMIN_PRIVATE_KEY --broadcast --rpc-url $L1_RPC_URL", + "echo 'Deploying scripts/deploy/Deploy.s.sol'", + "forge script scripts/deploy/Deploy.s.sol:Deploy --private-key $GS_ADMIN_PRIVATE_KEY --broadcast --rpc-url $L1_RPC_URL", "sleep 3", + "echo 'Deploying scripts/L2Genesis.s.sol'", "CONTRACT_ADDRESSES_PATH=$DEPLOYMENT_OUTFILE forge script scripts/L2Genesis.s.sol:L2Genesis --sig 'runWithStateDump()' --chain-id $L2_CHAIN_ID", "cd /workspace/optimism/op-node/bin", "./op-node genesis l2 \ diff --git a/src/l2.star b/src/l2.star index aeb5154d..4264871a 100644 --- a/src/l2.star +++ b/src/l2.star @@ -22,7 +22,8 @@ def launch_l2( l2_config_env_vars = {} l2_config_env_vars["L2_CHAIN_ID"] = str(network_params.network_id) l2_config_env_vars["L2_BLOCK_TIME"] = str(network_params.seconds_per_slot) - + fork_activation_env = get_network_fork_activation(network_params) + plan.print(fork_activation_env) ( el_cl_data, gs_private_keys, @@ -35,6 +36,7 @@ def launch_l2( l1_config, l2_config_env_vars, l2_services_suffix, + fork_activation_env, ) plan.print("Deploying L2 with name {0}".format(network_params.name)) @@ -81,3 +83,15 @@ def launch_l2( l1_bridge_address ) ) + + +def get_network_fork_activation(network_params): + env_vars = {} + env_vars["FJORD_TIME_OFFSET"] = "0x" + "%x" % network_params.fjord_time_offset + if network_params.granite_time_offset: + env_vars["GRANITE_TIME_OFFSET"] = "0x" + "%x" % network_params.granite_time_offset + if network_params.holocene_time_offset: + env_vars["HOLOCENE_TIME_OFFSET"] = "0x" + "%x" % network_params.holocene_time_offset + if network_params.interop_time_offset: + env_vars["INTEROP_TIME_OFFSET"] = "0x" + "%x" % network_params.interop_time_offset + return env_vars diff --git a/src/package_io/input_parser.star b/src/package_io/input_parser.star index c8a062f9..fdc70265 100644 --- a/src/package_io/input_parser.star +++ b/src/package_io/input_parser.star @@ -12,16 +12,16 @@ DEFAULT_EL_IMAGES = { } DEFAULT_CL_IMAGES = { - "op-node": "parithoshj/op-node:v1", + "op-node": "us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:develop", "hildr": "ghcr.io/optimism-java/hildr:latest", } DEFAULT_BATCHER_IMAGES = { - "op-batcher": "parithoshj/op-batcher:v1", + "op-batcher": "us-docker.pkg.dev/oplabs-tools-artifacts/images/op-batcher:develop", } DEFAULT_PROPOSER_IMAGES = { - "op-proposer": "parithoshj/op-proposer:v1", + "op-proposer": "us-docker.pkg.dev/oplabs-tools-artifacts/images/op-proposer:develop", } ATTR_TO_BE_SKIPPED_AT_ROOT = ( @@ -53,6 +53,10 @@ def input_parser(plan, input_args): network_id=result["network_params"]["network_id"], seconds_per_slot=result["network_params"]["seconds_per_slot"], name=result["network_params"]["name"], + fjord_time_offset=result["network_params"]["fjord_time_offset"], + granite_time_offset=result["network_params"]["granite_time_offset"], + holocene_time_offset=result["network_params"]["holocene_time_offset"], + interop_time_offset=result["network_params"]["interop_time_offset"], ), additional_services=result.get( "additional_services", DEFAULT_ADDITIONAL_SERVICES @@ -132,6 +136,10 @@ def default_network_params(): "network_id": "2151908", "name": "op-kurtosis", "seconds_per_slot": 2, + "fjord_time_offset": 0, + "granite_time_offset": None, + "holocene_time_offset": None, + "interop_time_offset": None, } diff --git a/src/package_io/sanity_check.star b/src/package_io/sanity_check.star index 181b836c..c5aa7dcc 100644 --- a/src/package_io/sanity_check.star +++ b/src/package_io/sanity_check.star @@ -14,6 +14,10 @@ SUBCATEGORY_PARAMS = { "network_id", "seconds_per_slot", "name", + "fjord_time_offset", + "granite_time_offset", + "holocene_time_offset", + "interop_time_offset", ], } diff --git a/src/proposer/op-proposer/op_proposer_launcher.star b/src/proposer/op-proposer/op_proposer_launcher.star index 961602c8..6b049f1c 100644 --- a/src/proposer/op-proposer/op_proposer_launcher.star +++ b/src/proposer/op-proposer/op_proposer_launcher.star @@ -73,6 +73,7 @@ def get_proposer_config( l2oo_address, ): cmd = [ + "op-proposer", "--poll-interval=12s", "--rpc.port=" + str(PROPOSER_HTTP_PORT_NUM), "--rollup-rpc=" + cl_context.beacon_http_url, From 7be243a0465afd5f05a80bbc97d7dfaac4a760f3 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Fri, 16 Aug 2024 14:39:24 +0200 Subject: [PATCH 2/9] fix lint, update contract image for now --- src/contracts/contract_deployer.star | 5 ++--- src/l2.star | 12 +++++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/contracts/contract_deployer.star b/src/contracts/contract_deployer.star index 31442eb1..b830d744 100644 --- a/src/contracts/contract_deployer.star +++ b/src/contracts/contract_deployer.star @@ -1,5 +1,5 @@ -IMAGE = "ethpandaops/optimism-contract-deployer:develop" -#IMAGE = "bbusa/ops:latest" +#IMAGE = "ethpandaops/optimism-contract-deployer:develop" +IMAGE = "bbusa/ops:latest" ENVRC_PATH = "/workspace/optimism/.envrc" FACTORY_DEPLOYER_ADDRESS = "0x3fAB184622Dc19b6109349B94811493BF2a45362" @@ -14,7 +14,6 @@ def deploy_factory_contract( plan, priv_key, l1_config_env_vars, - ): factory_deployment_result = plan.run_sh( name="op-deploy-factory-contract", diff --git a/src/l2.star b/src/l2.star index 4264871a..2d87838e 100644 --- a/src/l2.star +++ b/src/l2.star @@ -89,9 +89,15 @@ def get_network_fork_activation(network_params): env_vars = {} env_vars["FJORD_TIME_OFFSET"] = "0x" + "%x" % network_params.fjord_time_offset if network_params.granite_time_offset: - env_vars["GRANITE_TIME_OFFSET"] = "0x" + "%x" % network_params.granite_time_offset + env_vars["GRANITE_TIME_OFFSET"] = ( + "0x" + "%x" % network_params.granite_time_offset + ) if network_params.holocene_time_offset: - env_vars["HOLOCENE_TIME_OFFSET"] = "0x" + "%x" % network_params.holocene_time_offset + env_vars["HOLOCENE_TIME_OFFSET"] = ( + "0x" + "%x" % network_params.holocene_time_offset + ) if network_params.interop_time_offset: - env_vars["INTEROP_TIME_OFFSET"] = "0x" + "%x" % network_params.interop_time_offset + env_vars["INTEROP_TIME_OFFSET"] = ( + "0x" + "%x" % network_params.interop_time_offset + ) return env_vars From a994c2d03aae789e71782b91e6de94ae32454968 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Fri, 16 Aug 2024 14:40:39 +0200 Subject: [PATCH 3/9] yeet custom config --- network_params.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/network_params.yaml b/network_params.yaml index eb475113..8f88ec82 100644 --- a/network_params.yaml +++ b/network_params.yaml @@ -6,5 +6,3 @@ optimism_package: - el_type: op-nethermind additional_services: - blockscout - network_params: - granite_time_offset: 11 From ae3635b279179e4cd03aa71be3049ccac69bf939 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Fri, 16 Aug 2024 15:03:44 +0200 Subject: [PATCH 4/9] add upstream contract deployer --- Dockerfile | 83 ---------------------------- README.md | 6 ++ src/contracts/contract_deployer.star | 3 +- 3 files changed, 7 insertions(+), 85 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 5628af19..00000000 --- a/Dockerfile +++ /dev/null @@ -1,83 +0,0 @@ -FROM debian:latest as builder - -WORKDIR /workspace - -# Install dependencies using apt -RUN apt-get update && apt-get install -y --no-install-recommends \ - git \ - make \ - jq \ - direnv \ - bash \ - curl \ - gcc \ - g++ \ - python3 \ - python3-pip \ - vim \ - build-essential \ - libusb-1.0-0-dev \ - libssl-dev \ - ca-certificates \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* - - -# Install Go from the official golang image -COPY --from=golang:1.22.6 /usr/local/go/ /usr/local/go/ -ENV PATH="/usr/local/go/bin:${PATH}" - -# Install web3 cli -RUN curl -LSs https://raw.githubusercontent.com/gochain/web3/master/install.sh | sh - -# Install Rust and Foundry -RUN curl -L https://foundry.paradigm.xyz | bash -ENV PATH="/root/.foundry/bin:${PATH}" -RUN foundryup - -# RUN git clone --recursive https://github.com/ethereum-optimism/optimism.git && \ -# cd optimism && \ -# git submodule update && \ -# git checkout develop && \ -# git pull origin develop && \ -# git fetch --all && \ -# cd op-node && \ -# make - -RUN git clone --recursive https://github.com/barnabasbusa/optimism.git && \ - cd optimism && \ - git submodule update && \ - git checkout getting-started-update && \ - git pull origin getting-started-update && \ - git fetch --all && \ - cd op-node && \ - make - - -# Use multi-stage build to keep the final image lean -FROM debian:stable-slim - -WORKDIR /workspace - -# Install dependencies using apt -RUN apt-get update && apt-get install -y --no-install-recommends \ - jq \ - direnv \ - git \ - bash \ - curl \ - ca-certificates \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* - -COPY --from=builder /usr/local /usr/local -COPY --from=builder /workspace/optimism /workspace/optimism -COPY --from=builder /root/.foundry /root/.foundry - -# Set up environment variables -ENV PATH="/root/.foundry/bin:/usr/local/go/bin:${PATH}" - - -# Set the working directory and default command -WORKDIR /workspace/optimism -CMD ["bash"] diff --git a/README.md b/README.md index e7a417ed..bf0f8ccd 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,12 @@ kurtosis clean -a This will stop and remove all running enclaves and **delete all data**. +# L2 Contract deployer +The enclave will automatically deploy an optimism L2 contract on the L1 network. The contract address will be printed in the logs. You can use this contract address to interact with the L2 network. + +Please refer to this Dockerfile if you want to see how the contract deployer image is built: [Dockerfile](https://github.com/ethpandaops/eth-client-docker-image-builder/blob/master/op-contract-deployer/Dockerfile) + + ## Configuration To configure the package behaviour, you can modify your `network_params.yaml` file. The full YAML schema that can be passed in is as follows with the defaults provided: diff --git a/src/contracts/contract_deployer.star b/src/contracts/contract_deployer.star index b830d744..a2ced61d 100644 --- a/src/contracts/contract_deployer.star +++ b/src/contracts/contract_deployer.star @@ -1,5 +1,4 @@ -#IMAGE = "ethpandaops/optimism-contract-deployer:develop" -IMAGE = "bbusa/ops:latest" +IMAGE = "ethpandaops/optimism-contract-deployer:develop" ENVRC_PATH = "/workspace/optimism/.envrc" FACTORY_DEPLOYER_ADDRESS = "0x3fAB184622Dc19b6109349B94811493BF2a45362" From 09d3ee9154f751e32db11605ee051e94a2c33fcb Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Fri, 16 Aug 2024 15:30:03 +0200 Subject: [PATCH 5/9] use hash based storage --- src/el/op-geth/op_geth_launcher.star | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/el/op-geth/op_geth_launcher.star b/src/el/op-geth/op_geth_launcher.star index be57b6cb..1e1f49ee 100644 --- a/src/el/op-geth/op_geth_launcher.star +++ b/src/el/op-geth/op_geth_launcher.star @@ -146,7 +146,7 @@ def get_config( sequencer_enabled, sequencer_context, ): - init_datadir_cmd_str = "geth init --datadir={0} {1}".format( + init_datadir_cmd_str = "geth init --datadir={0} --state.scheme=hash {1}".format( EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER, constants.GENESIS_CONFIG_MOUNT_PATH_ON_CONTAINER + "/genesis.json", ) @@ -160,6 +160,7 @@ def get_config( # "--verbosity=" + verbosity_level, "--datadir=" + EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER, "--gcmode=archive", + "--state.scheme=hash", # if you use archive, you need hashs "--http", "--http.addr=0.0.0.0", "--http.vhosts=*", From 11fe8eb5f48b83501bf9dc48a4ee15cd8a8c6778 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Fri, 16 Aug 2024 15:31:39 +0200 Subject: [PATCH 6/9] fix lint --- src/el/op-geth/op_geth_launcher.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/el/op-geth/op_geth_launcher.star b/src/el/op-geth/op_geth_launcher.star index 1e1f49ee..c4c4d435 100644 --- a/src/el/op-geth/op_geth_launcher.star +++ b/src/el/op-geth/op_geth_launcher.star @@ -160,7 +160,7 @@ def get_config( # "--verbosity=" + verbosity_level, "--datadir=" + EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER, "--gcmode=archive", - "--state.scheme=hash", # if you use archive, you need hashs + "--state.scheme=hash", # if you use archive, you need hashs "--http", "--http.addr=0.0.0.0", "--http.vhosts=*", From 63e7daadb9cdb954eb40b481bed5cbb35f282db1 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Fri, 16 Aug 2024 17:40:25 +0200 Subject: [PATCH 7/9] add channelTimeout when fork is activated --- src/package_io/input_parser.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package_io/input_parser.star b/src/package_io/input_parser.star index fdc70265..90d9e521 100644 --- a/src/package_io/input_parser.star +++ b/src/package_io/input_parser.star @@ -6,7 +6,7 @@ sanity_check = import_module("./sanity_check.star") DEFAULT_EL_IMAGES = { "op-geth": "us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:latest", - "op-reth": "parithoshj/op-reth:latest", + "op-reth": "ghcr.io/paradigmxyz/op-reth:latest", "op-erigon": "testinprod/op-erigon:latest", "op-nethermind": "nethermindeth/nethermind:op-c482d56", } From 335bb2b9dcd67d0ecbf1c00fadd216b440154375 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Thu, 22 Aug 2024 09:03:12 +0200 Subject: [PATCH 8/9] remove double img --- src/contracts/contract_deployer.star | 1 - 1 file changed, 1 deletion(-) diff --git a/src/contracts/contract_deployer.star b/src/contracts/contract_deployer.star index 9cc1c090..e4ebf500 100644 --- a/src/contracts/contract_deployer.star +++ b/src/contracts/contract_deployer.star @@ -1,5 +1,4 @@ IMAGE = "ethpandaops/optimism-contract-deployer:develop" -IMAGE = "ethpandaops/optimism-contract-deployer:develop" ENVRC_PATH = "/workspace/optimism/.envrc" FACTORY_DEPLOYER_ADDRESS = "0x3fAB184622Dc19b6109349B94811493BF2a45362" From b12e0546243fa5d9230336959a20d5e44f016d19 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Thu, 22 Aug 2024 13:50:22 +0200 Subject: [PATCH 9/9] go to standard kind --- main.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.star b/main.star index fe468e89..a96c6ce5 100644 --- a/main.star +++ b/main.star @@ -89,7 +89,7 @@ def run(plan, args): def get_l1_config(all_l1_participants, l1_network_params, l1_network_id): env_vars = {} - env_vars["L1_RPC_KIND"] = "any" + env_vars["L1_RPC_KIND"] = "standard" env_vars["WEB3_RPC_URL"] = str(all_l1_participants[0].el_context.rpc_http_url) env_vars["L1_RPC_URL"] = str(all_l1_participants[0].el_context.rpc_http_url) env_vars["CL_RPC_URL"] = str(all_l1_participants[0].cl_context.beacon_http_url)