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

[doc] Example MBM pallet #2119

Merged
merged 24 commits into from
Apr 4, 2024
Merged

[doc] Example MBM pallet #2119

merged 24 commits into from
Apr 4, 2024

Conversation

juangirini
Copy link
Contributor

@juangirini juangirini commented Nov 1, 2023

Basic example showcasing a migration using the MBM framework

This PR has been built on top of #1781 and adds two new example crates to the examples pallet

Changes Made:

Added the pallet-example-mbm crate: This crate provides a minimal example of a pallet that uses MBM. It showcases a storage migration where values are migrated from a u32 to a u64.

@paritytech-review-bot paritytech-review-bot bot requested review from a team November 1, 2023 14:30
@paritytech-review-bot paritytech-review-bot bot requested a review from a team November 2, 2023 09:56
@juangirini juangirini added the T2-pallets This PR/Issue is related to a particular pallet. label Nov 2, 2023
@juangirini juangirini marked this pull request as ready for review November 2, 2023 10:59
@juangirini juangirini requested review from a team and kianenigma November 2, 2023 10:59
@juangirini
Copy link
Contributor Author

@liamaharon as you are working on a migration example/documentation PR #1554 I would appreciate you input here

@paritytech-review-bot paritytech-review-bot bot requested a review from a team November 7, 2023 03:07
@juangirini
Copy link
Contributor Author

bot fmt

@command-bot
Copy link

command-bot bot commented Nov 7, 2023

@juangirini https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4251201 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh". Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 1-e51bf87f-971e-4d3f-aab3-8a688c9c83bc to cancel this command or bot cancel to cancel all commands in this pull request.

@command-bot
Copy link

command-bot bot commented Nov 7, 2023

@juangirini Command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh" has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4251201 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4251201/artifacts/download.

Base automatically changed from oty-after-inherents to master February 28, 2024 20:51
@paritytech-review-bot paritytech-review-bot bot requested a review from a team February 28, 2024 20:52
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez ggwpez added T1-FRAME This PR/Issue is related to core FRAME, the framework. and removed R0-silent Changes should not be mentioned in any release notes labels Apr 3, 2024
@ggwpez ggwpez added this pull request to the merge queue Apr 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 3, 2024
@ggwpez ggwpez added this pull request to the merge queue Apr 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 3, 2024
@ggwpez ggwpez added this pull request to the merge queue Apr 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 3, 2024
@ggwpez ggwpez added this pull request to the merge queue Apr 4, 2024
Merged via the queue into master with commit bcb4d13 Apr 4, 2024
134 of 138 checks passed
@ggwpez ggwpez deleted the jg/example-mbm branch April 4, 2024 12:15
Ank4n pushed a commit that referenced this pull request Apr 9, 2024
## Basic example showcasing a migration using the MBM framework

This PR has been built on top of
#1781 and adds two new
example crates to the `examples` pallet

### Changes Made:

Added the `pallet-example-mbm` crate: This crate provides a minimal
example of a pallet that uses MBM. It showcases a storage migration
where values are migrated from a `u32` to a `u64`.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
dharjeezy pushed a commit to dharjeezy/polkadot-sdk that referenced this pull request Apr 9, 2024
## Basic example showcasing a migration using the MBM framework

This PR has been built on top of
paritytech#1781 and adds two new
example crates to the `examples` pallet

### Changes Made:

Added the `pallet-example-mbm` crate: This crate provides a minimal
example of a pallet that uses MBM. It showcases a storage migration
where values are migrated from a `u32` to a `u64`.

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T1-FRAME This PR/Issue is related to core FRAME, the framework.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants