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

Bump configuration module to v2 and adds a migration for escrow params #157

Merged
merged 3 commits into from
Dec 17, 2021

Conversation

LeCodeurDuDimanche
Copy link
Contributor

This adds a new consensus version for the configuration module, because it has breaking changes with the addition of the escrow configuration parameters and specific fees.
The migration takes the old parameters and fees and adds the new default parameters and fees.
This migration is part of the cosmos-sdk-v0.44-upgrade upgrade plan

@LeCodeurDuDimanche LeCodeurDuDimanche added the merge when green See: https://github.com/phstc/probot-merge-when-green/ label Dec 13, 2021
CertificateCountMax: 3,
MetadataSizeMax: 86400,
EscrowCommission: sdk.ZeroDec(), // zero commission at first
EscrowBroker: "star1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjewks3", // so the broker is the burn address
Copy link
Contributor

@davepuchyr davepuchyr Dec 13, 2021

Choose a reason for hiding this comment

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

EscrowBroker should be star1nrnx8mft8mks3l2akduxdjlf8rwqs8r9l36a78; we don't want to have to do a multisig tx to set it to the correct value after the migration. star1nrnx8mft8mks3l2akduxdjlf8rwqs8r9l36a78 is IOV SAS's multisig account.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't we want this address to be the fee collector module address ?

Copy link
Contributor

Choose a reason for hiding this comment

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

No, IOV SAS (star1nrnx8mft8mks3l2akduxdjlf8rwqs8r9l36a78) spent time and resources to develop this module. It is fully justified in charging the commission. Once #31 is closed then it does make sense to use the fee collector module address.

@merge-when-green merge-when-green bot merged commit 578e2d2 into master Dec 17, 2021
@merge-when-green merge-when-green bot deleted the configuration-migration branch December 17, 2021 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when green See: https://github.com/phstc/probot-merge-when-green/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants