Skip to content

Commit

Permalink
feat(consensus): update AnchorGasLimit && update genesis JSONs (#128)
Browse files Browse the repository at this point in the history
* feat(consensus): update `AnchorGasLimit` && update genesis JSONs

* chore: update ci
  • Loading branch information
davidtaikocha authored Oct 25, 2023
1 parent 643f21a commit 36f0df4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion consensus/taiko/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (

GoldenTouchAccount = common.HexToAddress("0x0000777735367b36bC9B61C50022d9D0700dB4Ec")
AnchorSelector = crypto.Keccak256([]byte("anchor(bytes32,bytes32,uint64,uint32)"))[:4]
AnchorGasLimit = uint64(1_000_000)
AnchorGasLimit = uint64(250_000)
TaikoL2Address = common.HexToAddress("0x1000777700000000000000000000000000000001")
)

Expand Down
4 changes: 2 additions & 2 deletions core/taiko_genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ func TaikoGenesisBlock(networkID uint64) *Genesis {
return &Genesis{
Config: chainConfig,
ExtraData: []byte{},
GasLimit: uint64(8000000),
GasLimit: uint64(15_000_000),
Difficulty: common.Big0,
Alloc: alloc,
GasUsed: 0,
BaseFee: new(big.Int).SetUint64(10000000),
BaseFee: new(big.Int).SetUint64(10_000_000),
}
}
Loading

0 comments on commit 36f0df4

Please sign in to comment.