Commit 3e4430ee authored by Adrian Sutton's avatar Adrian Sutton Committed by GitHub

ci: Fix devnet-fault-proofs (#10144)

* ci: Fix devnet-fault-proofs

* ci: Make prestate available to challenger
parent c7ad0eba
...@@ -1150,7 +1150,7 @@ jobs: ...@@ -1150,7 +1150,7 @@ jobs:
- checkout - checkout
- when: - when:
condition: condition:
equal: ['-fault-proofs', <<parameters.fpac>>] equal: ['fault-proofs', <<parameters.fpac>>]
steps: steps:
- run: - run:
name: Set DEVNET_FPAC = true name: Set DEVNET_FPAC = true
......
...@@ -131,6 +131,7 @@ def init_devnet_l1_deploy_config(paths, update_timestamp=False): ...@@ -131,6 +131,7 @@ def init_devnet_l1_deploy_config(paths, update_timestamp=False):
if DEVNET_FPAC: if DEVNET_FPAC:
deploy_config['useFaultProofs'] = True deploy_config['useFaultProofs'] = True
deploy_config['faultGameMaxDuration'] = 10 deploy_config['faultGameMaxDuration'] = 10
deploy_config['faultGameWithdrawalDelay'] = 0
if DEVNET_PLASMA: if DEVNET_PLASMA:
deploy_config['usePlasma'] = True deploy_config['usePlasma'] = True
write_json(paths.devnet_config_path, deploy_config) write_json(paths.devnet_config_path, deploy_config)
......
...@@ -176,6 +176,8 @@ services: ...@@ -176,6 +176,8 @@ services:
args: args:
OP_STACK_GO_BUILDER: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-stack-go:devnet OP_STACK_GO_BUILDER: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-stack-go:devnet
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-challenger:devnet image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-challenger:devnet
volumes:
- "../op-program/bin:/op-program"
environment: environment:
OP_CHALLENGER_L1_ETH_RPC: http://l1:8545 OP_CHALLENGER_L1_ETH_RPC: http://l1:8545
# Note: this will need to be updated to point to a L1 consensus node when there is one in the devnet # Note: this will need to be updated to point to a L1 consensus node when there is one in the devnet
...@@ -190,8 +192,8 @@ services: ...@@ -190,8 +192,8 @@ services:
OP_CHALLENGER_CANNON_ROLLUP_CONFIG: ./.devnet/rollup.json OP_CHALLENGER_CANNON_ROLLUP_CONFIG: ./.devnet/rollup.json
OP_CHALLENGER_CANNON_L2_GENESIS: ./.devnet/genesis-l2.json OP_CHALLENGER_CANNON_L2_GENESIS: ./.devnet/genesis-l2.json
OP_CHALLENGER_CANNON_BIN: ./cannon/bin/cannon OP_CHALLENGER_CANNON_BIN: ./cannon/bin/cannon
OP_CHALLENGER_CANNON_SERVER: ./op-program/bin/op-program OP_CHALLENGER_CANNON_SERVER: /op-program/op-program
OP_CHALLENGER_CANNON_PRESTATE: ./op-program/bin/prestate.json OP_CHALLENGER_CANNON_PRESTATE: /op-program/prestate.json
OP_CHALLENGER_CANNON_L2: http://l2:8545 OP_CHALLENGER_CANNON_L2: http://l2:8545
OP_CHALLENGER_MNEMONIC: test test test test test test test test test test test junk OP_CHALLENGER_MNEMONIC: test test test test test test test test test test test junk
OP_CHALLENGER_HD_PATH: "m/44'/60'/0'/0/4" OP_CHALLENGER_HD_PATH: "m/44'/60'/0'/0/4"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment