cli: adjust resulting state object structure in upload-state command

`upload-state` suppose to create objects with key-value pairs instead of
full MPT nodes. Partially revert 5f80a14.

Ref. #3782

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
This commit is contained in:
Ekaterina Pavlova 2025-03-26 13:16:27 +09:00
parent fd41598b8a
commit f60feefe45
5 changed files with 22 additions and 28 deletions

View file

@ -30,7 +30,7 @@ func dumpBin(ctx *cli.Context) error {
count := uint32(ctx.Uint("count"))
start := uint32(ctx.Uint("start"))
chain, _, prometheus, pprof, err := InitBCWithMetrics(cfg, log)
chain, prometheus, pprof, err := InitBCWithMetrics(cfg, log)
if err != nil {
return err
}