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

Remove usage of the pallet::getter macro from pallet-grandpa #4529

Merged
merged 25 commits into from
Jan 13, 2025

Conversation

PolkadotDom
Copy link
Contributor

@PolkadotDom PolkadotDom commented May 20, 2024

As per #3326, removes pallet::getter macro usage from pallet-grandpa. The syntax StorageItem::<T, I>::get() should be used instead.

cc @muraca

@PolkadotDom PolkadotDom requested a review from andresilva as a code owner May 20, 2024 21:48
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-clippy
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6273292

@PolkadotDom PolkadotDom requested review from bkchr and davxy June 22, 2024 19:01
@bkchr bkchr added the T2-pallets This PR/Issue is related to a particular pallet. label Jul 24, 2024
@bkchr
Copy link
Member

bkchr commented Jul 24, 2024

@PolkadotDom can you rework as the other prs? With the getters as functions?

substrate/frame/grandpa/src/lib.rs Outdated Show resolved Hide resolved
@bkchr bkchr enabled auto-merge January 13, 2025 20:19
@bkchr bkchr added this pull request to the merge queue Jan 13, 2025
Merged via the queue into paritytech:master with commit cccefdd Jan 13, 2025
197 of 204 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
None yet
Development

Successfully merging this pull request may close these issues.

4 participants