Skip to content

Commit

Permalink
chore(taiko_genesis): update genesis JSONs (#110)
Browse files Browse the repository at this point in the history
* chore(taiko_genesis): update genesis JSONs

* feat: update L3 JSON
  • Loading branch information
davidtaikocha committed Aug 28, 2023
1 parent c6d495b commit 9b2ef04
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 30 deletions.
5 changes: 4 additions & 1 deletion core/taiko_genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ func TaikoGenesisBlock(networkID uint64) *Genesis {
case params.TaikoInternalNetworkID.Uint64():
chainConfig.ChainID = params.TaikoInternalNetworkID
allocJSON = taikoGenesis.InternalGenesisAllocJSON
case params.TaikoInternalL3NetworkID.Uint64():
chainConfig.ChainID = params.TaikoInternalL3NetworkID
allocJSON = taikoGenesis.InternalL3GenesisAllocJSON
case params.SnaefellsjokullNetworkID.Uint64():
chainConfig.ChainID = params.SnaefellsjokullNetworkID
allocJSON = taikoGenesis.SnaefellsjokullGenesisAllocJSON
Expand All @@ -43,7 +46,7 @@ func TaikoGenesisBlock(networkID uint64) *Genesis {
return &Genesis{
Config: chainConfig,
ExtraData: []byte{},
GasLimit: uint64(6000000),
GasLimit: uint64(8000000),
Difficulty: common.Big0,
Alloc: alloc,
GasUsed: 0,
Expand Down
3 changes: 3 additions & 0 deletions core/taiko_genesis/genesis_alloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import (
//go:embed internal.json
var InternalGenesisAllocJSON []byte

//go:embed internal_l3.json
var InternalL3GenesisAllocJSON []byte

//go:embed snaefellsjokull.json
var SnaefellsjokullGenesisAllocJSON []byte

Expand Down
58 changes: 29 additions & 29 deletions core/taiko_genesis/internal.json

Large diffs are not rendered by default.

Loading

0 comments on commit 9b2ef04

Please sign in to comment.