Skip to content

Commit

Permalink
chore: log genesis info on startup to help w/ debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanschneider committed Dec 4, 2024
1 parent b72a1e1 commit 3f9d66b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"fmt"
"html/template"
"io"
"log"
"math/big"
"net/http"
"os"
Expand Down Expand Up @@ -311,6 +312,8 @@ func setupArtifacts() error {
}

block := gen.ToBlock()
header, _ := json.MarshalIndent(block.Header(), "", " ")
log.Printf("Genesis block hash: %s json: %s", block.Hash(), header)

var v int
if latestForkFlag {
Expand Down

0 comments on commit 3f9d66b

Please sign in to comment.