Skip to content

Commit

Permalink
chore: stop exposing erasRewardPointsFetched
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Jan 27, 2025
1 parent 3d9c4c1 commit 9a87dd2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const defaultValidatorsContext: ValidatorsContextInterface = {
erasRewardPoints: {},
validatorsFetched: 'unsynced',
validatorEraPointsHistory: {},
erasRewardPointsFetched: 'unsynced',
averageEraValidatorReward: defaultAverageEraValidatorReward,
formatWithPrefs: (addresses) => [],
getValidatorTotalStake: (address) => 0n,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ export const ValidatorsProvider = ({ children }: { children: ReactNode }) => {
erasRewardPoints,
validatorsFetched: validators.status,
validatorEraPointsHistory,
erasRewardPointsFetched,
averageEraValidatorReward,
formatWithPrefs,
getValidatorTotalStake,
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/contexts/Validators/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export interface ValidatorsContextInterface {
erasRewardPoints: ErasRewardPoints
validatorsFetched: Sync
validatorEraPointsHistory: Record<string, ValidatorEraPointHistory>
erasRewardPointsFetched: Sync
averageEraValidatorReward: AverageEraValidatorReward
formatWithPrefs: (addresses: string[]) => Validator[]
getValidatorTotalStake: (address: string) => bigint
Expand Down

0 comments on commit 9a87dd2

Please sign in to comment.