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

feat: ENABLED_CHAINS #578

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

feat: ENABLED_CHAINS #578

wants to merge 1 commit into from

Conversation

nicholaspai
Copy link
Member

Replaces and improves on the disabled chain logic introduced in #576 . Instead of storing a list of disabled chains, store the list of all enabled chains. This allows the dataworker to remove hardcoded list of chain ID indices and infer the disabled chain list (by comparing the CHAIN_ID_INDICES list and the ENABLED_CHAINS list)

@nicholaspai nicholaspai requested review from mrice32 and pxrl March 8, 2023 20:52
@mrice32
Copy link
Member

mrice32 commented Apr 19, 2023

@nicholaspai sorry, I haven't reviewed this because it's been in draft -- would you like a review on this or are we not planning to move forward with it?

@nicholaspai
Copy link
Member Author

@nicholaspai sorry, I haven't reviewed this because it's been in draft -- would you like a review on this or are we not planning to move forward with it?

@mrice32 I still think we want this reviewed as it seems more flexible going forward

Copy link
Member

@mrice32 mrice32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Do you see any issues with adding and removing chains in this setup?

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.

2 participants