From bc1087db2c3e2c4ec84eb5d1180182df8ceea0cf Mon Sep 17 00:00:00 2001 From: loloicci Date: Thu, 10 Feb 2022 22:32:17 +0900 Subject: [PATCH] add missing colons in String of some proposals --- x/wasm/types/proposal.go | 4 ++-- x/wasm/types/proposal_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x/wasm/types/proposal.go b/x/wasm/types/proposal.go index 710193753b..77bf7d0636 100644 --- a/x/wasm/types/proposal.go +++ b/x/wasm/types/proposal.go @@ -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) } @@ -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) } diff --git a/x/wasm/types/proposal_test.go b/x/wasm/types/proposal_test.go index 70f6bc76a0..dfae82698b 100644 --- a/x/wasm/types/proposal_test.go +++ b/x/wasm/types/proposal_test.go @@ -479,7 +479,7 @@ func TestProposalStrings(t *testing.T) { Description: Bar Contract: cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr Code id: 1 - Msg "{\"verifier\":\"cosmos1qyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqs2m6sx4\"}" + Msg: "{\"verifier\":\"cosmos1qyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqs2m6sx4\"}" `, }, "update admin": {