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

Frame v2 upgrade part2 #1772

Merged
merged 4 commits into from
Feb 6, 2025
Merged

Frame v2 upgrade part2 #1772

merged 4 commits into from
Feb 6, 2025

Conversation

Neopallium
Copy link
Contributor

@Neopallium Neopallium commented Dec 19, 2024

Update pallets to Frame v2:

  1. Sudo
  2. Relayer
  3. Protocol Fee
  4. Sto
  5. Base
  6. Bridge
  7. Permissions
  8. Treasury
  9. Group
  10. External Agents
  11. Corporate Actions
  12. Capital Distribution
  13. Corporate Ballot
  14. Committee
  15. PolymeshContracts
  16. NFT
  17. Balances
  18. ComplianceManager
  19. Asset
  20. Checkpoint
  21. Statistics
  22. Portfolio
  23. Settlement
  24. Identity

changelog

new features

  • Performs pip 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;
  • Improve Pips pallet documentation
  • 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.

@Neopallium Neopallium changed the base branch from develop to frame_v2_upgrade_part1 December 19, 2024 18:21
@Neopallium Neopallium changed the title [WIP] Frame v2 upgrade part2 Frame v2 upgrade part2 Dec 20, 2024
@Neopallium Neopallium changed the title Frame v2 upgrade part2 [WIP] Frame v2 upgrade part2 Dec 20, 2024
@Neopallium

This comment was marked as outdated.

@Neopallium Neopallium force-pushed the frame_v2_upgrade_part1 branch from 3c62f70 to 7fa260f Compare December 30, 2024 11:28
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part2 branch from f00038f to 9f696f6 Compare December 30, 2024 11:29
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part1 branch from 7fa260f to f5251ac Compare December 31, 2024 10:02
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part2 branch from 9f696f6 to 5114790 Compare December 31, 2024 10:07
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part1 branch from f5251ac to 6cbba32 Compare December 31, 2024 10:29
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part2 branch from 5114790 to 8c09228 Compare December 31, 2024 10:29
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part1 branch from 6cbba32 to eb72eac Compare December 31, 2024 14:19
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part2 branch from 8c09228 to bebdf7f Compare December 31, 2024 14:19
@Neopallium Neopallium changed the title [WIP] Frame v2 upgrade part2 Frame v2 upgrade part2 Dec 31, 2024
pallets/relayer/src/lib.rs Show resolved Hide resolved
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part2 branch 2 times, most recently from 9b46523 to c031047 Compare January 14, 2025 14:21
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part1 branch from 4b757d0 to 62a3971 Compare January 14, 2025 15:45
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part2 branch from c031047 to 4fba416 Compare January 14, 2025 15:46
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part1 branch from 62a3971 to 8692879 Compare January 16, 2025 16:42
Base automatically changed from frame_v2_upgrade_part1 to develop January 16, 2025 16:54
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part2 branch from 4fba416 to 6e846c1 Compare January 16, 2025 17:18
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.
@Neopallium Neopallium force-pushed the frame_v2_upgrade_part2 branch from 6e846c1 to 3260e83 Compare January 24, 2025 15:43
Neopallium and others added 3 commits January 29, 2025 16:10
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.
* 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 Neopallium merged commit 16c7d41 into develop Feb 6, 2025
15 of 17 checks passed
@Neopallium Neopallium deleted the frame_v2_upgrade_part2 branch February 6, 2025 17:27
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