From cd568abd9cb555bdc99682a842d5b9fced5762ea Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Sat, 27 Aug 2022 23:29:39 +0000 Subject: [PATCH] make non-nil genesis state --- x/cosmostest/types/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/cosmostest/types/genesis.go b/x/cosmostest/types/genesis.go index c6d005b..41d6e1b 100644 --- a/x/cosmostest/types/genesis.go +++ b/x/cosmostest/types/genesis.go @@ -10,7 +10,7 @@ const DefaultIndex uint64 = 1 // DefaultGenesis returns the default Capability genesis state func DefaultGenesis() *GenesisState { return &GenesisState{ - NextAuction: nil, + NextAuction: &NextAuction{AuctionId: 0}, AuctionList: []Auction{}, // this line is used by starport scaffolding # genesis/types/default Params: DefaultParams(),