fix: add group existence check when verify permission #51
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.
|