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

PE-5005: fix(contract reader): switch to a PDS managed default contract cache #230

Merged
merged 4 commits into from
Nov 10, 2023

Conversation

fedellen
Copy link
Contributor

@fedellen fedellen commented Nov 10, 2023

this PR fixes an issue we're seeing with the default contract reader when fetching the ardrive contract when determining the community tip during uploads

as we were forewarned, it seems the Verto contract cache is no longer publicly available. fortunately PDS is now hosting our own contract cache, the ArNS Microservice -- here we switch to using that cache

@fedellen fedellen self-assigned this Nov 10, 2023
*/
export class VertoContractReader implements ContractReader {
export class ArNSMicroserviceContractReader implements ContractReader {
Copy link
Contributor

Choose a reason for hiding this comment

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

It's a generalized contract cache with some ArNS-specific APIs available. Can we just refer to this as PDSContractCacheServiceContractReader?

Copy link
Contributor

Choose a reason for hiding this comment

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

I can see how the domain name might push us in this direction though...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good

arielmelendez
arielmelendez previously approved these changes Nov 10, 2023
@fedellen fedellen merged commit 0958c8f into master Nov 10, 2023
1 check passed
@fedellen fedellen deleted the change_contract_reader branch November 10, 2023 19:08
@fedellen fedellen changed the title fix(contract reader): switch to a PDS managed default contract cache PE-5005: fix(contract reader): switch to a PDS managed default contract cache Nov 10, 2023
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.

2 participants