mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-07 23:10:32 +00:00
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:
parent
fd41598b8a
commit
f60feefe45
5 changed files with 22 additions and 28 deletions
|
@ -200,11 +200,11 @@ func TestInitBCWithMetrics(t *testing.T) {
|
|||
})
|
||||
|
||||
t.Run("bad store", func(t *testing.T) {
|
||||
_, _, _, _, err = InitBCWithMetrics(config.Config{}, logger)
|
||||
_, _, _, err = InitBCWithMetrics(config.Config{}, logger)
|
||||
require.Error(t, err)
|
||||
})
|
||||
|
||||
chain, _, prometheus, pprof, err := InitBCWithMetrics(cfg, logger)
|
||||
chain, prometheus, pprof, err := InitBCWithMetrics(cfg, logger)
|
||||
require.NoError(t, err)
|
||||
t.Cleanup(func() {
|
||||
chain.Close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue