Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
phamminh0811 committed May 17, 2024
1 parent 3e02c52 commit bcd74bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/oracle/types/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,15 @@ func (v MockValidator) TokensFromShares(sdk.Dec) sdk.Dec { return sdk.ZeroD
func (v MockValidator) TokensFromSharesTruncated(sdk.Dec) sdk.Dec {
return sdk.ZeroDec()
}

func (v MockValidator) TokensFromSharesRoundUp(sdk.Dec) sdk.Dec {
return sdk.ZeroDec()
}

func (v MockValidator) SharesFromTokens(_ sdkmath.Int) (sdk.Dec, error) {
return sdk.ZeroDec(), nil
}

func (v MockValidator) SharesFromTokensTruncated(_ sdkmath.Int) (sdk.Dec, error) {
return sdk.ZeroDec(), nil
}
Expand Down

0 comments on commit bcd74bd

Please sign in to comment.