From d1195643463acb1837ebdedbc723cb837290a2da Mon Sep 17 00:00:00 2001 From: Marius C Date: Tue, 28 Nov 2023 15:06:45 +0200 Subject: [PATCH] FEAT: Tx hashes response to string --- data/sovereign/outGoingBridgeData.pb.go | 50 ++++++++++++------------- data/sovereign/outGoingBridgeData.proto | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/data/sovereign/outGoingBridgeData.pb.go b/data/sovereign/outGoingBridgeData.pb.go index 9bc15fa2..8eb085d5 100644 --- a/data/sovereign/outGoingBridgeData.pb.go +++ b/data/sovereign/outGoingBridgeData.pb.go @@ -123,7 +123,7 @@ func (m *BridgeOutGoingData) GetLeaderSignature() []byte { } type BridgeOperationsResponse struct { - TxHashes [][]byte `protobuf:"bytes,1,rep,name=TxHashes,proto3" json:"TxHashes,omitempty"` + TxHashes []string `protobuf:"bytes,1,rep,name=TxHashes,proto3" json:"TxHashes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -154,7 +154,7 @@ func (m *BridgeOperationsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_BridgeOperationsResponse proto.InternalMessageInfo -func (m *BridgeOperationsResponse) GetTxHashes() [][]byte { +func (m *BridgeOperationsResponse) GetTxHashes() []string { if m != nil { return m.TxHashes } @@ -173,27 +173,27 @@ func init() { } var fileDescriptor_62fb23e431426efc = []byte{ - // 347 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x4b, 0x2a, 0x41, - 0x14, 0xc6, 0xef, 0xae, 0x7b, 0x2f, 0xd7, 0x93, 0x94, 0x4c, 0x41, 0x8b, 0x11, 0xc8, 0xf6, 0xe2, - 0x8b, 0xbb, 0x65, 0x14, 0x51, 0x0f, 0xa1, 0x24, 0x45, 0x04, 0xc1, 0xea, 0x53, 0xf4, 0x32, 0xba, -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 0xf7, 0xee, 0x9d, 0x13, 0xdc, 0x82, 0xbf, 0xb9, - 0xfb, 0x18, 0xf5, 0x54, 0x0a, 0x8d, 0xa4, 0x06, 0xff, 0xfb, 0x59, 0xbe, 0x2f, 0xd4, 0xf6, 0x3b, - 0x54, 0xe2, 0xe2, 0xdc, 0xfa, 0x84, 0xc3, 0xc5, 0xbd, 0x7e, 0xd6, 0x43, 0x91, 0xa0, 0x22, 0xaf, - 0xe0, 0xe5, 0x8a, 0x9c, 0x6d, 0xef, 0xaf, 0x88, 0xae, 0x5d, 0xec, 0x31, 0x57, 0xbd, 0xc1, 0x9f, - 0x4e, 0xfb, 0xe3, 0x91, 0x71, 0x33, 0x4a, 0x07, 0xe1, 0x50, 0x4e, 0xa2, 0x49, 0x3a, 0x36, 0x7c, - 0x86, 0x4a, 0x67, 0xd1, 0x24, 0x6b, 0x0e, 0x47, 0x94, 0x8b, 0xe6, 0x50, 0x2a, 0x6c, 0x32, 0x19, - 0x25, 0xd4, 0xd0, 0xa8, 0xc8, 0x7c, 0x28, 0xd4, 0xe0, 0x9f, 0xfd, 0xcd, 0xae, 0x7f, 0x02, 0x00, - 0x00, 0xff, 0xff, 0x0f, 0xac, 0xf3, 0xaf, 0x82, 0x02, 0x00, 0x00, + // 346 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x51, 0x4b, 0x3a, 0x41, + 0x14, 0xc5, 0xff, 0xbb, 0xee, 0x3f, 0xf2, 0x16, 0x25, 0x53, 0xd0, 0x62, 0x04, 0xb2, 0xbd, 0xf8, + 0xe2, 0x6e, 0x19, 0x45, 0xd4, 0x43, 0x28, 0x49, 0x11, 0x41, 0xb0, 0xfa, 0x14, 0xbd, 0x8c, 0xee, + 0x65, 0x1c, 0xd2, 0x19, 0x99, 0x99, 0x95, 0xf5, 0x6b, 0xf5, 0x09, 0x63, 0x47, 0x5d, 0x41, 0xcd,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0x49, 0x15, 0xf6, 0x7b, 0x59, 0xbe, 0x2f, 0xd4, 0xf6, 0x3b, 0x94, + 0xe3, 0xe2, 0xdc, 0xfc, 0x82, 0xa3, 0xf9, 0xbd, 0x5e, 0xd6, 0x45, 0x91, 0xa0, 0x22, 0x6f, 0xe0, + 0xe5, 0x8a, 0x9c, 0x6f, 0xee, 0xaf, 0x88, 0xae, 0x5e, 0xee, 0x30, 0x97, 0xbd, 0xc1, 0xbf, 0x76, + 0xeb, 0xf3, 0x89, 0x71, 0x33, 0x4c, 0xfb, 0xe1, 0x40, 0x8e, 0xa3, 0x71, 0x3a, 0x32, 0x7c, 0x8a, + 0x4a, 0x67, 0xd1, 0x38, 0x6b, 0x0c, 0x86, 0x94, 0x8b, 0xc6, 0x40, 0x2a, 0x6c, 0x30, 0x19, 0x25, + 0xd4, 0xd0, 0xa8, 0xc8, 0x7c, 0x2c, 0x54, 0x7f, 0xcf, 0xfe, 0x66, 0x37, 0xbf, 0x01, 0x00, 0x00, + 0xff, 0xff, 0xee, 0x92, 0x65, 0xbd, 0x82, 0x02, 0x00, 0x00, } diff --git a/data/sovereign/outGoingBridgeData.proto b/data/sovereign/outGoingBridgeData.proto index 9dadce6b..f28d7c3a 100644 --- a/data/sovereign/outGoingBridgeData.proto +++ b/data/sovereign/outGoingBridgeData.proto @@ -15,7 +15,7 @@ message BridgeOutGoingData { } message BridgeOperationsResponse { - repeated bytes TxHashes = 1; + repeated string TxHashes = 1; } service BridgeTxSender {