Skip to content

Remove pallet::getter usage from merkel mountain range pallet#10437

Merged
bkchr merged 8 commits intoparitytech:masterfrom
naijauser:223-remove-getters-in-pallet-mmr
Dec 18, 2025
Merged

Remove pallet::getter usage from merkel mountain range pallet#10437
bkchr merged 8 commits intoparitytech:masterfrom
naijauser:223-remove-getters-in-pallet-mmr

Conversation

@naijauser
Copy link
Copy Markdown
Contributor

@naijauser naijauser commented Nov 26, 2025

Advances #3326

@naijauser naijauser requested a review from acatangiu as a code owner November 26, 2025 11:39
Comment thread substrate/frame/merkle-mountain-range/src/lib.rs
@naijauser naijauser changed the title Remove getters from pallet-merkel-mountain-range Remove pallet::getter usage from pallet-merkel-mountain-range Nov 28, 2025
@naijauser naijauser changed the title Remove pallet::getter usage from pallet-merkel-mountain-range Remove pallet::getter usage from merkel-mountain-range Nov 28, 2025
@naijauser naijauser changed the title Remove pallet::getter usage from merkel-mountain-range Remove pallet::getter usage from merkel mountain range pallet Nov 28, 2025
@naijauser
Copy link
Copy Markdown
Contributor Author

/cmd prdoc --audience runtime_dev --bump minor

@bkchr bkchr requested a review from acatangiu December 17, 2025 22:34
@bkchr bkchr added the T2-pallets This PR/Issue is related to a particular pallet. label Dec 17, 2025
Comment thread prdoc/pr_10437.prdoc
Co-authored-by: Bastian Köcher <git@kchr.de>
@naijauser
Copy link
Copy Markdown
Contributor Author

Hi @bkchr, should the functions be completely removed every time? In some PRs, I see that it is encouraged to keep them for backwards compatibility.

@bkchr
Copy link
Copy Markdown
Member

bkchr commented Dec 18, 2025

Hi @bkchr, should the functions be completely removed every time? In some PRs, I see that it is encouraged to keep them for backwards compatibility.

Yeah we actually keep them everywhere for backwards compatibility, but as @acatangiu already told you the opposite, I don't wanted to come in again and say the opposite again 🙈 But, if you could add them back, that would be really good and then this change is also just a minor change.

@naijauser
Copy link
Copy Markdown
Contributor Author

Ah, okay. 😆

Let me add them back for uniformity.

Cc @acatangiu

@bkchr bkchr enabled auto-merge December 18, 2025 12:02
@bkchr bkchr added this pull request to the merge queue Dec 18, 2025
Merged via the queue into paritytech:master with commit e82044e Dec 18, 2025
251 of 260 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T2-pallets This PR/Issue is related to a particular pallet.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants