Skip to content

Commit

Permalink
docs: added godocs
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Jan 16, 2024
1 parent ef55c7e commit 198b525
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ func (suite *KeeperTestSuite) TestOnChanOpenTry() {
// set the active channelID in state
suite.chainB.GetSimApp().ICAHostKeeper.SetActiveChannelID(suite.chainB.GetContext(), path.EndpointB.ConnectionID, path.EndpointA.ChannelConfig.PortID, path.EndpointB.ChannelID)

// set the previous encoding to be proto3json. And then set the new encoding to be protobuf.
// set the previous encoding to be proto3json.
// the new encoding is set to be protobuf in the test below.
metadata.Encoding = icatypes.EncodingProto3JSON

versionBytes, err := icatypes.ModuleCdc.MarshalJSON(&metadata)
Expand Down

0 comments on commit 198b525

Please sign in to comment.