use cosmos/goces

This commit is contained in:
0xmuralik 2022-10-18 11:40:03 +05:30
parent b503d311d2
commit 906ec2a06c
2 changed files with 2 additions and 1 deletions

View File

@ -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 ./...'

View File

@ -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,