Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Refactor data feed updates #221

Merged
merged 7 commits into from
Aug 29, 2022
Merged

Refactor data feed updates #221

merged 7 commits into from
Aug 29, 2022

Conversation

amarthadan
Copy link
Contributor

Close #167

Review preferably commit by commit. I'm open to removing any of the commits if you find any of the refactors not that useful.

@amarthadan amarthadan self-assigned this Aug 25, 2022
Copy link
Contributor

@acenolaza acenolaza left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

@@ -39,6 +39,8 @@ type BeaconSetBeaconValue = {
value: ethers.BigNumber;
};

type DataFeedType = 'beacon' | 'beaconSet';
Copy link
Contributor

Choose a reason for hiding this comment

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

It might be better to use an enum to avoid having to deal with letter casing

@amarthadan amarthadan force-pushed the refactor-update-data-feeds branch from 0575bb8 to fb46072 Compare August 29, 2022 06:27
@amarthadan amarthadan merged commit d11af0d into main Aug 29, 2022
@amarthadan amarthadan deleted the refactor-update-data-feeds branch August 29, 2022 11:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor update-beacon-sets.ts & update-beacons.ts to reuse common parts
2 participants