Skip to content

December update (polkadot-v1.4.0)#39

Merged
henrikdent merged 30 commits intodevelopfrom
feature/december-2023
Jan 29, 2024
Merged

December update (polkadot-v1.4.0)#39
henrikdent merged 30 commits intodevelopfrom
feature/december-2023

Conversation

@henrikdent
Copy link
Copy Markdown
Contributor

  • Update to polkadot-v1.4.0 for upstream
  • Add exchange pallet (swap DENT for DENTX)
  • Custom payment for exchange pallet (allow exchange with 0 DENTX)
  • Update treasury parameters and custom inflation logic

Resolve substrate dependencies via git to ensure consistency
Instead of sending all to the treasury, drop anything exceeding a certain threshold
Spending period: 24 days
Burn: 1% per spending period
Treasury excess inflation: 3.3% (33% of 10% curve max)
- Proper extrinsic weights
- Separate storage of rate
- Events on exchange and rate change
- Don't allow tiny swaps
Sponsored wallets only hold DENTX temporarily to pay bridge fee, so we need to use AllowDeath to let them to spend it down to zero again.
Bonding duration from 28 to 7 days
Slash deferment from 7 to 5 days

DNET-192
- Limit pool creation to sudo origin
- Allow Staking proxy to invoke NominationPools
- Workaround for overflow in pool balance_to_points
Resolves overflow in calculation used in points issuance and
runtime balance calculations.
@henrikdent henrikdent marked this pull request as ready for review January 29, 2024 13:32
@henrikdent henrikdent merged commit e369969 into develop Jan 29, 2024
@henrikdent henrikdent deleted the feature/december-2023 branch February 20, 2024 13:12
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