diff --git a/msg/crisis/verify_invariant.go b/msg/crisis/verify_invariant.go index 2faf4b8..47e9cf9 100644 --- a/msg/crisis/verify_invariant.go +++ b/msg/crisis/verify_invariant.go @@ -24,6 +24,10 @@ func (m *DocMsgVerifyInvariant) BuildMsg(v interface{}) { data, _ := json.Marshal(v) json.Unmarshal(data, &msg) + m.Sender = msg.Sender.String() + m.InvariantModuleName = msg.InvariantModuleName + m.InvariantRoute = msg.InvariantRoute + } func (m *DocMsgVerifyInvariant) HandleTxMsg(msgData sdk.Msg, tx *document.CommonTx) *document.CommonTx { diff --git a/msg/evidence/submit_evidence.go b/msg/evidence/submit_evidence.go index 64ddec1..8328309 100644 --- a/msg/evidence/submit_evidence.go +++ b/msg/evidence/submit_evidence.go @@ -26,6 +26,10 @@ func (m *DocMsgSubmitEvidence) BuildMsg(v interface{}) { data, _ := json.Marshal(v) json.Unmarshal(data, &msg) + m.Submitter = msg.Submitter.String() + m.Evidence.TypeUrl = msg.Evidence.GetTypeUrl() + m.Evidence.Value = string(msg.Evidence.Value) + } func (m *DocMsgSubmitEvidence) HandleTxMsg(msgData sdk.Msg, tx *document.CommonTx) *document.CommonTx {