Skip to content

Commit

Permalink
removed new line from Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
insumity committed Jun 27, 2024
1 parent c14b6c2 commit 33726af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/e2e/testlib/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,31 +221,31 @@ func (c *ChainState) UnmarshalJSON(data []byte) error {
func UnmarshalProposalWithType(inputMap json.RawMessage, proposalType string) (Proposal, error) {
var err error
switch proposalType {
case "main.TextProposal":
case "e2e.TextProposal":
prop := TextProposal{}
err := json.Unmarshal(inputMap, &prop)
if err == nil {
return prop, nil
}
case "main.ConsumerAdditionProposal":
case "e2e.ConsumerAdditionProposal":
prop := ConsumerAdditionProposal{}
err := json.Unmarshal(inputMap, &prop)
if err == nil {
return prop, nil
}
case "main.UpgradeProposal":
case "e2e.UpgradeProposal":
prop := UpgradeProposal{}
err := json.Unmarshal(inputMap, &prop)
if err == nil {
return prop, nil
}
case "main.ConsumerRemovalProposal":
case "e2e.ConsumerRemovalProposal":
prop := ConsumerRemovalProposal{}
err := json.Unmarshal(inputMap, &prop)
if err == nil {
return prop, nil
}
case "main.IBCTransferParamsProposal":
case "e2e.IBCTransferParamsProposal":
prop := IBCTransferParamsProposal{}
err := json.Unmarshal(inputMap, &prop)
if err == nil {
Expand Down

0 comments on commit 33726af

Please sign in to comment.