diff --git a/nimbus/common/chain_config.nim b/nimbus/common/chain_config.nim index d618b73c4..efc3156d3 100644 --- a/nimbus/common/chain_config.nim +++ b/nimbus/common/chain_config.nim @@ -540,7 +540,7 @@ func genesisBlockForNetwork*(id: NetworkId): Genesis difficulty: 0x01.u256, gasLimit: 0x17D7840, nonce: uint64(0x1234).to(Bytes8), - timestamp: EthTime(1_695_902_100), + timestamp: EthTime(0x65156994), alloc: decodePrealloc(holeskyAllocData) ) else: diff --git a/nimbus/common/common.nim b/nimbus/common/common.nim index 04b698eb8..90f5f631b 100644 --- a/nimbus/common/common.nim +++ b/nimbus/common/common.nim @@ -125,7 +125,13 @@ proc initializeDb(com: CommonRef) = proc contains(kvt: CoreDbKvtRef; key: openArray[byte]): bool = kvt.hasKeyRc(key).expect "valid bool" if canonicalHeadHashKey().toOpenArray notin kvt: - info "Writing genesis to DB" + info "Writing genesis to DB", + blockHash = com.genesisHeader.rlpHash, + stateRoot = com.genesisHeader.stateRoot, + difficulty = com.genesisHeader.difficulty, + gasLimit = com.genesisHeader.gasLimit, + timestamp = com.genesisHeader.timestamp, + nonce = com.genesisHeader.nonce doAssert(com.genesisHeader.number == 0.BlockNumber, "can't commit genesis block with number > 0") doAssert(com.db.persistHeader(com.genesisHeader,