Skip to content

Commit f1c7a4c

Browse files
committed
Refactor MsgIBCSignTx library to MsgExtSignTx with updated struct and field handling
1 parent d0d2f79 commit f1c7a4c

File tree

2 files changed

+27
-1196
lines changed

2 files changed

+27
-1196
lines changed

proto/cross/core/auth/Auth.proto

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,6 @@ message MsgSignTxResponse {
2727
string log = 2;
2828
}
2929

30-
message MsgIBCSignTx {
31-
option (gogoproto.equal) = false;
32-
option (gogoproto.goproto_getters) = false;
33-
34-
google.protobuf.Any cross_chain_channel = 1 [(gogoproto.nullable) = true];
35-
bytes txID = 2 [(gogoproto.casttype) = "github.com/datachainlab/cross/x/core/types.TxID"];
36-
repeated bytes signers = 3 [(gogoproto.casttype) = "AccountID"];
37-
ibc.core.client.v1.Height timeout_height = 4
38-
[(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false];
39-
uint64 timeout_timestamp = 5
40-
[(gogoproto.moretags) = "yaml:\"timeout_timestamp\""];
41-
}
42-
43-
message MsgIBCSignTxResponse {
44-
option (gogoproto.equal) = false;
45-
option (gogoproto.goproto_getters) = false;
46-
}
47-
4830
message MsgExtSignTx {
4931
option (gogoproto.equal) = false;
5032
option (gogoproto.goproto_getters) = false;
@@ -58,30 +40,6 @@ message MsgExtSignTxResponse {
5840
option (gogoproto.goproto_getters) = false;
5941
}
6042

61-
message PacketDataIBCSignTx {
62-
option (gogoproto.equal) = false;
63-
64-
bytes txID = 1 [(gogoproto.casttype) = "github.com/datachainlab/cross/x/core/types.TxID"];
65-
repeated bytes signers = 2 [(gogoproto.casttype) = "AccountID"];
66-
ibc.core.client.v1.Height timeout_height = 3
67-
[(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false];
68-
uint64 timeout_timestamp = 4
69-
[(gogoproto.moretags) = "yaml:\"timeout_timestamp\""];
70-
}
71-
72-
message PacketAcknowledgementIBCSignTx {
73-
option (gogoproto.equal) = false;
74-
75-
enum Status {
76-
option (gogoproto.goproto_enum_prefix) = false;
77-
STATUS_UNKNOWN = 0;
78-
STATUS_OK = 1;
79-
STATUS_FAILED = 2;
80-
}
81-
82-
Status status = 1;
83-
}
84-
8543
message QueryTxAuthStateRequest {
8644
bytes txID = 1 [(gogoproto.casttype) = "github.com/datachainlab/cross/x/core/types.TxID"];
8745
}

0 commit comments

Comments
 (0)