chore(mock): implement KVStoreTx String() for better diagnostics (#25383)
Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
This commit is contained in:
parent
5e65c6b582
commit
9c3b19ae4c
@ -70,9 +70,11 @@ func (msg *KVStoreTx) Equals(key cryptotypes.PubKey) bool {
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (msg *KVStoreTx) Reset() {}
|
||||
func (msg *KVStoreTx) String() string { return "TODO" }
|
||||
func (msg *KVStoreTx) ProtoMessage() {}
|
||||
func (msg *KVStoreTx) Reset() {}
|
||||
func (msg *KVStoreTx) String() string {
|
||||
return fmt.Sprintf("KVStoreTx{key:%q value:%q address:%s}", msg.key, msg.value, msg.address.String())
|
||||
}
|
||||
func (msg *KVStoreTx) ProtoMessage() {}
|
||||
|
||||
var (
|
||||
_ sdk.Tx = &KVStoreTx{}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user