Skip to content
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

introduce new environment variable ONLY_OPERATORS. #753

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PFC-developer
Copy link

this patch introduces a new flag to the bot.
it attempts to only produce output on networks where it is an operator.

@tombeynon
Copy link
Contributor

Thanks for doing this @PFC-developer - I've actually been thinking about making more of a change here. I assume this is for when you run restake for all chains (npm run autostake) right? Would it suit you if this only ran for chains that exist in your networks.local.json file? Seems like it would be more appropriate than running for every chain in Chain Registry.

@PFC-developer
Copy link
Author

yep. i've got it set up in a cronjob, and frankly having an option saying

  • chain X: OK/FAIL -- (reason)
    for every chain would be even better

and yes.. being able to specify which chains to run (via networks.local is a good way) would be useful as well

@tombeynon
Copy link
Contributor

Great, let me spend a bit of time on this over the next week or so and I'll get something sorted. I'll likely combine a verbosity setting to strip back the logs, and just running for the chains in networks.local.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants