forked from cerc-io/laconicd-deprecated
update fork
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/module"
|
||||
|
||||
"github.com/cerc-io/laconicd/x/feemarket/types"
|
||||
@@ -11,7 +12,14 @@ import (
|
||||
|
||||
// RandomizedGenState generates a random GenesisState for nft
|
||||
func RandomizedGenState(simState *module.SimulationState) {
|
||||
params := types.NewParams(simState.Rand.Uint32()%2 == 0, simState.Rand.Uint32(), simState.Rand.Uint32(), simState.Rand.Uint64(), simState.Rand.Int63())
|
||||
params := types.NewParams(simState.Rand.Uint32()%2 == 0,
|
||||
simState.Rand.Uint32(),
|
||||
simState.Rand.Uint32(),
|
||||
simState.Rand.Uint64(),
|
||||
simState.Rand.Int63(),
|
||||
sdk.ZeroDec(),
|
||||
types.DefaultMinGasMultiplier)
|
||||
|
||||
blockGas := simState.Rand.Uint64()
|
||||
feemarketGenesis := types.NewGenesisState(params, blockGas)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user