Skip to content

Commit

Permalink
Add TotalBondedTokens to expected staking keeper interface
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jul 18, 2024
1 parent 2008840 commit 1a1a1a9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions testutil/keeper/mocks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions x/ccv/types/expected_keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ type StakingKeeper interface {
) error
StakingTokenSupply(ctx context.Context) (math.Int, error)
BondedRatio(ctx context.Context) (math.LegacyDec, error)
TotalBondedTokens(ctx context.Context) (math.Int, error)
}

// SlashingKeeper defines the contract expected to perform ccv slashing
Expand Down

0 comments on commit 1a1a1a9

Please sign in to comment.