Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 13135 Added PlatformState protobuf representation (#349)
* feat: 13135 Added PlatformState protobuf representation Signed-off-by: Ivan Malygin <[email protected]> * Update sdk/platform_state.proto Signed-off-by: Ivan Malygin <[email protected]> Co-authored-by: Joseph Sinclair <[email protected]> * Moved platform_state.proto to platform/state directory. Updated the documentation according to the guidelines. Moved platform_state.proto to platform/state directory. Updated the documentation according to the guidelines. Signed-off-by: Ivan Malygin <[email protected]> * Updated type of `lowest_judge_generation_before_birth_round_mode` to int64 as it can be negative. Signed-off-by: Ivan Malygin <[email protected]> * Added platform-specific `AddressBook`. Signed-off-by: Ivan Malygin <[email protected]> * Update platform/state/platform_state.proto Signed-off-by: Ivan Malygin <[email protected]> Co-authored-by: Joseph Sinclair <[email protected]> * Addressed review comments. Signed-off-by: Ivan Malygin <[email protected]> * Removed Roster, Address and NodeId as they will be a part of another PR. Fixed `PlatformState` indices. Signed-off-by: Ivan Malygin <[email protected]> * Update platform/state/platform_state.proto Signed-off-by: Ivan Malygin <[email protected]> Co-authored-by: Joseph Sinclair <[email protected]> * Addressed review comments: Added `deprecated` tag amd changed the type of `last_round_before_birth_round_mode` and `lowest_judge_generation_before_birth_round_mode` to `uint64` Signed-off-by: Ivan Malygin <[email protected]> * Update platform/state/platform_state.proto Signed-off-by: Ivan Malygin <[email protected]> Co-authored-by: Joseph Sinclair <[email protected]> * Addressed review comments - removed `SoftwareVersion` message and replaced it with `SemanticVersion` Signed-off-by: Ivan Malygin <[email protected]> * Addressed a review comment - deprecated `last_round_before_birth_round_mode` and updated its order. Signed-off-by: Ivan Malygin <[email protected]> * Addressed a review comment - improved description for `minimum_judge_ancient_threshold`. Signed-off-by: Ivan Malygin <[email protected]> * Addressed a review comment - removed `round` and `consensusTimestamp` from `ConsensusSnapshot`, as these fields duplicate fields in `PlatformState` and mean exactly the same thing. Signed-off-by: Ivan Malygin <[email protected]> * Addressed a review comment - updated comment for `MinimumJudgeInfo` Signed-off-by: Ivan Malygin <[email protected]> * Update platform/state/platform_state.proto Signed-off-by: Ivan Malygin <[email protected]> Co-authored-by: Joseph Sinclair <[email protected]> * Addressed Lazar's comment - removed `round` from `PlatformState` and put it back to `ConsensusSnapshot` Signed-off-by: Ivan Malygin <[email protected]> * Addressed Lazar's comment - removed `consensus_timestamp` from `PlatformState` and put it back to `ConsensusSnapshot` Signed-off-by: Ivan Malygin <[email protected]> * Improved javadoc for `ConsensusSnapshot.consensus_timestamp` Signed-off-by: Ivan Malygin <[email protected]> * Addressed Cody's comment - moved `PlatformState.first_version_in_birth_round_mode` to the set of deprecated fields. Signed-off-by: Ivan Malygin <[email protected]> * Fixed HTML tags. Co-authored-by: Joseph S. <[email protected]> Signed-off-by: Ivan Malygin <[email protected]> --------- Signed-off-by: Ivan Malygin <[email protected]> Co-authored-by: Joseph Sinclair <[email protected]> Signed-off-by: Valentin Tronkov <[email protected]>
- Loading branch information