mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
Logging in preInit works just fine locally; pushing to test on the CI
This commit is contained in:
parent
6d4470a8c8
commit
e0d8bf9e99
@ -578,12 +578,11 @@ proc preInit*(
|
|||||||
let
|
let
|
||||||
blockRoot = signed_root(blck)
|
blockRoot = signed_root(blck)
|
||||||
|
|
||||||
# TODO Error: undeclared identifier: 'log'
|
notice "Creating new database from snapshot",
|
||||||
# notice "Creating new database from snapshot",
|
blockRoot = shortLog(blockRoot),
|
||||||
# blockRoot = shortLog(blockRoot),
|
stateRoot = shortLog(blck.state_root),
|
||||||
# stateRoot = shortLog(blck.state_root),
|
fork = state.fork,
|
||||||
# fork = state.fork,
|
validators = state.validator_registry.len()
|
||||||
# validators = state.validator_registry.len()
|
|
||||||
|
|
||||||
db.putState(state)
|
db.putState(state)
|
||||||
db.putBlock(blck)
|
db.putBlock(blck)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user