Skip to content

feat(block-node): implement 'solo block node add' command and modify remote config to support multiple relays, block 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

Open
wants to merge 79 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
6a29265
preparing new command BlockNodesCommand
instamenta Apr 2, 2025
c792f9d
fixed the interfaces for the new command, made the command flag defin…
instamenta Apr 2, 2025
d03c7a2
added new values file for block nodes and cleaned up the tasks
instamenta Apr 2, 2025
3aae36b
add new command to command list and fix getCommandDefinition methods …
instamenta Apr 2, 2025
fc213e8
remove unused code
instamenta Apr 2, 2025
612742d
set block nodes version to v7.0.0
instamenta Apr 2, 2025
7a7661e
fixing issues with installing chart, urls and constants for new chart…
instamenta Apr 3, 2025
cfef536
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 3, 2025
ae621cf
adding new component block node to remote config, to keep track
instamenta Apr 3, 2025
5c15994
added better names for ComponentsDataWrapper's methods, removed warni…
instamenta Apr 3, 2025
9315010
checkpoint while refactoring components validation to reduce redundan…
instamenta Apr 3, 2025
6548a0e
refactored RemoteConfigValidator
instamenta Apr 3, 2025
7d9611e
add logic for creating the new block node component and figuring out …
instamenta Apr 3, 2025
1baf5f8
rename 'block nodes' to 'block node' ( plural to singular )
instamenta Apr 3, 2025
d42863b
add 'nameOverride' for the block node chart and fix the logic for sup…
instamenta Apr 3, 2025
3053fce
moved each remote config enumerations into their individual own file …
instamenta Apr 3, 2025
7c98a59
adding new field state to the BaseComponent used inside the remote co…
instamenta Apr 3, 2025
ec669eb
fixed typescript warnings and remote config component tests
instamenta Apr 3, 2025
b500b87
fix all unit tests
instamenta Apr 3, 2025
50e96f5
added new logic for creating a component names with unique indexes
instamenta Apr 4, 2025
249e415
setting up new component creating for remote config
instamenta Apr 4, 2025
129f367
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 4, 2025
d4382a1
transitioning block node command to use new remote config creation st…
instamenta Apr 4, 2025
169be5c
created new methods for initiating remote config components, changed …
instamenta Apr 4, 2025
3b01f3a
added new validation helper method
instamenta Apr 6, 2025
8d90458
set @typescript-eslint/explicit-function-return-type allowTypedFuncti…
instamenta Apr 6, 2025
07e92b9
remove method editComponentState and add new method changeNodeState t…
instamenta Apr 7, 2025
0e15c8f
change remote config components data wrapper serviceName to component…
instamenta Apr 7, 2025
7a46443
improve unit tests
instamenta Apr 7, 2025
ed3a6cc
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 7, 2025
1e70605
updated logic for disabling components
instamenta Apr 7, 2025
75ff454
cleanup after implementing new remote config components modification …
instamenta Apr 7, 2025
8271f61
added unit tests for all new ComponentsDataWrapper
instamenta Apr 7, 2025
ca5ce4e
fixed component name rendering logic and added unit tests for it
instamenta Apr 7, 2025
8173247
lint-fix
instamenta Apr 7, 2025
25c34fd
creating and moving new interfaces into their own files to remove cir…
instamenta Apr 7, 2025
fa2ecfe
lint-fix after moving interfaces into their own files
instamenta Apr 7, 2025
9de8fb1
renamed folder
instamenta Apr 7, 2025
65813b2
renamed ICluster to ClusterStructure and moved it into it's own file
instamenta Apr 7, 2025
79059d7
renamed and moved to their own dedicated file remote config interface…
instamenta Apr 7, 2025
1dcd248
rename remote config structures to struct
instamenta Apr 7, 2025
bd285cf
moved all remote config name templating logic to new static class Com…
instamenta Apr 7, 2025
a50f43a
moved all remote config component creation logic into a seperate Comp…
instamenta Apr 7, 2025
d962c71
switched all places to use the new ComponentFactory
instamenta Apr 7, 2025
c6b43db
lint-fix
instamenta Apr 7, 2025
d94c755
fixed circular dep
instamenta Apr 7, 2025
f171488
fix failing tests
instamenta Apr 7, 2025
209e305
refactored RemoteConfigValidator
instamenta Apr 7, 2025
639a3d4
refactoring RemoteConfigValidator
instamenta Apr 7, 2025
dd007e3
renamed files with Strcuture postfix to Struct
instamenta Apr 7, 2025
3bc7bff
removed listr-config-tasks.ts
instamenta Apr 7, 2025
4d12250
lint-fix
instamenta Apr 7, 2025
b325bc6
improve RemoteConfigValidator and add intergration tests after valida…
instamenta Apr 8, 2025
bbaa564
lint-fix
instamenta Apr 8, 2025
6edd25c
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 8, 2025
6905435
update label creation logic
instamenta Apr 8, 2025
8780bd2
add e2e tests and add them to the workflow
instamenta Apr 8, 2025
8e5412a
fix missing options from workflow
instamenta Apr 8, 2025
fd5e952
fix taskfile task for relay
instamenta Apr 8, 2025
c04e2fb
fix task test-e2e-block-node description
instamenta Apr 8, 2025
b8e54db
improve logic for detecting apple m4 series chip, and add additional …
instamenta Apr 9, 2025
47eb933
uncomment important code
instamenta Apr 9, 2025
edb0bb0
switch remote component index counting to start from 0 instead of 1
instamenta Apr 9, 2025
78b0365
added 3 level nested command, and extended e2e test argv builder to s…
instamenta Apr 9, 2025
fe13d3a
added new classes for building 3 leveled command paths
instamenta Apr 9, 2025
079c7dd
fix block node e2e test
instamenta Apr 9, 2025
dcfa0bf
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 14, 2025
52f085d
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 15, 2025
68246e5
update SOLO_CHART_VERSION
instamenta Apr 15, 2025
52c1baa
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 24, 2025
d938826
fixes after merge
instamenta Apr 24, 2025
8511154
removing rmeote config
instamenta Apr 24, 2025
5b5f31a
lint-fix
instamenta Apr 24, 2025
ecbf3ed
lint-fix and issues after reverting changes
instamenta Apr 24, 2025
864569e
cleanup after removing remote config changes
instamenta Apr 24, 2025
2060ce3
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 24, 2025
9b16e9b
Merge remote-tracking branch 'origin/main' into 01755-implement-solo-…
instamenta Apr 25, 2025
5983d56
added logic for detecting if java sve fix should be applied during 's…
instamenta Apr 25, 2025
0bfde3a
apply fixes requested on pr
instamenta Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/flow-build-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
- { name: "Node PEM Kill", test-script: "test-${{ needs.env-vars.outputs.e2e-node-pem-kill-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-node-pem-kill-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-node-pem-kill-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-node-pem-kill-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Standard", test-script: "test-${{ needs.env-vars.outputs.e2e-standard-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-standard-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-standard-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-standard-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Relay", test-script: "test-${{ needs.env-vars.outputs.e2e-relay-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-relay-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-relay-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-relay-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Block Node", test-script: "test-${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-block-node-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Node Update", test-script: "test-${{ needs.env-vars.outputs.e2e-node-update-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-node-update-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-node-update-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-node-update-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Node Upgrade", test-script: "test-${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-node-upgrade-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Node PEM Stop", test-script: "test-${{ needs.env-vars.outputs.e2e-node-pem-stop-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-node-pem-stop-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-node-pem-stop-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-node-pem-stop-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
Expand Down Expand Up @@ -131,6 +132,7 @@ jobs:
e2e-node-upgrade-test-subdir: ${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}
e2e-node-upgrade-separate-commands-test-subdir: ${{ needs.env-vars.outputs.e2e-node-upgrade-separate-commands-test-subdir }}
e2e-relay-test-subdir: ${{ needs.env-vars.outputs.e2e-relay-test-subdir }}
e2e-block-node-test-subdir: ${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}
e2e-integration-coverage-report: ${{ needs.env-vars.outputs.e2e-integration-coverage-report }}
e2e-dual-cluster-full-coverage-report: ${{ needs.env-vars.outputs.e2e-dual-cluster-full-coverage-report }}
e2e-standard-coverage-report: ${{ needs.env-vars.outputs.e2e-standard-coverage-report }}
Expand All @@ -148,6 +150,7 @@ jobs:
e2e-node-upgrade-coverage-report: ${{ needs.env-vars.outputs.e2e-node-upgrade-coverage-report }}
e2e-node-upgrade-separate-commands-coverage-report: ${{ needs.env-vars.outputs.e2e-node-upgrade-separate-commands-coverage-report }}
e2e-relay-coverage-report: ${{ needs.env-vars.outputs.e2e-relay-coverage-report }}
e2e-block-node-coverage-report: ${{ needs.env-vars.outputs.e2e-block-node-coverage-report }}
secrets:
snyk-token: ${{ secrets.SNYK_TOKEN }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/flow-pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
- { name: "Node PEM Kill", test-script: "test-${{ needs.env-vars.outputs.e2e-node-pem-kill-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-node-pem-kill-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-node-pem-kill-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-node-pem-kill-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Standard", test-script: "test-${{ needs.env-vars.outputs.e2e-standard-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-standard-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-standard-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-standard-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Relay", test-script: "test-${{ needs.env-vars.outputs.e2e-relay-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-relay-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-relay-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-relay-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Block Node", test-script: "test-${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-block-node-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Node Update", test-script: "test-${{ needs.env-vars.outputs.e2e-node-update-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-node-update-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-node-update-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-node-update-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Node Upgrade", test-script: "test-${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-node-upgrade-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
- { name: "Node PEM Stop", test-script: "test-${{ needs.env-vars.outputs.e2e-node-pem-stop-test-subdir }}", coverage-subdirectory: "${{ needs.env-vars.outputs.e2e-node-pem-stop-test-subdir }}", coverage-report-name: "${{ needs.env-vars.outputs.e2e-node-pem-stop-coverage-report }}", cluster-name: "${{ needs.env-vars.outputs.e2e-node-pem-stop-test-subdir }}-${{ github.run_id }}-${{ github.run_attempt }}" }
Expand Down Expand Up @@ -127,6 +128,7 @@ jobs:
e2e-node-upgrade-test-subdir: ${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}
e2e-node-upgrade-separate-commands-test-subdir: ${{ needs.env-vars.outputs.e2e-node-upgrade-separate-commands-test-subdir }}
e2e-relay-test-subdir: ${{ needs.env-vars.outputs.e2e-relay-test-subdir }}
e2e-block-node-test-subdir: ${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}
e2e-integration-coverage-report: ${{ needs.env-vars.outputs.e2e-integration-coverage-report }}
e2e-standard-coverage-report: ${{ needs.env-vars.outputs.e2e-standard-coverage-report }}
e2e-node-pem-stop-coverage-report: ${{ needs.env-vars.outputs.e2e-node-pem-stop-coverage-report }}
Expand All @@ -143,6 +145,7 @@ jobs:
e2e-node-upgrade-coverage-report: ${{ needs.env-vars.outputs.e2e-node-upgrade-coverage-report }}
e2e-node-upgrade-separate-commands-coverage-report: ${{ needs.env-vars.outputs.e2e-node-upgrade-separate-commands-coverage-report }}
e2e-relay-coverage-report: ${{ needs.env-vars.outputs.e2e-relay-coverage-report }}
e2e-block-node-coverage-report: ${{ needs.env-vars.outputs.e2e-block-node-coverage-report }}
secrets:
codecov-token: ${{ secrets.CODECOV_TOKEN }}

Expand Down Expand Up @@ -175,6 +178,7 @@ jobs:
e2e-node-upgrade-test-subdir: ${{ needs.env-vars.outputs.e2e-node-upgrade-test-subdir }}
e2e-node-upgrade-separate-commands-test-subdir: ${{ needs.env-vars.outputs.e2e-node-upgrade-separate-commands-test-subdir }}
e2e-relay-test-subdir: ${{ needs.env-vars.outputs.e2e-relay-test-subdir }}
e2e-block-node-test-subdir: ${{ needs.env-vars.outputs.e2e-block-node-test-subdir }}
e2e-integration-coverage-report: ${{ needs.env-vars.outputs.e2e-integration-coverage-report }}
e2e-dual-cluster-full-coverage-report: ${{ needs.env-vars.outputs.e2e-dual-cluster-full-coverage-report }}
e2e-standard-coverage-report: ${{ needs.env-vars.outputs.e2e-standard-coverage-report }}
Expand All @@ -192,5 +196,6 @@ jobs:
e2e-node-upgrade-coverage-report: ${{ needs.env-vars.outputs.e2e-node-upgrade-coverage-report }}
e2e-node-upgrade-separate-commands-coverage-report: ${{ needs.env-vars.outputs.e2e-node-upgrade-separate-commands-coverage-report }}
e2e-relay-coverage-report: ${{ needs.env-vars.outputs.e2e-relay-coverage-report }}
e2e-block-node-coverage-report: ${{ needs.env-vars.outputs.e2e-block-node-coverage-report }}
secrets:
codacy-project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/zxc-code-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ on:
type: string
required: false
default: "e2e-relay"
e2e-block-node-test-subdir:
description: "E2E Block Node Test Subdirectory:"
type: string
required: false
default: "e2e-block-node"
e2e-integration-coverage-report:
description: "E2E Integration Coverage Report:"
type: string
Expand Down Expand Up @@ -225,6 +230,11 @@ on:
type: string
required: false
default: "E2E Relay Tests Coverage Report"
e2e-block-node-coverage-report:
description: "E2E Block Node Coverage Report:"
type: string
required: false
default: "E2E Block Node Tests Coverage Report"
secrets:
snyk-token:
description: "The Snyk access token is used by Snyk to analyze the code for vulnerabilities "
Expand Down Expand Up @@ -401,6 +411,13 @@ jobs:
name: ${{ inputs.e2e-relay-coverage-report }}
path: 'coverage/${{ inputs.e2e-relay-test-subdir }}'

- name: Download E2E Block Node Coverage Report
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
if: ${{ (inputs.enable-codecov-analysis || inputs.enable-codacy-coverage) && inputs.enable-e2e-coverage-report && !cancelled() && !failure() }}
with:
name: ${{ inputs.e2e-block-node-coverage-report }}
path: 'coverage/${{ inputs.e2e-block-node-test-subdir }}'

- name: Download E2E Test Report
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
if: ${{ (inputs.enable-codecov-analysis || inputs.enable-codacy-coverage) && inputs.enable-e2e-coverage-report && !cancelled() && !failure() }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/zxc-env-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ on:
e2e-relay-test-subdir:
description: "E2E Relay Test Subdirectory"
value: ${{ jobs.env-vars.outputs.e2e_relay_test_subdir }}
e2e-block-node-test-subdir:
description: "E2E Block Node Test Subdirectory"
value: ${{ jobs.env-vars.outputs.e2e_block_node_test_subdir }}
e2e-integration-coverage-report:
description: "E2E Integration Tests Coverage Report"
value: ${{ jobs.env-vars.outputs.e2e_integration_coverage_report }}
Expand Down Expand Up @@ -128,6 +131,9 @@ on:
e2e-relay-coverage-report:
description: "E2E Relay Tests Coverage Report"
value: ${{ jobs.env-vars.outputs.e2e_relay_coverage_report }}
e2e-block-node-coverage-report:
description: "E2E Block Node Tests Coverage Report"
value: ${{ jobs.env-vars.outputs.e2e_block_node_coverage_report }}

defaults:
run:
Expand Down Expand Up @@ -158,6 +164,7 @@ jobs:
e2e_node_upgrade_test_subdir: e2e-node-upgrade
e2e_node_upgrade_separate_commands_test_subdir: e2e-node-upgrade-separate
e2e_relay_test_subdir: e2e-relay
e2e_block_node_test_subdir: e2e-block-node
e2e_integration_coverage_report: "E2E Integration Tests Coverage Report"
e2e_dual_cluster_full_coverage_report: "E2E Dual Cluster Full Tests Coverage Report"
e2e_standard_coverage_report: "E2E Standard Tests Coverage Report"
Expand All @@ -176,6 +183,7 @@ jobs:
e2e_node_upgrade_coverage_report: "E2E Node Upgrade Tests Coverage Report"
e2e_node_upgrade_separate_commands_coverage_report: "E2E Node Upgrade - Separate commands Tests Coverage Report"
e2e_relay_coverage_report: "E2E Relay Tests Coverage Report"
e2e_block_node_coverage_report: "E2E Block Node Tests Coverage Report"
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
Expand Down
8 changes: 8 additions & 0 deletions Taskfile.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ tasks:
--ignore 'test/e2e/commands/node*.ts'
--ignore 'test/e2e/commands/separate-node*.ts'
--ignore 'test/e2e/commands/relay*.ts'
--ignore 'test/e2e/commands/block-node.test.ts'
--ignore 'test/e2e/commands/dual-*.ts'
--ignore 'test/e2e/commands/separate-node-add.test.ts'
--ignore 'test/e2e/commands/separate-node-delete.test.ts'
Expand Down Expand Up @@ -182,6 +183,13 @@ tasks:
{{ .mocha_bin }} 'test/e2e/commands/relay.test.ts'
{{ .reporter_options_prefix }}-e2e-relay.xml"

test-e2e-block-node:
cmds:
- "{{ .test_prefix }}=\"Mocha E2E Block Nodes Tests\"
{{ .reporter_prefix }}='coverage/e2e-block-node'
{{ .mocha_bin }} 'test/e2e/commands/block-node.test.ts'
{{ .reporter_options_prefix }}-e2e-block-node.xml"

test-e2e-dual-cluster-full:
cmds:
- "{{ .test_prefix }}=\"Mocha E2E Dual Cluster Full Test\"
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default [
'warn',
{
allowExpressions: false,
allowTypedFunctionExpressions: false,
allowTypedFunctionExpressions: true,
allowHigherOrderFunctions: false,
},
],
Expand Down
24 changes: 24 additions & 0 deletions resources/block-node-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
resources:
requests:
cpu: "3"
memory: "8Gi"

blockNode:
config:
JAVA_TOOL_OPTIONS: "-Djava.util.logging.config.file=/app/logs/config/logging.properties"
JAVA_OPTS: "-Xms8G -Xmx8G" # if modifying this line also change in BlockNodesCommand
MEDIATOR_RING_BUFFER_SIZE: "2048"
persistence:
archive:
size: 6Gi
live:
size: 1Gi

kubepromstack:
enabled: false

loki:
enabled: false

promtail:
enabled: false
6 changes: 3 additions & 3 deletions src/commands/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import {resolveNamespaceFromDeployment} from '../core/resolvers.js';
import {type NamespaceName} from '../integration/kube/resources/namespace/namespace-name.js';
import {type ClusterReference, type DeploymentName} from '../core/config/remote/types.js';
import {type SoloListrTask} from '../types/index.js';
import {type CommandDefinition, type SoloListrTask} from '../types/index.js';
import {Templates} from '../core/templates.js';
import {SecretType} from '../integration/kube/resources/secret/secret-type.js';
import {Base64} from 'js-base64';
Expand Down Expand Up @@ -56,18 +56,18 @@
}

this.accountManager = options.accountManager;
this.accountInfo = null;

Check warning on line 59 in src/commands/account.ts

View workflow job for this annotation

GitHub Actions / Code Style / Standard

Use `undefined` instead of `null`
this.systemAccounts = systemAccounts;
}

public static readonly COMMAND_NAME = 'account';

Check warning on line 63 in src/commands/account.ts

View workflow job for this annotation

GitHub Actions / Code Style / Standard

Expected COMMAND_NAME to have a type annotation

private static INIT_FLAGS_LIST = {

Check warning on line 65 in src/commands/account.ts

View workflow job for this annotation

GitHub Actions / Code Style / Standard

Expected INIT_FLAGS_LIST to have a type annotation
required: [],
optional: [flags.deployment, flags.nodeAliasesUnparsed, flags.clusterRef],
};

private static CREATE_FLAGS_LIST = {

Check warning on line 70 in src/commands/account.ts

View workflow job for this annotation

GitHub Actions / Code Style / Standard

Expected CREATE_FLAGS_LIST to have a type annotation
required: [],
optional: [
flags.amount,
Expand All @@ -81,7 +81,7 @@
],
};

private static UPDATE_FLAGS_LIST = {

Check warning on line 84 in src/commands/account.ts

View workflow job for this annotation

GitHub Actions / Code Style / Standard

Expected UPDATE_FLAGS_LIST to have a type annotation
required: [],
optional: [
flags.accountId,
Expand All @@ -93,7 +93,7 @@
],
};

private static GET_FLAGS_LIST = {

Check warning on line 96 in src/commands/account.ts

View workflow job for this annotation

GitHub Actions / Code Style / Standard

Expected GET_FLAGS_LIST to have a type annotation
required: [],
optional: [flags.accountId, flags.privateKey, flags.deployment, flags.clusterRef],
};
Expand Down Expand Up @@ -726,8 +726,8 @@
return true;
}

public getCommandDefinition() {
const self = this;
public getCommandDefinition(): CommandDefinition {
const self: this = this;
return {
command: AccountCommand.COMMAND_NAME,
desc: 'Manage Hedera accounts in solo network',
Expand Down
Loading
Loading