Skip to content

Commit

Permalink
Merge pull request #31 from gballet/fix-eth1-hash-formatting
Browse files Browse the repository at this point in the history
fix eth1 hash formatting
  • Loading branch information
parithosh authored Oct 13, 2023
2 parents 73c065f + 07666ac commit 979615f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verkle.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (g *VerkleGenesisCmd) Run(ctx context.Context, args ...string) error {

// Generate genesis block from the loaded config
eth1Block = eth1Genesis.ToBlock()
fmt.Println("genesis block: ", eth1Block)
fmt.Println("genesis block: ", eth1Block.Header())

// Set as default values
prevRandaoMix = common.Bytes32{}
Expand All @@ -130,7 +130,7 @@ func (g *VerkleGenesisCmd) Run(ctx context.Context, args ...string) error {
}

eth1BlockHash = common.Root(eth1Block.Hash())
fmt.Printf("eth1 block hash=%x\n", eth1BlockHash)
fmt.Println("eth1 block hash", eth1BlockHash)

extra := eth1Block.Extra()
if len(extra) > common.MAX_EXTRA_DATA_BYTES {
Expand Down

0 comments on commit 979615f

Please sign in to comment.