Skip to content

refactor: margin functions #766

refactor: margin functions

refactor: margin functions #766

Triggered via push September 15, 2023 15:13
Status Failure
Total duration 10m 33s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test: x/margin/keeper/open_test.go#L22
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
test: x/margin/keeper/open_test.go#L48
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
test: x/margin/keeper/open_test.go#L75
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
test: x/margin/keeper/open_test.go#L107
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
test: x/margin/keeper/open_test.go#L141
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
test: x/margin/keeper/open_test.go#L174
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
test: x/margin/keeper/open_test.go#L207
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
test: x/margin/keeper/open_test.go#L242
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
test: x/margin/keeper/open_test.go#L277
cannot use mockChecker (variable of type *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker) as "github.com/elys-network/elys/x/margin/types".OpenChecker value in struct literal: *"github.com/elys-network/elys/x/margin/types/mocks".OpenChecker does not implement "github.com/elys-network/elys/x/margin/types".OpenChecker (missing method CheckLongAssets)
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/