Move StakingLedger
struct definition and implementation
#402
Labels
C1-mentor
A task where a mentor is available. Please indicate in the issue who the mentor could be.
C2-good-first-issue
A task for a first time contributor to become familiar with the Polkadot-SDK.
D0-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder.
Follow up from #1484 (already merged).
The #1484 has implemented and refactored out some of the code from the
StakingLedger
into its own module (/src/ledger.rs
). In order to keep the PR 1484 clean and with sane diffs, we kept half of the staking ledger related code insrc/lib.rs
. This issue consists of refactoring the code so that theStakingLedger
definition and all impls are in the ledger module.StakingLedger
definition and implementation into/staking/src/lib.rs
.The text was updated successfully, but these errors were encountered: