-
Notifications
You must be signed in to change notification settings - Fork 73
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] ICR API Integration #2051
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
d0c8167
to
54d887b
Compare
54d887b
to
e735677
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work.
Be careful, this is going to massively conflict with #2049
e735677
to
80a5d51
Compare
80a5d51
to
9e5651d
Compare
381ee83
to
31e8527
Compare
3aa1705
to
614d464
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approved. If you can address my last 2 comments before merging.
carbonmark-api/package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@klimadao/carbonmark-api", | |||
"version": "5.2.1", | |||
"version": "5.3.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be 5.3.0
username: "someusername", | ||
profileImgUrl: null, | ||
}; | ||
|
||
export const EXPECTED_USER_RESPONSE = { | ||
...omit(MOCK_USER_PROFILE, ["address", "updatedAt", "createdAt"]), | ||
updatedAt: 1699715108, | ||
updatedAt: 1702675, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something is wrong here. I think MOCK_USER_PROFILE updated at should be something like 1702675170000
614d464
to
c99b6e6
Compare
c99b6e6
to
78e9764
Compare
Description
API Integration for ICR credits
POSTMAN TESTS CHECK FAILURE: The postman tests are currently failing as this PR is currently using a test subgraph that is updated for ICR but doesn't index the main Carbonmark contract and thus doesn't have activity for the project included in the test. After the ICR updates have been merged to the main subgraph, deployed etc the tests should passNotes for reviewers:
/projects/[id]
) from ICR are stitched into the cmscarbonProject
type here/projects
list, the ICR projects are combined with cms projects here.These projects will likely be included in the cms in the near future and not handled here.
Related Ticket
Closes ICR epic
This PR is dependent on #2047 and #2048 and should be merged after those.
Notes For QA
Specific pages, components or journeys that might be affected:
/retirements/**
will be incorporated once PR [KLIMADAO/Klimadao] Polygon-digital-carbon for retirement data #2048 is merged into stagingRelevant preview URLs:
Other notes: