Skip to content

Commit

Permalink
tmpnet: Use AvalancheLocalChainConfig for cchain genesis (#2583)
Browse files Browse the repository at this point in the history
  • Loading branch information
marun authored Jan 5, 2024
1 parent 71f920d commit c74a08f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/fixture/tmpnet/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ func NewTestGenesis(

// Define C-Chain genesis
cChainGenesis := &core.Genesis{
Config: &params.ChainConfig{
ChainID: big.NewInt(43112), // Arbitrary chain ID is arbitrary
},
Config: params.AvalancheLocalChainConfig,
Difficulty: big.NewInt(0), // Difficulty is a mandatory field
GasLimit: defaultGasLimit,
Alloc: cChainBalances,
Expand Down

0 comments on commit c74a08f

Please sign in to comment.