Skip to content

Commit

Permalink
Remove (gogoproto.jsontag) = "-", (gogoproto.moretags) = "yaml:\"-\""
Browse files Browse the repository at this point in the history
  • Loading branch information
swift1337 committed Dec 16, 2024
1 parent 2b76099 commit 5e0a0f9
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 182 deletions.
7 changes: 2 additions & 5 deletions proto/zetachain/zetacore/crosschain/outbound_tracker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ syntax = "proto3";
package zetachain.zetacore.crosschain;

import "gogoproto/gogo.proto";

option go_package = "github.com/zeta-chain/node/x/crosschain/types";

message TxHash {
string tx_hash = 1;
string tx_signer = 2;

bool proven = 3 [
deprecated = true,
(gogoproto.jsontag) = "-",
(gogoproto.moretags) = "yaml:\"-\""
];
bool proven = 3 [ deprecated = true ];
}
message OutboundTracker {
string index = 1; // format: "chain-nonce"
Expand Down
36 changes: 6 additions & 30 deletions proto/zetachain/zetacore/crosschain/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,9 @@ message MsgAddInboundTracker {
string tx_hash = 3;
pkg.coin.CoinType coin_type = 4;

pkg.proofs.Proof proof = 5 [
deprecated = true,
(gogoproto.jsontag) = "-",
(gogoproto.moretags) = "yaml:\"-\""
];
string block_hash = 6 [
deprecated = true,
(gogoproto.jsontag) = "-",
(gogoproto.moretags) = "yaml:\"-\""
];
int64 tx_index = 7 [
deprecated = true,
(gogoproto.jsontag) = "-",
(gogoproto.moretags) = "yaml:\"-\""
];
pkg.proofs.Proof proof = 5 [ deprecated = true ];
string block_hash = 6 [ deprecated = true ];
int64 tx_index = 7 [ deprecated = true ];
}
message MsgAddInboundTrackerResponse {}

Expand All @@ -106,21 +94,9 @@ message MsgAddOutboundTracker {
uint64 nonce = 3;
string tx_hash = 4;

pkg.proofs.Proof proof = 5 [
deprecated = true,
(gogoproto.jsontag) = "-",
(gogoproto.moretags) = "yaml:\"-\""
];
string block_hash = 6 [
deprecated = true,
(gogoproto.jsontag) = "-",
(gogoproto.moretags) = "yaml:\"-\""
];
int64 tx_index = 7 [
deprecated = true,
(gogoproto.jsontag) = "-",
(gogoproto.moretags) = "yaml:\"-\""
];
pkg.proofs.Proof proof = 5 [ deprecated = true ];
string block_hash = 6 [ deprecated = true ];
int64 tx_index = 7 [ deprecated = true ];
}

message MsgAddOutboundTrackerResponse {
Expand Down
44 changes: 21 additions & 23 deletions x/crosschain/types/outbound_tracker.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5e0a0f9

Please sign in to comment.