Skip to content

Commit

Permalink
fix(simulator): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Jun 17, 2024
1 parent 080d0ad commit e605186
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions module/depinject.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ import (
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
"github.com/strangelove-ventures/poa"
"github.com/strangelove-ventures/poa/simulation"

"cosmossdk.io/core/address"
"cosmossdk.io/core/appmodule"
"cosmossdk.io/core/store"
"cosmossdk.io/depinject"
"cosmossdk.io/log"

"github.com/strangelove-ventures/poa"
modulev1 "github.com/strangelove-ventures/poa/api/module/v1"
"github.com/strangelove-ventures/poa/keeper"
"github.com/strangelove-ventures/poa/simulation"
)

var _ appmodule.AppModule = AppModule{}
Expand Down Expand Up @@ -78,7 +78,7 @@ func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) {
}

//// ProposalMsgs returns msgs used for governance proposals for simulations.
//func (AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.WeightedProposalMsg {
// func (AppModule) ProposalMsgs(simState module.SimulationState) []simtypes.WeightedProposalMsg {
// return simulation.ProposalMsgs()
//}

Expand Down
3 changes: 2 additions & 1 deletion simulation/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/types/simulation"

"github.com/strangelove-ventures/poa"
)

Expand Down Expand Up @@ -49,6 +50,6 @@ func RandomizedGenState(simState *module.SimulationState) {
if err != nil {
panic(err)
}
fmt.Printf("Selected randomly generated poa parameters:\n%s\n", bz)
fmt.Printf("Selected randomly generated poa parameters:\n%s\n", bz) // nolint: forbidigo
simState.GenState[poa.ModuleName] = simState.Cdc.MustMarshalJSON(&poaGenesis)
}

0 comments on commit e605186

Please sign in to comment.