Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
affanv14 committed Sep 18, 2024
1 parent 4283fc0 commit 14ed93f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion proto/dydxprotocol/revshare/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ message GenesisState {
// params is the market mapper revenue share params.
MarketMapperRevenueShareParams params = 1 [ (gogoproto.nullable) = false ];
// unconditional_rev_share_config is the unconditional rev share config.
UnconditionalRevShareConfig unconditional_rev_share_config = 2 [ (gogoproto.nullable) = false ];
UnconditionalRevShareConfig unconditional_rev_share_config = 2
[ (gogoproto.nullable) = false ];
}
6 changes: 3 additions & 3 deletions protocol/x/stats/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState)

// ExportGenesis returns the stat module's exported genesis.
func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState {
return &types.GenesisState{
Params: k.GetParams(ctx),
}
genesis := types.DefaultGenesis()
genesis.Params = k.GetParams(ctx)
return genesis
}

0 comments on commit 14ed93f

Please sign in to comment.