Skip to content

op-deployer timing out after 180 seconds #251

@samlaf

Description

@samlaf

Not sure if this is something reproducible or something to do with my laptop/networking/config-file, but keep running into

Apply L2 contract deployments
There was an error executing Starlark code 
An error occurred executing instruction (number 45) at github.com/ethpandaops/optimism-package/src/contracts/contract_deployer.star[299:37]:
  run_sh(name="op-deployer-apply", run="op-deployer apply --l1-rpc-url $L1_RPC_URL --private-key $PRIVATE_KEY --workdir /network-data && op-deployer inspect genesis --workdir /network-data --outfile /network-data/genesis-2151908.json 2151908 && op-deployer inspect rollup --workdir /network-data --outfile /network-data/rollup-2151908.json 2151908", image="us-docker.pkg.dev/oplabs-tools-artifacts/images/op-deployer:v0.4.0-rc.2", files={"/network-data": "op-deployer-configs"}, store=[StoreSpec(src="/network-data", name="op-deployer-configs")], env_vars={"CL_RPC_URL": "http://{{kurtosis:7faba37e30f44123b72fcfc17e3cdab3:ip_address.runtime_value}}:4000", "DEPLOYER_CACHE_DIR": "/var/cache/op-deployer", "L1_BLOCK_TIME": "6", "L1_CHAIN_ID": "3151908", "L1_RPC_KIND": "standard", "L1_RPC_URL": "http://{{kurtosis:83f70ba0b52a4a61abd0809755bfbfd0:ip_address.runtime_value}}:8545", "L1_WS_URL": "ws://{{kurtosis:83f70ba0b52a4a61abd0809755bfbfd0:ip_address.runtime_value}}:8546", "PRIVATE_KEY": "eaba42282ad33c8ef2524f07277c03a776d98ae19f581990ce75becb7cfa1c23", "WEB3_RPC_URL": "http://{{kurtosis:83f70ba0b52a4a61abd0809755bfbfd0:ip_address.runtime_value}}:8545"}, description="Apply L2 contract deployments")
  Caused by: error occurred while executing one time task command: op-deployer apply --l1-rpc-url $L1_RPC_URL --private-key $PRIVATE_KEY --workdir /network-data && op-deployer inspect genesis --workdir /network-data --outfile /network-data/genesis-2151908.json 2151908 && op-deployer inspect rollup --workdir /network-data --outfile /network-data/rollup-2151908.json 2151908 
  Caused by: The exec request timed out after 180 seconds

Error encountered running Starlark code.

Here's my config:

ethereum_package:
  network_params:
    additional_preloaded_contracts: |
      {
        "0x4e59b44847b379578588920cA78FbF26c0B4956C": {
          "balance": "0ETH",
          "code": "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3",
          "storage": {},
          "nonce": "1"
        }
      }
    genesis_delay: 5
    preset: minimal
  participants:
    - cl_type: teku
      # 25.4.1 (current latest) is broken because optimism-package uses an old version of ethereum-package,
      # which doesn't support 
      # See https://github.com/ethpandaops/optimism-package/blob/c993cd0b9716fb063c1e514e19374e27e1b10b3c/kurtosis.yml#L6
      # Once this gets updated, we can revert back to using latest teku.
      # See https://github.com/ethpandaops/ethereum-package/issues/974 for more details.
      cl_image: consensys/teku:25.4.0
      el_type: geth
optimism_package:
  observability:
    # Unfortunately can't be disabled, see https://github.com/ethpandaops/optimism-package/issues/221
    # Would be nice to speed up CI...
    enabled: true
  altda_deploy_config:
    da_bond_size: 0
    da_challenge_window: 16
    da_commitment_type: GenericCommitment
    da_resolve_window: 16
    da_resolver_refund_percentage: 0
    use_altda: true
  challengers:
    # no challengers for now
  chains:
    - additional_services:
        - da_server
      participants:
        - cl_type: op-node
          el_type: op-geth
          count: 1
      batcher_params:
        extra_params:
          - --max-channel-duration=10
          - --altda.max-concurrent-da-requests=10
          - --max-pending-tx=10
          - --target-num-frames=5
          - --max-l1-tx-size-bytes=1000
          - --batch-type=1
          - --throttle-threshold=500_000
          - --throttle-block-size=1000
      proposer_params:
        game_type: 1
        proposal_interval: 10m
      da_server_params:
        cmd:
          - --addr=0.0.0.0
          - --port=3100
          - --storage.backends-to-enable=V1,V2
          - --storage.dispersal-backend=v2
          - --api-enabled=admin
          - --eigenda.v2.max-blob-length=1MiB
          - --memstore.enabled
          - --memstore.expiration=180m
        image: ghcr.io/layr-labs/eigenda-proxy:v1.7.0
      network_params:
        fjord_time_offset: 0
        granite_time_offset: 0
        holocene_time_offset: 0
        fund_dev_accounts: true
        name: op-kurtosis
        network: kurtosis
        network_id: "2151908"
        seconds_per_slot: 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions