flow-go icon indicating copy to clipboard operation
flow-go copied to clipboard

[EVM] add utility command to export EVM state

Open ramtinms opened this issue 1 year ago • 1 comments

The underlying ledger storage can be in any shape even if we use the same, code since the evm storage account can have cadence object deployed, the registers won't be exact match for comparision. We also use the registers to store block proposals etc which is not 100% related to the EVM state. Thus, we need a way to compare the EVM states.

ramtinms avatar Oct 11 '24 21:10 ramtinms

Codecov Report

Attention: Patch coverage is 0% with 63 lines in your changes missing coverage. Please review.

Project coverage is 41.87%. Comparing base (a6b157c) to head (d198e13).

Files with missing lines Patch % Lines
cmd/util/cmd/export-evm-state/cmd.go 0.00% 62 Missing :warning:
cmd/util/cmd/root.go 0.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6561      +/-   ##
==========================================
+ Coverage   41.18%   41.87%   +0.68%     
==========================================
  Files        2050     1647     -403     
  Lines      182057   154192   -27865     
==========================================
- Hits        74983    64567   -10416     
+ Misses     100796    84293   -16503     
+ Partials     6278     5332     -946     
Flag Coverage Δ
unittests 41.87% <0.00%> (+0.68%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Oct 22 '24 21:10 codecov-commenter