Skip to content

feat(block-node): implement 'solo block node add' command and modify remote config to support multiple relays, blokck nodes, mirror nodes and explorers #1821

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

Draft
wants to merge 69 commits into
base: main
Choose a base branch
from

Conversation

instamenta
Copy link
Contributor

@instamenta instamenta commented Apr 8, 2025

Description

  • adds new command and command group block node with the class BlockNodeCommand

    • adds new sub-command for deploy used to install the block node official helm chart inside the specified cluster
  • Makes the remote config's components have unique names and helpers for generating them.

  • Adds wrapper classes and logic for creating commands with 3 levels of depth

    • Example: solo block node add

Related Issues

Pull request (PR) checklist

  • This PR added tests (unit, integration, and/or end-to-end)
  • This PR updated documentation
  • This PR added no TODOs or commented out code
  • This PR has no breaking changes
  • Any technical debt has been documented as a separate issue and linked to this PR
  • Any package.json changes have been explained to and approved by a repository manager
  • All related issues have been linked to this PR
  • All changes in this PR are included in the description
  • When this PR merges the commits will be squashed and the title will be used as the commit message, the 'commit message guidelines' below have been followed

Testing

  • This PR added unit tests
  • This PR added integration/end-to-end tests
  • These changes required manual testing that is documented below
  • Anything not tested is documented

…ition, added the new flag about the block nodes chart version together with the initial constants

Signed-off-by: Zhan Milenkov <[email protected]>
Signed-off-by: Zhan Milenkov <[email protected]>
… and initial setup for m4 apple chip compatibility

Signed-off-by: Zhan Milenkov <[email protected]>
…block-nodes-deploy

# Conflicts:
#	src/commands/base.ts
#	src/commands/flags.ts
#	src/core/constants.ts
…ngs in the remote config related classes and worked on adding support for the new component type 'BlockNodeComponents'

Signed-off-by: Zhan Milenkov <[email protected]>
…cy and make it less error prone

Signed-off-by: Zhan Milenkov <[email protected]>
…and renamed ComponentType to ComponentTypes to follow convention

Signed-off-by: Zhan Milenkov <[email protected]>
Signed-off-by: Zhan Milenkov <[email protected]>
…codebase to use them, fixed most unit tests, todo: fix all tests, add new logic for editing remote components which should only work for consensus node's node state field

Signed-off-by: Zhan Milenkov <[email protected]>
…onExpressions to avoid having to have dublicated function return value difinitions

Signed-off-by: Zhan Milenkov <[email protected]>
Signed-off-by: Zhan Milenkov <[email protected]>
@instamenta instamenta added the PR: Needs Team Approval A pull request that needs review from a team member. label Apr 8, 2025
@instamenta instamenta changed the title feat(block-node): implement 'solo block-node deploy' command and modify remote config to support multiple relays, blokck nodes, mirror nodes and explorers feat(block-node): implement 'solo block node add' command and modify remote config to support multiple relays, blokck nodes, mirror nodes and explorers Apr 9, 2025
@instamenta instamenta requested a review from JeffreyDallas April 9, 2025 14:27
JeffreyDallas
JeffreyDallas previously approved these changes Apr 9, 2025
@instamenta instamenta added the PR: Needs Manager Approval A pull request that needs review from a manager. label Apr 10, 2025
@jeromy-cannon jeromy-cannon added PR: Checks Failed A pull request where the checks have failed. PR: Merge Conflicts A pull request that has merge conflicts that need to be resolved. and removed PR: Checks Failed A pull request where the checks have failed. labels Apr 14, 2025
rbarker-dev
rbarker-dev previously approved these changes Apr 15, 2025
…block-nodes-deploy

# Conflicts:
#	src/core/config/remote/components/consensus-node-component.ts
#	src/core/config/remote/components/relay-component.ts
#	src/core/config/remote/remote-config-manager.ts
@instamenta instamenta dismissed stale reviews from rbarker-dev and JeffreyDallas via 52f085d April 15, 2025 07:36
@instamenta instamenta removed PR: Merge Conflicts A pull request that has merge conflicts that need to be resolved. PR: Needs Team Approval A pull request that needs review from a team member. labels Apr 15, 2025
Signed-off-by: Zhan Milenkov <[email protected]>
@instamenta instamenta added Blocked Further development work is blocked by other item and removed PR: Needs Manager Approval A pull request that needs review from a manager. labels Apr 16, 2025
@instamenta instamenta marked this pull request as draft April 16, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Further development work is blocked by other item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement solo block-nodes deploy
4 participants