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

Defragmentation Memos #3170

Merged
merged 28 commits into from
Mar 17, 2023
Merged

Defragmentation Memos #3170

merged 28 commits into from
Mar 17, 2023

Conversation

dolanbernard
Copy link
Contributor

  • Added DefragmentationMemoBuilder
  • Added DefragmentationMemo

Motivation

This PR implements changes outlined in MCIP #61.

MCIP #61 proposes a new memo type: the defragmentation memo. This memo type is used to denote defragmentation transactions. It also includes an ID field that can be used to easily group together multiple rounds of one defragmentation session together for the purpose of reporting total paid in fees and total amount defragmented. The full implementation details and rationale for defragmentation memos can be found here.

@github-actions
Copy link

✅ Good job, full-service was built successfully.
Build logs can be found by inspecting the github action run Check that repositories submoduling us will still build after this PR / full-service or by clicking here.

@jcape jcape requested review from a team, NotGyro and samdealy and removed request for a team February 28, 2023 19:49
Copy link
Collaborator

@nick-mobilecoin nick-mobilecoin left a comment

Choose a reason for hiding this comment

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

This PR followed the style of other memos and most of my comments are mainly suggestions to move away from that style.

transaction/extra/src/memo/defragmentation.rs Outdated Show resolved Hide resolved
transaction/builder/src/transaction_builder.rs Outdated Show resolved Hide resolved
transaction/builder/src/transaction_builder.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@NotGyro NotGyro left a comment

Choose a reason for hiding this comment

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

This looks good to go to me, so long as the issues @nick-mobilecoin has already identified are resolved.

transaction/extra/src/memo/defragmentation.rs Outdated Show resolved Hide resolved
dolanbernard and others added 9 commits March 14, 2023 00:10
…der.rs

Co-authored-by: Nick Santana <nick@mobilecoin.com>
Co-authored-by: Nick Santana <nick@mobilecoin.com>
Co-authored-by: Nick Santana <nick@mobilecoin.com>
…der.rs

Co-authored-by: Nick Santana <nick@mobilecoin.com>
…der.rs

Co-authored-by: Nick Santana <nick@mobilecoin.com>
Co-authored-by: Nick Santana <nick@mobilecoin.com>
Co-authored-by: Nick Santana <nick@mobilecoin.com>
Co-authored-by: Nick Santana <nick@mobilecoin.com>
Co-authored-by: Nick Santana <nick@mobilecoin.com>
@github-actions
Copy link

✅ Good job, full-service was built successfully.
Build logs can be found by inspecting the github action run Check that repositories submoduling us will still build after this PR / full-service or by clicking here.

Co-authored-by: Nick Santana <nick@mobilecoin.com>
Copy link
Collaborator

@nick-mobilecoin nick-mobilecoin left a comment

Choose a reason for hiding this comment

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

LGTM Thanks!

@dolanbernard dolanbernard merged commit c96e1b3 into master Mar 17, 2023
@dolanbernard dolanbernard deleted the defrag-memo branch March 17, 2023 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants