-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config refactor avoiding circular dep issues #485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of small syntax changes if you don't mind, otherwise looks good! Thanks for the work here.
modules/network/arbitrum/workers.ts
Outdated
For every 1 days jobs we set the alarmEvaluationPeriod and alarmDatapointsToAlarm to 1 instead of the default 3. | ||
This is needed because the maximum alarm evaluation period is 1 day (period * evaluationPeriod). | ||
*/ | ||
export const arbitrumWorkerJobs = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding the type
import { JsonRpcProvider } from '@ethersproject/providers'; | ||
import { mainnetNetworkData as data } from './data'; | ||
import { mainnetWorkerJobs as workerJobs } from './workers'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing export
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually it's not needed. i'm removing from other networks as well.
hey @danielmkm - i think all the changes are there, let me know if you want to get anything else updated. |
I'll close this PR for now, since it's not solving the underlying issue fully. The issue is related to the networkContext and we will be refactoring that for specific cases. |
No description provided.