diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 43b1376f..3b760477 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -21,7 +21,7 @@ jobs: go.mod go.sum - name: Run Gosec Security Scanner - uses: informalsystems/gosec@master + uses: cosmos/gosec@master with: # we let the report trigger content trigger a failure using the GitHub Security features. args: '-no-fail -fmt sarif -out results.sarif ./...' diff --git a/x/nameservice/genesis.go b/x/nameservice/genesis.go index 262e82e1..ccd198a5 100644 --- a/x/nameservice/genesis.go +++ b/x/nameservice/genesis.go @@ -60,6 +60,7 @@ func ExportGenesis(ctx sdk.Context, keeper keeper.Keeper) types.GenesisState { authorities := keeper.ListNameAuthorityRecords(ctx) authorityEntries := []types.AuthorityEntry{} + // #nosec for name, record := range authorities { authorityEntries = append(authorityEntries, types.AuthorityEntry{ Name: name,