From 8fea9b0f0999ff5831e469947eccbd53255b13d8 Mon Sep 17 00:00:00 2001 From: Tanmay Date: Wed, 18 Dec 2024 09:21:07 -0500 Subject: [PATCH] refacctor updateCrossChainState to updateCrosschainState --- simulation/state.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/simulation/state.go b/simulation/state.go index 87e0860a31..ec078770f9 100644 --- a/simulation/state.go +++ b/simulation/state.go @@ -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, @@ -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.