Skip to content

feat: deprecate debug [timestamp] command#868

Merged
natanasow merged 2 commits intomainfrom
862-deprecate-debug-command
Dec 4, 2024
Merged

feat: deprecate debug [timestamp] command#868
natanasow merged 2 commits intomainfrom
862-deprecate-debug-command

Conversation

@natanasow
Copy link
Copy Markdown
Member

Description:

The local node had supported the debug [timestamp] command which returned the parsed record file for that timestamp. It used service's classes from the mono repo. After the modularization, the command stopped working due to changing/deleting the parser files.

Solution:

The command can be deprecated because all the data is available in the mirror node explorer. This will reduce the local-node's complexity and codebase, making it more lightweight.

Related issue(s):

Fixes #862

Notes for reviewer:

Checklist

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

Signed-off-by: nikolay <n.atanasow94@gmail.com>
@natanasow natanasow self-assigned this Nov 27, 2024
@natanasow natanasow added the Improvement Code changes driven by non business requirements. label Nov 27, 2024
@natanasow natanasow marked this pull request as ready for review November 27, 2024 10:06
@natanasow natanasow changed the title feate: deprecate debug [timestamp] command feat: deprecate debug [timestamp] command Nov 27, 2024
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.15%. Comparing base (2f9cc8c) to head (bb00764).
Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #868      +/-   ##
==========================================
- Coverage   62.89%   61.15%   -1.75%     
==========================================
  Files          30       29       -1     
  Lines        1237     1179      -58     
  Branches      149      147       -2     
==========================================
- Hits          778      721      -57     
+ Misses        438      437       -1     
  Partials       21       21              
Files with missing lines Coverage Δ
src/Errors/LocalNodeErrors.ts 55.55% <ø> (-2.78%) ⬇️
src/constants.ts 100.00% <ø> (ø)
src/data/StateData.ts 47.61% <ø> (+1.78%) ⬆️
src/services/CLIService.ts 5.68% <ø> (+0.47%) ⬆️
src/state/InitState.ts 84.34% <ø> (-9.83%) ⬇️

Impacted file tree graph

Signed-off-by: nikolay <n.atanasow94@gmail.com>
@hiero-ledger hiero-ledger deleted a comment from sonarqubecloud Bot Nov 27, 2024
@sonarqubecloud
Copy link
Copy Markdown

@natanasow natanasow merged commit d2f5e17 into main Dec 4, 2024
@natanasow natanasow deleted the 862-deprecate-debug-command branch December 4, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Code changes driven by non business requirements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate debug [timestamp] command

4 participants