Skip to content

Add bound to pips#1784

Merged
HenriqueNogara merged 5 commits intopips-docsfrom
MESH-/Add-Bounds
Feb 6, 2025
Merged

Add bound to pips#1784
HenriqueNogara merged 5 commits intopips-docsfrom
MESH-/Add-Bounds

Conversation

@HenriqueNogara
Copy link
Copy Markdown
Contributor

@HenriqueNogara HenriqueNogara commented Jan 15, 2025

changelog

new features

  • Performs pruning/refunds on_idle;

new external API

  • Adds the following storage to the pips pallet: PendingRefunds, VotesToBePruned;

other

  • Improves benchmarks, taking into account the number of votes that were pruned/refunded;
  • Adds bounds to the number of pruned votes/refunds;

@HenriqueNogara HenriqueNogara changed the base branch from develop to pips-docs January 16, 2025 12:43
@HenriqueNogara HenriqueNogara changed the title WIP: Add bound to pips Add bound to pips Jan 16, 2025
Copy link
Copy Markdown
Contributor

@Neopallium Neopallium left a comment

Choose a reason for hiding this comment

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

Looks good.

@HenriqueNogara HenriqueNogara merged commit be7c877 into pips-docs Feb 6, 2025
@HenriqueNogara HenriqueNogara deleted the MESH-/Add-Bounds branch February 6, 2025 14:59
HenriqueNogara added a commit that referenced this pull request Feb 6, 2025
* Improve docs - part 1

* Improve extrinsic documentation

* Add bound to pips (#1784)

* Solve merge conflicts - import path

* Improve insert_live_queue function

* Add unit test; Improve weight calculation (return max between refunds and votes)

* Prune and refund only on_idle

* Remove const and error
Neopallium added a commit that referenced this pull request Feb 6, 2025
* Fix issue with missing assimilate_storage on Sudo GenesisConfig.

Use workspace deps.

Copy Sudo pallet code from Substrate monthly 2023-03.

cargo fmt Sudo code.

Readd the MIN_WEIGHT support to Sudo.

Update Relayer pallet.

Updated ProtocolFee pallet.

Add missing Rust docs and other cleanup.

Fixup Relayer

Fixup Protocol Fee pallet.

* Frame v2 upgrade part3 (#1773)

Update Sto pallet.

Add 'try-runtime' feature to all pallets.

Update Base pallet.

Update Bridge pallet.

Update Permissions pallet.

Update Treasury pallet.

Upgrade Group pallet.

Use 'Pallet' instead of 'Module' for FRAME v1 pallets too.

Add Frame v2 migration helper.

Support loading chain spec with dev/testnet runtime.

Add v7.0 chain spec for ci-runtime.
Add CLI tool to upgrade the ci-chain.
Run the integration tests before and after a chain upgrade.
Bump Rust integration resource class.

Update check_storage_version script for new Frame v2 version.

Update External Agents pallet.

Update Corporate Actions pallet.

Update Capital Distribution pallet.

Update Corporate Ballot pallet.

Update Committee pallet.

Update PolymeshContracts pallet.

Update NFT pallet.

Updated Balances pallet.

Update ComplianceManager pallet.

Cargo fmt

Update Asset pallet.

Update Checkpoint pallet.

Update Statistics pallet. (#1779)

Update Portfolio pallet.

Update Settlement pallet.

Update Identity pallet.

* Pips docs (#1781)

* Improve docs - part 1

* Improve extrinsic documentation

* Add bound to pips (#1784)

* Solve merge conflicts - import path

* Improve insert_live_queue function

* Add unit test; Improve weight calculation (return max between refunds and votes)

* Prune and refund only on_idle

* Remove const and error

---------

Co-authored-by: Henrique Nogara <nogara.henrique@gmail.com>
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