Skip to content

Commit

Permalink
Merge pull request #752 from loloicci/missing-colon
Browse files Browse the repository at this point in the history
Add missing colons in String of some proposals
  • Loading branch information
alpe authored Feb 15, 2022
2 parents f043f19 + bc1087d commit e0e6cc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions x/wasm/types/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (p MigrateContractProposal) String() string {
Description: %s
Contract: %s
Code id: %d
Msg %q
Msg: %q
`, p.Title, p.Description, p.Contract, p.CodeID, p.Msg)
}

Expand Down Expand Up @@ -311,7 +311,7 @@ func (p SudoContractProposal) String() string {
Title: %s
Description: %s
Contract: %s
Msg %q
Msg: %q
`, p.Title, p.Description, p.Contract, p.Msg)
}

Expand Down
2 changes: 1 addition & 1 deletion x/wasm/types/proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ func TestProposalStrings(t *testing.T) {
Description: Bar
Contract: cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr
Code id: 1
Msg "{\"verifier\":\"cosmos1qyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqs2m6sx4\"}"
Msg: "{\"verifier\":\"cosmos1qyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqs2m6sx4\"}"
`,
},
"update admin": {
Expand Down

0 comments on commit e0e6cc4

Please # to comment.