Skip to content

Commit

Permalink
chore: set required flags for devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
sm-stack committed Apr 18, 2024
1 parent 8c95626 commit 07ef6fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kroma-devnet/devnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,19 @@ def devnet_deploy(paths):
log.info(f'Using Colosseum {colosseum}')
validator_pool = addresses['ValidatorPoolProxy']
log.info(f'Using ValidatorPool {validator_pool}')
validator_manager = addresses['ValidatorManagerProxy']
log.info(f'Using ValidatorManager {validator_manager}')
asset_manager = addresses['AssetManagerProxy']
log.info(f'Using AssetManager {asset_manager}')

log.info('Bringing up `kroma-node`, `kroma-batcher` and `kroma-validator`.')
run_command(['docker', 'compose', 'up', '-d', 'kroma-node', 'kroma-batcher', 'kroma-validator'], cwd=paths.ops_bedrock_dir, env={
'PWD': paths.ops_bedrock_dir,
'L2OO_ADDRESS': l2_output_oracle,
'COLOSSEUM_ADDRESS': colosseum,
'VALPOOL_ADDRESS': validator_pool,
'VALMANAGER_ADDRESS': validator_manager,
'ASSETMANAGER_ADDRESS': asset_manager,
'SEQUENCER_BATCH_INBOX_ADDRESS': batch_inbox_address
})

Expand Down
2 changes: 2 additions & 0 deletions ops-devnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ services:
VALIDATOR_L2OO_ADDRESS: "${L2OO_ADDRESS}"
VALIDATOR_COLOSSEUM_ADDRESS: "${COLOSSEUM_ADDRESS}"
VALIDATOR_VALPOOL_ADDRESS: "${VALPOOL_ADDRESS}"
VALIDATOR_VALMANAGER_ADDRESS: "${VALMANAGER_ADDRESS}"
VALIDATOR_ASSETMANAGER_ADDRESS: "${ASSETMANAGER_ADDRESS}"
VALIDATOR_PPROF_ENABLED: "true"
VALIDATOR_METRICS_ENABLED: "true"
VALIDATOR_ALLOW_NON_FINALIZED: "true"
Expand Down

0 comments on commit 07ef6fd

Please sign in to comment.