Skip to content

Remove pallet::getter usage from sassafras pallet#10460

Merged
bkchr merged 12 commits intoparitytech:masterfrom
naijauser:223-remove-getters-in-sassafras-pallet
Dec 15, 2025
Merged

Remove pallet::getter usage from sassafras pallet#10460
bkchr merged 12 commits intoparitytech:masterfrom
naijauser:223-remove-getters-in-sassafras-pallet

Conversation

@naijauser
Copy link
Copy Markdown
Contributor

Advances #3326

@naijauser naijauser requested a review from a team as a code owner November 28, 2025 13:41
Copy link
Copy Markdown
Contributor

@seadanda seadanda left a comment

Choose a reason for hiding this comment

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

Changes look good, although you should replace the generated functions so people who use these functions elsewhere in downstream runtimes won't break.

E.g. check out https://github.com/paritytech/polkadot-sdk/pull/6184/files

@bkchr
Copy link
Copy Markdown
Member

bkchr commented Dec 2, 2025

Changes look good, although you should add some RuntimeApis

You mean normal rust functions and not runtime apis.

@seadanda
Copy link
Copy Markdown
Contributor

seadanda commented Dec 5, 2025

🙈 damn yea directly contradicting myself in the same sentence. fixed

Copy link
Copy Markdown
Contributor

@seadanda seadanda left a comment

Choose a reason for hiding this comment

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

Just one nit. Thanks for your contribution!

Comment thread substrate/frame/sassafras/src/lib.rs Outdated
Co-authored-by: Dónal Murray <donalm@seadanda.dev>
@github-actions github-actions Bot requested a review from seadanda December 5, 2025 22:36
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 5, 2025

Review required! Latest push from author must always be reviewed

@seadanda seadanda added T1-FRAME This PR/Issue is related to core FRAME, the framework. T2-pallets This PR/Issue is related to a particular pallet. and removed T1-FRAME This PR/Issue is related to core FRAME, the framework. labels Dec 11, 2025
Comment thread substrate/frame/sassafras/src/lib.rs Outdated
Comment thread substrate/frame/sassafras/src/lib.rs Outdated
@bkchr bkchr enabled auto-merge December 15, 2025 22:45
@bkchr bkchr added this pull request to the merge queue Dec 15, 2025
Merged via the queue into paritytech:master with commit 974c690 Dec 15, 2025
242 of 251 checks passed
@naijauser naijauser deleted the 223-remove-getters-in-sassafras-pallet branch December 16, 2025 00:48
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

None yet

Development

Successfully merging this pull request may close these issues.

3 participants