-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outport state changes. #320
Conversation
data/stateChange/stateChange.proto
Outdated
bool OwnerAddress = 8 [(gogoproto.jsontag) = "ownerAddressChanged"]; | ||
bool UserName = 9 [(gogoproto.jsontag) = "userNameChanged"]; | ||
bool CodeMetadata = 10 [(gogoproto.jsontag) = "codeMetadataChanged"]; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add empty line at the end of the file
data/outport/outportBlock.proto
Outdated
repeated uint64 SignersIndexes = 8 [(gogoproto.jsontag) = "signersIndexes,omitempty"]; | ||
uint64 HighestFinalBlockNonce = 9 [(gogoproto.jsontag) = "highestFinalBlockNonce"]; | ||
bytes HighestFinalBlockHash = 10 [(gogoproto.jsontag) = "highestFinalBlockHash,omitempty"]; | ||
map <string, StateChanges> StateChanges = 6 [(gogoproto.jsontag) = "stateChanges,omitempty"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should add your new field at the end of the structure to keep the backwards compatibility
data/stateChange/stateChange.proto
Outdated
|
||
message StateChange { | ||
string Type = 1 [(gogoproto.jsontag) = "type"]; | ||
int32 Index = 2 [(gogoproto.jsontag) = "-"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also add some jsontags for the fields?
data/stateChange/stateChange.proto
Outdated
|
||
message DataTrieChange { | ||
string Type = 1 [(gogoproto.jsontag) = "type"]; | ||
bytes Key = 2 [(gogoproto.jsontag) = "type"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update also the tags here
No description provided.