Remove pallet::getter usage from the pallet-balances#4967
Merged
ggwpez merged 7 commits intoparitytech:masterfrom Jul 30, 2024
Merged
Remove pallet::getter usage from the pallet-balances#4967ggwpez merged 7 commits intoparitytech:masterfrom
pallet::getter usage from the pallet-balances#4967ggwpez merged 7 commits intoparitytech:masterfrom
Conversation
pallet::getter usage from the balances pallet
pallet::getter usage from the balances palletpallet::getter usage from the pallet-balances
bkchr
approved these changes
Jul 17, 2024
|
The CI pipeline was cancelled due to failure one of the required jobs. |
Member
|
@mittal-parth CI is not happy. |
Contributor
Author
|
@bkchr I'll make the next changes next week. |
auto-merge was automatically disabled
July 29, 2024 17:05
Head branch was pushed to by a user without write access
Contributor
Author
|
@bkchr Decided to replace all instances (because otherwise also, I was touching multiple files outside the pallet to pass a reference to the |
bkchr
approved these changes
Jul 29, 2024
ggwpez
approved these changes
Jul 29, 2024
Member
|
@mittal-parth can you please make the |
mittal-parth
commented
Jul 30, 2024
Contributor
Author
Done @bkchr |
TarekkMA
pushed a commit
to moonbeam-foundation/polkadot-sdk
that referenced
this pull request
Aug 2, 2024
As per paritytech#3326, removes usage of the `pallet::getter` macro from the balances pallet. The syntax `StorageItem::<T, I>::get()` should be used instead. Also, adds public functions for compatibility. cc @muraca polkadot address: 5GsLutpKjbzsbTphebs9Uy4YK6gTN47MAaz6njPktidjR5cp --------- Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]>
ordian
added a commit
that referenced
this pull request
Aug 6, 2024
* master: (51 commits) Remove unused feature gated code from the minimal template (#5237) make polkadot-parachain startup errors pretty (#5214) Coretime auto-renew (#4424) network/strategy: Backoff and ban overloaded peers to avoid submitting the same request multiple times (#5029) Fix frame crate usage doc (#5222) beefy: Tolerate pruned state on runtime API call (#5197) rpc: Enable ChainSpec for polkadot-parachain (#5205) Add an adapter for configuring AssetExchanger (#5130) Replace env_logger with sp_tracing (#5065) Adjust sync templates flow to use new release branch (#5182) litep2p/discovery: Publish authority records with external addresses only (#5176) Run UI tests in CI for some other crates (#5167) Remove `pallet::getter` usage from the pallet-balances (#4967) pallet-timestamp: `UnixTime::now` implementation logs error only if called at genesis (#5055) [CI] Cache try-runtime check (#5179) [Backport] version bumps and the prdocs reordering from stable2407 (#5178) [subsystem-benchmark] Update availability-distribution-regression-bench baseline after recent subsystem changes (#5180) Remove pallet::getter usage from proxy (#4963) Remove pallet::getter macro usage from pallet-election-provider-multi-phase (#4487) [email protected] (#5177) ...
64 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As per #3326, removes usage of the
pallet::gettermacro from the balances pallet. The syntaxStorageItem::<T, I>::get()should be used instead.Also, adds public functions for compatibility.
cc @muraca
polkadot address: 5GsLutpKjbzsbTphebs9Uy4YK6gTN47MAaz6njPktidjR5cp