Skip to content

Commit

Permalink
chore: add geneva genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
luanxu-mxc committed Mar 21, 2024
1 parent 896f358 commit e0c5476
Show file tree
Hide file tree
Showing 5 changed files with 242 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/mxc_genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ func MxcGenesisBlock(networkID uint64) *Genesis {
case params.MxcWannseeNetworkID.Uint64():
chainConfig.ChainID = params.MxcWannseeNetworkID
allocJSON = mxcGenesis.MxcWannseeGenesisAllocJSON
case params.MxcGenevaNetworkID.Uint64():
chainConfig.ChainID = params.MxcGenevaNetworkID
allocJSON = mxcGenesis.MxcGenevaGenesisAllocJSON
default:
chainConfig.ChainID = params.MxcMainnetNetworkID
allocJSON = mxcGenesis.MainnetGenesisAllocJSON
Expand Down
3 changes: 3 additions & 0 deletions core/mxc_genesis/genesis_alloc.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ var MainnetGenesisAllocJSON []byte

//go:embed wannsee.json
var MxcWannseeGenesisAllocJSON []byte

//go:embed geneva.json
var MxcGenevaGenesisAllocJSON []byte
Loading

0 comments on commit e0c5476

Please sign in to comment.