Skip to content

Commit

Permalink
refactor: message fields
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Jan 29, 2025
1 parent a02d1e1 commit cb81ddb
Show file tree
Hide file tree
Showing 5 changed files with 268 additions and 107 deletions.
192 changes: 137 additions & 55 deletions api/poktroll/migration/tx.pulsar.go

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

9 changes: 5 additions & 4 deletions proto/poktroll/migration/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ message MsgCreateMorseAccountStateResponse {
message MsgClaimMorsePokt {
option (cosmos.msg.v1.signer) = "shannon_dest_address";

string shannon_dest_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
string morse_src_address = 2;
bytes morse_signature = 3;
string shannon_dest_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString", (gogoproto.jsontag) = "shannon_dest_address"];
string morse_src_address = 2 [(gogoproto.jsontag) = "morse_src_address"];
bytes morse_signature = 3 [(gogoproto.jsontag) = "morse_signature"];
}

message MsgClaimMorsePoktResponse {
cosmos.base.v1beta1.Coin balance = 1;
cosmos.base.v1beta1.Coin balance = 1 [(gogoproto.jsontag) = "balance"];
bytes state_hash = 2 [(gogoproto.jsontag) = "state_hash"];
}
Loading

0 comments on commit cb81ddb

Please sign in to comment.