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

Resolve TODOs #84

Merged
merged 12 commits into from
Nov 12, 2023
Merged

Resolve TODOs #84

merged 12 commits into from
Nov 12, 2023

Conversation

Siegrift
Copy link
Collaborator

@Siegrift Siegrift commented Nov 9, 2023

Closes #77

Rationale

Each TODO is fixed in a separate commit for easier reviews. I recommend reviewing commit by commit.

I updated the diagram and exported the white background version. I don't remember the issues we had with it, but it seems correctly rendered to me. Let me know if I should change it back to black.

I also realized that the logic for determining updating beacon sets was wrong (we need to get data for constituent beacons and then use median for checks). I've updated the logic and created #83.

@Siegrift Siegrift changed the title Resolve todos Resolve TODOs Nov 9, 2023
@Siegrift Siegrift self-assigned this Nov 9, 2023
src/update-feeds/update-transactions.ts Show resolved Hide resolved
src/signed-api-fetch/data-fetcher.ts Show resolved Hide resolved
src/config/schema.ts Show resolved Hide resolved
src/types.ts Show resolved Hide resolved
src/update-feeds/update-transactions.ts Show resolved Hide resolved
src/update-feeds/update-feeds.ts Show resolved Hide resolved
@aquarat
Copy link
Collaborator

aquarat commented Nov 10, 2023

I also realized that the logic for determining updating beacon sets was wrong (we need to get data for constituent beacons and then use median for checks). I've updated the logic and created #83.

ah yes, I separately realised that yesterday and updated it in my branch, whoops 🙈

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.

LGTM 🔥
I didn't see any particular issues, all looks good. I'll keep these changes in mind for the inevitable merge conflict.

Copy link
Contributor

@vponline vponline left a comment

Choose a reason for hiding this comment

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

LGTM, noticed only a couple minor points 🔥

src/state/state.ts Outdated Show resolved Hide resolved
src/update-feeds/dapi-data-registry.ts Outdated Show resolved Hide resolved
src/update-feeds/update-feeds.ts Outdated Show resolved Hide resolved
src/update-feeds/update-feeds.ts Outdated Show resolved Hide resolved
@Siegrift Siegrift merged commit fdb39c3 into main Nov 12, 2023
4 checks passed
@Siegrift Siegrift deleted the resolve-todos branch November 12, 2023 11:18
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.

Resolve TODOs
3 participants