fix: rollback to tendermint v0.34.21 #38
2
.github/workflows/security.yml
vendored
2
.github/workflows/security.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
go.mod
|
go.mod
|
||||||
go.sum
|
go.sum
|
||||||
- name: Run Gosec Security Scanner
|
- name: Run Gosec Security Scanner
|
||||||
uses: informalsystems/gosec@master
|
uses: cosmos/gosec@master
|
||||||
with:
|
with:
|
||||||
# we let the report trigger content trigger a failure using the GitHub Security features.
|
# we let the report trigger content trigger a failure using the GitHub Security features.
|
||||||
args: '-no-fail -fmt sarif -out results.sarif ./...'
|
args: '-no-fail -fmt sarif -out results.sarif ./...'
|
||||||
|
@ -60,6 +60,7 @@ func ExportGenesis(ctx sdk.Context, keeper keeper.Keeper) types.GenesisState {
|
|||||||
|
|
||||||
authorities := keeper.ListNameAuthorityRecords(ctx)
|
authorities := keeper.ListNameAuthorityRecords(ctx)
|
||||||
authorityEntries := []types.AuthorityEntry{}
|
authorityEntries := []types.AuthorityEntry{}
|
||||||
|
// #nosec
|
||||||
for name, record := range authorities {
|
for name, record := range authorities {
|
||||||
authorityEntries = append(authorityEntries, types.AuthorityEntry{
|
authorityEntries = append(authorityEntries, types.AuthorityEntry{
|
||||||
Name: name,
|
Name: name,
|
||||||
|
Loading…
Reference in New Issue
Block a user