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

Add Emission Enabled bolean flag to Mint Module #708

Merged

Conversation

relyt29
Copy link
Contributor

@relyt29 relyt29 commented Dec 16, 2024

Purpose of Changes and their Description

This change adds a mint module parameter that allows network administrators or the /x/gov governance module to control whether or not any new tokens are minted, basically entirely turning off paying for rewards and creating new tokens / inflation.

Link(s) to Ticket(s) or Issue(s) resolved by this PR

PROTO-3083

Are these changes tested and documented?

New tests added to x/mint/migrations/v5/migrate_test.go and x/mint/module/module_test.go

Copy link

github-actions bot commented Dec 16, 2024

The latest Buf updates on your PR. Results from workflow Buf Linter / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed⏩ skippedDec 17, 2024, 12:50 AM

@relyt29 relyt29 force-pushed the tyler/proto-3083-add-mint-rewards-emissions-enabled-boolean-flag branch 2 times, most recently from a1b1ba7 to 22ebf8a Compare December 16, 2024 22:32
@relyt29
Copy link
Contributor Author

relyt29 commented Dec 16, 2024

forgot to add upgrade in app folder, in addition to migration, will do in a bit done

@relyt29 relyt29 force-pushed the tyler/proto-3083-add-mint-rewards-emissions-enabled-boolean-flag branch from 22ebf8a to dcf804f Compare December 17, 2024 00:43
@relyt29 relyt29 force-pushed the tyler/proto-3083-add-mint-rewards-emissions-enabled-boolean-flag branch from dcf804f to 8fa5528 Compare December 17, 2024 00:49
@relyt29 relyt29 marked this pull request as ready for review December 17, 2024 01:00
@kpeluso kpeluso merged commit 73c4bbe into dev Dec 17, 2024
10 checks passed
@kpeluso kpeluso deleted the tyler/proto-3083-add-mint-rewards-emissions-enabled-boolean-flag branch December 17, 2024 08:29
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