Skip to content

Integrate CMARK credit retirements into RA#74

Merged
0xAurelius merged 15 commits into
mainfrom
cmark-retire
Feb 20, 2025
Merged

Integrate CMARK credit retirements into RA#74
0xAurelius merged 15 commits into
mainfrom
cmark-retire

Conversation

@0xAurelius
Copy link
Copy Markdown
Contributor

@0xAurelius 0xAurelius commented Dec 12, 2024

I think the code should work now, though I'm still working on the test (I can't get it to work with a local fork, I think it's a problem with my local setup)

Appreciate any input or feedback

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 12, 2024

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

Name Status Preview Comments Updated (UTC)
solidity ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2025 9:16pm

Comment thread src/infinity/facets/Bridges/CMARK/RetireCMARKFacet.sol Outdated
Comment thread src/infinity/libraries/Bridges/LibCMARKCarbon.sol
Comment thread src/infinity/libraries/LibRetire.sol
Comment thread test/infinity/Bridge/CMARK.RetireCMARK.t.sol Outdated
Comment thread test/infinity/Bridge/CMARK.RetireCMARK.t.sol
Comment thread src/infinity/libraries/Bridges/LibCMARKCarbon.sol
Comment thread src/infinity/libraries/LibRetire.sol Outdated
@0xAurelius
Copy link
Copy Markdown
Contributor Author

Plan is to run through a local test of the upgrade for this change, meeting with @Atmosfearful next week to go over that

details
);

return LibRetire.getTotalRetirements(details.beneficiaryAddress);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just curious, how does this value actually get incremented? Is it a side effect of retireCMARK() -> saveRetirementDetails() ?

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.

3 participants