Skip to content
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

feat: 14294 Add AddressBook to PlatformState #397

Merged

Conversation

imalygin
Copy link
Member

@imalygin imalygin commented Jul 17, 2024

Description:

This PR adds two fields to PlatformState object. This is a temporary solution that should be sunsetted once TSS Roster (hashgraph/hedera-services#14045) is implemented. In fact, the migration from AddressBook to Roster objects should be a part of this design.

Important: The implementation of the AddressBook is not optimized and reflects exactly com.swirlds.platform.system.address.AddressBook and its components. This implementation will be sunsetted before we launch block streams, and therefore there is no need in optimizing it.

Related issue(s):

Fixes # hashgraph/hedera-services#14294

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@imalygin imalygin requested a review from a team as a code owner July 17, 2024 22:39
@imalygin imalygin requested a review from kfa-aguda July 17, 2024 22:39
Copy link
Member

@jsync-swirlds jsync-swirlds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few questions.

platform/state/platform_state.proto Outdated Show resolved Hide resolved
platform/state/platform_state.proto Show resolved Hide resolved
platform/state/platform_state.proto Show resolved Hide resolved
platform/state/platform_state.proto Show resolved Hide resolved
platform/state/platform_state.proto Outdated Show resolved Hide resolved
platform/state/platform_state.proto Outdated Show resolved Hide resolved
imalygin added 2 commits July 17, 2024 20:12
Signed-off-by: Ivan Malygin <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>
platform/state/platform_state.proto Outdated Show resolved Hide resolved
platform/state/platform_state.proto Outdated Show resolved Hide resolved
imalygin and others added 3 commits July 18, 2024 15:05
Co-authored-by: kfa-aguda <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>
Co-authored-by: kfa-aguda <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>
@jsync-swirlds jsync-swirlds merged commit 0deeafc into hashgraph:main Jul 18, 2024
1 check passed
vtronkov pushed a commit that referenced this pull request Jul 23, 2024
* feat: 14294 Add `AddressBook` to `PlatformState`

Signed-off-by: Ivan Malygin <[email protected]>

* Added missing newline at EOF

Signed-off-by: Ivan Malygin <[email protected]>

* Removed unnecessary comment.

Signed-off-by: Ivan Malygin <[email protected]>

* Update platform/state/platform_state.proto

Co-authored-by: kfa-aguda <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>

* Update platform/state/platform_state.proto

Co-authored-by: kfa-aguda <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>

* Update platform/state/platform_state.proto

Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>

---------

Signed-off-by: Ivan Malygin <[email protected]>
Co-authored-by: kfa-aguda <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Valentin Tronkov <[email protected]>
vtronkov pushed a commit that referenced this pull request Jul 23, 2024
* feat: 14294 Add `AddressBook` to `PlatformState`

Signed-off-by: Ivan Malygin <[email protected]>

* Added missing newline at EOF

Signed-off-by: Ivan Malygin <[email protected]>

* Removed unnecessary comment.

Signed-off-by: Ivan Malygin <[email protected]>

* Update platform/state/platform_state.proto

Co-authored-by: kfa-aguda <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>

* Update platform/state/platform_state.proto

Co-authored-by: kfa-aguda <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>

* Update platform/state/platform_state.proto

Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Ivan Malygin <[email protected]>

---------

Signed-off-by: Ivan Malygin <[email protected]>
Co-authored-by: kfa-aguda <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Valentin Tronkov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants