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: deprecate debug [timestamp] command #868

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

natanasow
Copy link
Collaborator

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.)

@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

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

@hashgraph hashgraph deleted a comment from sonarcloud bot Nov 27, 2024
Copy link

sonarcloud bot commented Nov 27, 2024

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
2 participants