Skip to content

feat: add support to dec34 #105

feat: add support to dec34

feat: add support to dec34 #105

Triggered via pull request January 8, 2025 07:33
Status Failure
Total duration 3m 46s
Artifacts

unit-test-and-coverage.yml

on: pull_request
Run tests and collect coverage
3m 37s
Run tests and collect coverage
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run tests and collect coverage: x/perpetual/keeper/estimate_swap.go#L48
cannot use slippage (variable of type "github.com/elys-network/elys/types".Dec34) as "cosmossdk.io/math".LegacyDec value in return statement
Run tests and collect coverage: x/perpetual/keeper/estimate_swap.go#L48
cannot use weightBalanceBonus (variable of type "github.com/elys-network/elys/types".Dec34) as "cosmossdk.io/math".LegacyDec value in argument to getWeightBreakingFee
Run tests and collect coverage: x/perpetual/keeper/estimate_swap.go#L76
cannot use slippage (variable of type "github.com/elys-network/elys/types".Dec34) as "cosmossdk.io/math".LegacyDec value in return statement
Run tests and collect coverage: x/perpetual/keeper/estimate_swap.go#L76
cannot use weightBalanceBonus (variable of type "github.com/elys-network/elys/types".Dec34) as "cosmossdk.io/math".LegacyDec value in argument to getWeightBreakingFee
Run tests and collect coverage: x/perpetual/keeper/estimate_swap.go#L48
cannot use slippage (variable of type "github.com/elys-network/elys/types".Dec34) as "cosmossdk.io/math".LegacyDec value in return statement
Run tests and collect coverage: x/perpetual/keeper/estimate_swap.go#L48
cannot use weightBalanceBonus (variable of type "github.com/elys-network/elys/types".Dec34) as "cosmossdk.io/math".LegacyDec value in argument to getWeightBreakingFee
Run tests and collect coverage: x/perpetual/keeper/estimate_swap.go#L76
cannot use slippage (variable of type "github.com/elys-network/elys/types".Dec34) as "cosmossdk.io/math".LegacyDec value in return statement
Run tests and collect coverage: x/perpetual/keeper/estimate_swap.go#L76
cannot use weightBalanceBonus (variable of type "github.com/elys-network/elys/types".Dec34) as "cosmossdk.io/math".LegacyDec value in argument to getWeightBreakingFee
Run tests and collect coverage: x/masterchef/client/cli/query_aprs_test.go#L35
cannot use sdkmath.LegacyOneDec() (value of type "cosmossdk.io/math".LegacyDec) as string value in struct literal
Run tests and collect coverage: x/masterchef/client/cli/query_aprs_test.go#L36
cannot use sdkmath.LegacyOneDec() (value of type "cosmossdk.io/math".LegacyDec) as string 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