Skip to content

Commit 9a2788f

Browse files
authored
chore(monitor): Remove CONFIGURED_NETWORKS (#726)
The MonitorConfig hasn't read this from the environment for quite a while.
1 parent 01680cc commit 9a2788f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/Monitor.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ describe("Monitor", async function () {
7171
0
7272
));
7373

74-
const configuredNetworks = [hubPoolClient.chainId, repaymentChainId, originChainId, destinationChainId];
75-
7674
defaultMonitorEnvVars = {
7775
STARTING_BLOCK_NUMBER: "0",
7876
ENDING_BLOCK_NUMBER: "100",
@@ -85,14 +83,13 @@ describe("Monitor", async function () {
8583
MONITOR_REPORT_ENABLED: "true",
8684
MONITOR_REPORT_INTERVAL: "10",
8785
MONITORED_RELAYERS: `["${depositor.address}"]`,
88-
CONFIGURED_NETWORKS: JSON.stringify(configuredNetworks),
8986
};
9087
const monitorConfig = new MonitorConfig(defaultMonitorEnvVars);
9188

9289
// Set the config store version to 0 to match the default version in the ConfigStoreClient.
9390
process.env.CONFIG_STORE_VERSION = "0";
9491

95-
const chainIds = configuredNetworks;
92+
const chainIds = [hubPoolClient.chainId, repaymentChainId, originChainId, destinationChainId];
9693
bundleDataClient = new BundleDataClient(
9794
spyLogger,
9895
{

0 commit comments

Comments
 (0)