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

[api] Remove ICR artifacts #2163

Merged
merged 2 commits into from
Jan 24, 2024
Merged

[api] Remove ICR artifacts #2163

merged 2 commits into from
Jan 24, 2024

Conversation

psparacino
Copy link
Collaborator

Description

In the original version of the ICR integration, ICR's project creditserialization was the only reliable way to query the ICR api for a specific project.

After the refactor to use the cms for project data, the serialization is only needed to create the registry-registryProjectID format to identify the project when querying the ICR subgraph for ICR holdings. The serialization can be removed everywhere else.

In the app, besides generated files, the serialization only exists as a prop in carbonmark/lib/createUrls and will be deleted there for the APP PR for this api version.

The end goal is not to use the serialization anywhere in the CM codebase. Once we can query ICR holdings from a CM subgraph this last requirement can be removed.

Related Ticket

related to 2093

Copy link

vercel bot commented Jan 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
carbonmark ✅ Ready (Inspect) Visit Preview Jan 24, 2024 3:49pm
carbonmark-api ✅ Ready (Inspect) Visit Preview Jan 24, 2024 3:49pm
demo-integration ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 3:49pm
klimadao-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 3:49pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
carbon ⬜️ Ignored (Inspect) Visit Preview Jan 24, 2024 3:49pm

@jabby09 jabby09 changed the title [API] Remove ICR artifacts [api] Remove ICR artifacts Jan 23, 2024
Copy link
Collaborator

@biwano biwano left a comment

Choose a reason for hiding this comment

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

Nice!
You will need to change the api version before merging.

@0xemc 0xemc merged commit 3aa7de6 into staging Jan 24, 2024
10 checks passed
@0xemc 0xemc deleted the tufnel/remove-serialization branch January 24, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants