Skip to content

Commit

Permalink
Added Optimism Goerli config to staging env
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Aug 6, 2023
1 parent fca2c7d commit 1ef22ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ GNOSIS_POLL_TIME=
GOERLI_PROVIDER=
GOERLI_PROVIDER_WS=
GOERLI_POLL_TIME=
GOERLI_POLL_TIME=
OPTIMISM_GOERLI_PROVIDER=
OPTIMISM_GOERLI_PROVIDER_WS=
OPTIMISM_GOERLI_POLL_TIME=
NOTIFICATION_CENTER_BASE_URL=
NOTIFICATION_CENTER_PASSWORD=
NOTIFICATION_CENTER_USERNAME=
Expand Down
2 changes: 1 addition & 1 deletion monitorConfig/staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const config: Config = {
networkId: 420, // Optimism Goerli
nodeUrl: process.env.OPTIMISM_GOERLI_PROVIDER as string,
nodeUrlWS: process.env.OPTIMISM_GOERLI_PROVIDER_WS,
pollTimeMS: 240_000, // 24 seconds
pollTimeMS: Number(process.env.OPTIMISM_GOERLI_POLL_TIME) || 30_000, // 30 Seconds
maxFetchBlockRange: 1_000,
contracts: [
{
Expand Down

0 comments on commit 1ef22ac

Please sign in to comment.