Logging in preInit works just fine locally; pushing to test on the CI

This commit is contained in:
Zahary Karadjov 2019-03-28 13:22:11 +02:00 committed by zah
parent 6d4470a8c8
commit e0d8bf9e99

View File

@ -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)