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

transfer-contract: Add deposit to remainder-note and remove bool return for mint #1927

Merged
merged 3 commits into from
Jul 9, 2024

Conversation

moCello
Copy link
Member

@moCello moCello commented Jul 4, 2024

This PR addresses the collected requests for changes to the transfer-contract from #1822.

Most notably:
The deposit, if not picked up by a contract, will be refunded together with the gas-refund
The function mint doesn't return a boolean anymore and the comments are adjusted.
Only the stake-contract is allowed to call the mint function.

@moCello moCello force-pushed the mocello/transfer_contract_fixup branch 2 times, most recently from 33b2c22 to 198ed69 Compare July 4, 2024 11:28
@moCello moCello changed the title Add deposit to remainder-note transfer-contract: Add deposit to remainder-note and remove bool return for mint Jul 4, 2024
@moCello moCello force-pushed the mocello/transfer_contract_fixup branch from 198ed69 to 5135734 Compare July 4, 2024 11:54
Copy link
Member

@HDauven HDauven left a comment

Choose a reason for hiding this comment

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

That first point is a really nice change

LGTM

@moCello
Copy link
Member Author

moCello commented Jul 9, 2024

That first point is a really nice change

LGTM

The changelog of the transfer-contract is not used. We would need to update but I would tackle that in a different issue.

Copy link
Member

@ureeves ureeves left a comment

Choose a reason for hiding this comment

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

Nice! LGTM

@moCello moCello merged commit 2133332 into master Jul 9, 2024
8 checks passed
@moCello moCello deleted the mocello/transfer_contract_fixup branch July 9, 2024 08:59
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