refactor: prevent panicking with params #3010
Annotations
2 errors and 2 warnings
Run Gosec Security Scanner:
testutil/keeper/emissions.go#L96
cannot use mock (variable of type *"github.com/zeta-chain/zetacore/testutil/keeper/mocks/emissions".EmissionParamStore) as "github.com/zeta-chain/zetacore/x/emissions/types".ParamStore value in assignment: *"github.com/zeta-chain/zetacore/testutil/keeper/mocks/emissions".EmissionParamStore does not implement "github.com/zeta-chain/zetacore/x/emissions/types".ParamStore (missing method GetParamSetIfExists)
|
Run Gosec Security Scanner:
testutil/keeper/emissions.go#L127
impossible type assertion: keeper.GetParamStore().(*emissionsmocks.EmissionParamStore)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading