feat: add support to dec34 #106
unit-test-and-coverage.yml
on: pull_request
Run tests and collect coverage
6m 2s
Annotations
10 errors and 1 warning
Run tests and collect coverage:
testutil/keeper/amm.go#L50
cannot use oracleKeeper (variable of type *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper) as "github.com/elys-network/elys/x/amm/types".OracleKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper does not implement "github.com/elys-network/elys/x/amm/types".OracleKeeper (wrong type for method GetAssetPriceFromDenom)
|
Run tests and collect coverage:
testutil/keeper/amm.go#L50
cannot use oracleKeeper (variable of type *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper) as "github.com/elys-network/elys/x/amm/types".OracleKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper does not implement "github.com/elys-network/elys/x/amm/types".OracleKeeper (wrong type for method GetAssetPriceFromDenom)
|
Run tests and collect coverage:
testutil/keeper/amm.go#L50
cannot use oracleKeeper (variable of type *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper) as "github.com/elys-network/elys/x/amm/types".OracleKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper does not implement "github.com/elys-network/elys/x/amm/types".OracleKeeper (wrong type for method GetAssetPriceFromDenom)
|
Run tests and collect coverage:
testutil/keeper/amm.go#L50
cannot use oracleKeeper (variable of type *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper) as "github.com/elys-network/elys/x/amm/types".OracleKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper does not implement "github.com/elys-network/elys/x/amm/types".OracleKeeper (wrong type for method GetAssetPriceFromDenom)
|
Run tests and collect coverage:
testutil/keeper/amm.go#L50
cannot use oracleKeeper (variable of type *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper) as "github.com/elys-network/elys/x/amm/types".OracleKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/amm/types/mocks".OracleKeeper does not implement "github.com/elys-network/elys/x/amm/types".OracleKeeper (wrong type for method GetAssetPriceFromDenom)
|
Run tests and collect coverage:
x/amm/types/amm_price_test.go#L134
cannot use oracleKeeper (variable of type *mocks.OracleKeeper) as "github.com/elys-network/elys/x/amm/types".OracleKeeper value in argument to tc.pool.GetTokenARate: *mocks.OracleKeeper does not implement "github.com/elys-network/elys/x/amm/types".OracleKeeper (wrong type for method GetAssetPriceFromDenom)
|
Run tests and collect coverage:
x/amm/types/calc_exit_pool_test.go#L98
cannot use oracleKeeper (variable of type *mocks.OracleKeeper) as "github.com/elys-network/elys/x/amm/types".OracleKeeper value in argument to types.CalcExitValueWithoutSlippage: *mocks.OracleKeeper does not implement "github.com/elys-network/elys/x/amm/types".OracleKeeper (wrong type for method GetAssetPriceFromDenom)
|
Run tests and collect coverage:
x/amm/types/calc_exit_pool_test.go#L204
cannot use oracleKeeper (variable of type *mocks.OracleKeeper) as "github.com/elys-network/elys/x/amm/types".OracleKeeper value in argument to types.CalcExitPool: *mocks.OracleKeeper does not implement "github.com/elys-network/elys/x/amm/types".OracleKeeper (wrong type for method GetAssetPriceFromDenom)
|
Run tests and collect coverage:
x/amm/types/swap_out_amt_given_in_test.go#L38
cannot use sdkmath.LegacyZeroDec() (value of type "cosmossdk.io/math".LegacyDec) as "github.com/elys-network/elys/types".Dec34 value in struct literal
|
Run tests and collect coverage:
x/amm/types/swap_out_amt_given_in_test.go#L57
cannot use sdkmath.LegacyZeroDec() (value of type "cosmossdk.io/math".LegacyDec) as "github.com/elys-network/elys/types".Dec34 value in struct literal
|
Run tests and collect coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|