Skip to content

fix!: Configure Defer Duration#649

Merged
mrq1911 merged 2 commits intopolkadot-v1.1.0from
apopiak/defer-duration-config
Dec 8, 2023
Merged

fix!: Configure Defer Duration#649
mrq1911 merged 2 commits intopolkadot-v1.1.0from
apopiak/defer-duration-config

Conversation

@apopiak
Copy link
Contributor

@apopiak apopiak commented Dec 8, 2023

Description

Configure the defer duration to 36 hours. This value is derived based on a desired effective defer duration of 4h as well as a defer boundary of 0.9 (start deferring at 90% of the desired rate limit boundary value), i.e. if we want to ensure that 200000$ are deferred by 4h, we configure 36h as the defer duration and 0.9*200000 = 180000 as the rate limit in the registry.

Checklist:

  • I have updated the documentation if necessary.
  • I have added tests to cover my changes, regression test if fixing an issue.
  • This is a breaking change.

@github-actions
Copy link

github-actions bot commented Dec 8, 2023

Crate versions that have been updated:

  • runtime-integration-tests: v1.0.0 -> v1.0.1
  • pallet-marketplace: v5.0.16 -> v5.0.17
  • pallet-xyk-liquidity-mining: v1.1.9 -> v1.1.10
  • basilisk-runtime: v107.0.0 -> v108.0.0

Runtime version has been increased.

@apopiak apopiak changed the title [chore] Configure Defer Duration fix!: Configure Defer Duration Dec 8, 2023
@mrq1911 mrq1911 merged commit e8bb419 into polkadot-v1.1.0 Dec 8, 2023
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