File tree 1 file changed +1
-17
lines changed
1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change 4
4
"encoding/json"
5
5
6
6
"github.com/cosmos/cosmos-sdk/codec"
7
- "github.com/cosmos/cosmos-sdk/types"
8
- minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
9
7
)
10
8
11
9
// The genesis state of the blockchain is represented here as a map of raw json
@@ -19,19 +17,5 @@ type GenesisState map[string]json.RawMessage
19
17
20
18
// NewDefaultGenesisState generates the default state for the application.
21
19
func NewDefaultGenesisState (cdc codec.JSONCodec ) GenesisState {
22
- defaultGenesis := ModuleBasics .DefaultGenesis (cdc )
23
-
24
- // set mint module params for genesis state
25
- mintGen := minttypes.GenesisState {
26
- Params : minttypes.Params {
27
- MintDenom : "uarkeo" ,
28
- InflationRateChange : types .NewDec (0 ),
29
- InflationMax : types .NewDec (0 ),
30
- InflationMin : types .NewDec (0 ),
31
- GoalBonded : types .NewDec (670000000000000000 ),
32
- BlocksPerYear : 6311520 ,
33
- },
34
- }
35
- defaultGenesis [minttypes .ModuleName ] = cdc .MustMarshalJSON (& mintGen )
36
- return defaultGenesis
20
+ return ModuleBasics .DefaultGenesis (cdc )
37
21
}
You can’t perform that action at this time.
0 commit comments