Skip to content

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.

3 participants