Skip to content

Conversation

@gianfra-t
Copy link
Contributor

@gianfra-t gianfra-t commented Sep 10, 2025

Replace mint operation when claiming rewards with a transfer from the treasury account.

Copy link
Member

@ebma ebma left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍 we just need to add the type also to the mock in pallets/parachain-staking/src/mock.rs

@gianfra-t
Copy link
Contributor Author

Thanks @ebma, didn't mark for review as I was testing. It went well as the event Transfer from the Treasury account was emitted after claiming the reward.
I'll solve that compilation issue.

Copy link
Member

@ebma ebma left a comment

Choose a reason for hiding this comment

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

Let's apply the naming suggestion of clippy and then get this merged ✅

@gianfra-t
Copy link
Contributor Author

@ebma pinging for re-approve, all tests seem to be okay now.

@gianfra-t gianfra-t merged commit 3e0ac46 into main Sep 16, 2025
3 checks passed
@gianfra-t gianfra-t deleted the modify-staking-tokenomics branch September 16, 2025 11:28
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