Skip to content

Commit

Permalink
refacctor updateCrossChainState to updateCrosschainState
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Dec 18, 2024
1 parent 456d59a commit 8fea9b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simulation/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ func updateAuthorityState(
return authorityState
}

// updateCrossChainState updates the crosschain genesis state.
// updateCrosschainState updates the crosschain genesis state.
// It adds the following
// - A gas price list for each chain
func updateCrossChainState(
func updateCrosschainState(
t *testing.T,
rawState map[string]json.RawMessage,
cdc codec.Codec,
Expand Down Expand Up @@ -341,7 +341,7 @@ func updateRawState(
rawState[observertypes.ModuleName] = cdc.MustMarshalJSON(observerState)
rawState[authoritytypes.ModuleName] = cdc.MustMarshalJSON(authorityState)
rawState[fungibletypes.ModuleName] = cdc.MustMarshalJSON(fungibleState)
rawState[crosschaintypes.ModuleName] = cdc.MustMarshalJSON(updateCrossChainState(t, rawState, cdc, r))
rawState[crosschaintypes.ModuleName] = cdc.MustMarshalJSON(updateCrosschainState(t, rawState, cdc, r))
}

// AppStateFn returns the initial application state using a genesis or the simulation parameters.
Expand Down

0 comments on commit 8fea9b0

Please sign in to comment.