Skip to content

Commit

Permalink
Attempt to fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
zmanian committed Oct 25, 2024
1 parent 1282250 commit a9615ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x/axelarcork/keeper/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ func ExportGenesis(ctx sdk.Context, k Keeper) types.GenesisState {

ps := k.GetParamSet(ctx)
gs.Params = &ps
gs.ScheduledCorks.ScheduledCorks = make([]*types.ScheduledAxelarCork, 0)
gs.CorkResults.CorkResults = make([]*types.AxelarCorkResult, 0)

gs.ScheduledCorks = &types.ScheduledAxelarCorks{ScheduledCorks: make([]*types.ScheduledAxelarCork, 0)}
gs.CorkResults = &types.AxelarCorkResults{CorkResults: make([]*types.AxelarCorkResult, 0)}
k.IterateChainConfigurations(ctx, func(config types.ChainConfiguration) (stop bool) {
gs.ChainConfigurations.Configurations = append(gs.ChainConfigurations.Configurations, &config)

Expand Down

0 comments on commit a9615ff

Please sign in to comment.