LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 457 forks source link

Legacy endpoints issue #9058

Closed ishantiw closed 9 months ago

ishantiw commented 9 months ago

What was the problem?

This PR resolves #9033

How was it solved?

How was it tested?

Add legacy data to legacy.db under data path and call all the legacy endpoints

codecov[bot] commented 9 months ago

Codecov Report

Merging #9058 (999d3b6) into release/6.0.0 (da598fb) will decrease coverage by 0.07%. The diff coverage is 70.76%.

Impacted file tree graph

@@                Coverage Diff                @@
##           release/6.0.0    #9058      +/-   ##
=================================================
- Coverage          83.52%   83.45%   -0.07%     
=================================================
  Files                603      603              
  Lines              22671    22770      +99     
  Branches            3348     3360      +12     
=================================================
+ Hits               18935    19003      +68     
- Misses              3736     3767      +31     
Files Coverage Δ
framework/src/engine/engine.ts 70.73% <100.00%> (+0.17%) :arrow_up:
framework/src/engine/legacy/constants.ts 100.00% <100.00%> (ø)
framework/src/engine/legacy/endpoint.ts 88.23% <100.00%> (+2.52%) :arrow_up:
framework/src/engine/legacy/errors.ts 100.00% <100.00%> (+75.00%) :arrow_up:
framework/src/engine/legacy/schemas.ts 100.00% <100.00%> (ø)
framework/src/engine/legacy/utils.ts 100.00% <100.00%> (ø)
framework/src/engine/legacy/codec.ts 97.67% <94.11%> (+3.92%) :arrow_up:
framework/src/engine/legacy/storage.ts 91.66% <81.81%> (-4.77%) :arrow_down:
framework/src/engine/legacy/network_endpoint.ts 80.00% <70.83%> (-11.43%) :arrow_down:
...ramework/src/engine/legacy/legacy_chain_handler.ts 67.46% <53.65%> (-12.54%) :arrow_down: