Skip to content

weight balance test fixes1 #1234

weight balance test fixes1

weight balance test fixes1 #1234

Triggered via push December 15, 2023 14:28
Status Failure
Total duration 8m 9s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
test: x/margin/keeper/get_amm_pool_test.go#L17
cannot use mockAmm (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".AmmKeeper) as "github.com/elys-network/elys/x/margin/types".AmmKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/margin/types/mocks".AmmKeeper does not implement "github.com/elys-network/elys/x/margin/types".AmmKeeper (wrong type for method CalcSwapEstimationByDenom)
test: x/margin/keeper/get_amm_pool_test.go#L35
cannot use mockAmm (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".AmmKeeper) as "github.com/elys-network/elys/x/margin/types".AmmKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/margin/types/mocks".AmmKeeper does not implement "github.com/elys-network/elys/x/margin/types".AmmKeeper (wrong type for method CalcSwapEstimationByDenom)
test: x/margin/keeper/get_first_valid_pool_test.go#L17
cannot use mockAmm (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".AmmKeeper) as "github.com/elys-network/elys/x/margin/types".AmmKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/margin/types/mocks".AmmKeeper does not implement "github.com/elys-network/elys/x/margin/types".AmmKeeper (wrong type for method CalcSwapEstimationByDenom)
test: x/margin/keeper/get_first_valid_pool_test.go#L36
cannot use mockAmm (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".AmmKeeper) as "github.com/elys-network/elys/x/margin/types".AmmKeeper value in argument to keeper.NewKeeper: *"github.com/elys-network/elys/x/margin/types/mocks".AmmKeeper does not implement "github.com/elys-network/elys/x/margin/types".AmmKeeper (wrong type for method CalcSwapEstimationByDenom)
test
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/