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 delay and maximum change rate for commission #327

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from

Conversation

DocteurPing
Copy link
Contributor

No description provided.

@DocteurPing DocteurPing marked this pull request as ready for review January 14, 2025 06:11
@DocteurPing DocteurPing requested a review from sfffaaa January 14, 2025 06:12
@DocteurPing DocteurPing marked this pull request as draft January 14, 2025 10:01

/// The maximum permill that a commission can change in one go.
#[pallet::constant]
type MaxCommissionChange: Get<Permill>;
Copy link
Contributor

Choose a reason for hiding this comment

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

During yesterday's discussion, let us make a sudo extrinsic to set that because

  1. It'll be easier for the business team to decide the parameters later. Significantly if they change their mind, we don't need to do more runtime upgrades for that
  2. It will be easier for us to test this feature

Copy link
Contributor Author

Choose a reason for hiding this comment

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

working on that already 👍

@DocteurPing DocteurPing marked this pull request as ready for review January 15, 2025 08:01
@DocteurPing DocteurPing requested a review from sfffaaa January 17, 2025 04:52
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.

2 participants