From bcd74bda568747a2995c70a2370ec147c34c2d0e Mon Sep 17 00:00:00 2001 From: Anh Minh <1phamminh0811@gmail.com> Date: Fri, 17 May 2024 16:13:06 +0700 Subject: [PATCH] lint --- x/oracle/types/test_utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x/oracle/types/test_utils.go b/x/oracle/types/test_utils.go index 92c4c194d..de99127c3 100644 --- a/x/oracle/types/test_utils.go +++ b/x/oracle/types/test_utils.go @@ -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 }