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

Migrate to AirseekerRegistry contract #165

Merged
merged 13 commits into from
Jan 8, 2024
Merged

Migrate to AirseekerRegistry contract #165

merged 13 commits into from
Jan 8, 2024

Conversation

Siegrift
Copy link
Collaborator

@Siegrift Siegrift commented Dec 18, 2023

Closes #163

Rationale

The contract is a bit more generic and allows supporting data feeds via ID (not dAPI name). The code was previously tailored to dAPIs and used often used dapi for naming. These are renamed to a more generic and accurate dataFeed instead.

The contract name changed from DapiDataRegistry to AirseekerRegistry. It uses Api3ServerV1 to read the data feed details and can return no data in case the data feed is not registered. This is now explicitly handled by skipping such data feeds and logging a warning.

Both spec and diagrams are updated accordingly.

@Siegrift Siegrift self-assigned this Dec 18, 2023
@Siegrift Siegrift requested a review from aquarat December 21, 2023 18:17
@Siegrift Siegrift changed the title WIP: Migrate to AirseekerRegistry contract Migrate to AirseekerRegistry contract Dec 21, 2023
@Siegrift Siegrift requested a review from peterjurco December 21, 2023 19:51
Copy link
Collaborator Author

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

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

@bbenligiray
Copy link
Member

I made some changes to AirseekerRegistry that I haven't decided to keep yet. Giving a heads up because they probably cause the CI of this branch to fail.

Copy link
Collaborator

@aquarat aquarat left a comment

Choose a reason for hiding this comment

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

This is of course a pretty big PR, but I don't see anything incorrect/inefficient/etc.

So LGTM 💪

@Siegrift Siegrift force-pushed the upgrade-contracts3 branch from e542112 to 4e8f3d5 Compare January 8, 2024 08:01
@Siegrift
Copy link
Collaborator Author

Siegrift commented Jan 8, 2024

Thanks everyone 💪 .

@Siegrift Siegrift merged commit d0c223e into main Jan 8, 2024
4 checks passed
@Siegrift Siegrift deleted the upgrade-contracts3 branch January 8, 2024 08:03
@Siegrift Siegrift mentioned this pull request Jan 8, 2024
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.

Upgrade to the new AirseekerRegistry contract
3 participants