chore(mock): implement KVStoreTx String() for better diagnostics (#25383)

Co-authored-by: Alex | Cosmos Labs <alex@cosmoslabs.io>
This commit is contained in:
radik878
2025-10-06 17:31:21 +00:00
committed by GitHub
co-authored by Alex | Cosmos Labs
parent 5e65c6b582
commit 9c3b19ae4c
+5 -3
View File
@@ -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{}