feat(consensus): update AnchorGasLimit && update genesis JSONs (#128)

* feat(consensus): update `AnchorGasLimit` && update genesis JSONs

* chore: update ci
This commit is contained in:
David 2023-10-26 02:11:42 +08:00 committed by GitHub
parent 643f21a373
commit 36f0df45f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

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

View file

@ -49,10 +49,10 @@ func TaikoGenesisBlock(networkID uint64) *Genesis {
return &Genesis{ return &Genesis{
Config: chainConfig, Config: chainConfig,
ExtraData: []byte{}, ExtraData: []byte{},
GasLimit: uint64(8000000), GasLimit: uint64(15_000_000),
Difficulty: common.Big0, Difficulty: common.Big0,
Alloc: alloc, Alloc: alloc,
GasUsed: 0, GasUsed: 0,
BaseFee: new(big.Int).SetUint64(10000000), BaseFee: new(big.Int).SetUint64(10_000_000),
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long