Skip to content

fix: add group existence check when verify permission #51

fix: add group existence check when verify permission

fix: add group existence check when verify permission #51

Triggered via pull request August 2, 2023 07:46
Status Failure
Total duration 4m 13s
Artifacts

tests.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
tests (1.20.x, ubuntu-latest): x/storage/genesis_test.go#L34
cannot use &types.MockPermissionKeeper{} (value of type *"github.com/bnb-chain/greenfield/x/storage/types".MockPermissionKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".PermissionKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockPermissionKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".PermissionKeeper (wrong type for method VerifyPolicy)
tests (1.20.x, ubuntu-latest): x/storage/keeper/grpc_query_test.go#L36
cannot use &types.MockPermissionKeeper{} (value of type *"github.com/bnb-chain/greenfield/x/storage/types".MockPermissionKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".PermissionKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockPermissionKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".PermissionKeeper (wrong type for method VerifyPolicy)
tests (1.20.x, ubuntu-latest): x/storage/keeper/payment_test.go#L74
cannot use permissionKeeper (variable of type *"github.com/bnb-chain/greenfield/x/storage/types".MockPermissionKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".PermissionKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockPermissionKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".PermissionKeeper (wrong type for method VerifyPolicy)
tests (1.20.x, ubuntu-latest)
Process completed with exit code 2.