Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Add replica status when using singularity store #67

Merged
merged 6 commits into from
Aug 26, 2023

Conversation

hannahhoward
Copy link
Contributor

Goals

This adds replication status when using singularity store, using an API we wrote to connect files to the deals they are. There are likely some longer term caveats here, in terms of structure, but this should suffice for M2.

Also updates singularity to latest.

Note: awaiting a cut of Lassie tag to handle the libp2p update.

add replica status when using singularity store
Copy link
Member

@masih masih left a comment

Choose a reason for hiding this comment

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

LGTM other than the CI failures

// TODO: figure out how to get LastVerified
Provider: deal.Provider,
Status: string(deal.State),
Expiration: epochutil.EpochToTime(deal.EndEpoch),
Copy link
Member

Choose a reason for hiding this comment

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

This assumes mainnet right? We probably want to parameterise this for devnet testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hannahhoward hannahhoward marked this pull request as ready for review August 25, 2023 14:52
@hannahhoward hannahhoward merged commit d55d5ea into main Aug 26, 2023
5 checks passed
@hannahhoward hannahhoward deleted the feat/singularity-status branch August 26, 2023 01:29
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.

2 participants