Skip to content

Commit

Permalink
Merge branch 'master' into dl/fs-685
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance authored Aug 22, 2024
2 parents 59e8f42 + 8c9ff2e commit 1c7b20c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Generate chains JSON
run: yarn workspace arb-token-bridge-ui ${{ steps.config.outputs.generate_command }}
env:
BATCH_POSTER_MONITORING: ${{ inputs.monitor == 'batch-poster' }}
INCLUDE_ARB_ONE_AS_CORE_CHAIN: ${{ inputs.monitor != 'retryable' }}

- name: Copy chains JSON to Arbitrum Monitoring
run: cp ./packages/arb-token-bridge-ui/public/${{ steps.config.outputs.config_file }} ./arbitrum-monitoring/packages/${{ inputs.monitor }}-monitor/config.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ async function generateCoreChainsToMonitor() {
}

// don't need to monitor arbOne chain in case of retryable-monitoring
const chains = process.env.BATCH_POSTER_MONITORING
? [arbOneChain, novaChain]
: [novaChain]
const chains =
process.env.INCLUDE_ARB_ONE_AS_CORE_CHAIN === 'true'
? [arbOneChain, novaChain]
: [novaChain]

// make the chain data compatible with that required by the monitoring script
const coreChainsToMonitor = chains.map(coreChain =>
Expand Down

0 comments on commit 1c7b20c

Please sign in to comment.