Skip to content

Commit 2134337

Browse files
chore(taiko_genesis): update genesis JSONs (#298)
* chore(taiko_genesis): update genesis JSONs * feat: update `AnchorV2Selector`
1 parent 6315fd4 commit 2134337

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

consensus/taiko/consensus.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ var (
3030
GoldenTouchAccount = common.HexToAddress("0x0000777735367b36bC9B61C50022d9D0700dB4Ec")
3131
TaikoL2AddressSuffix = "10001"
3232
AnchorSelector = crypto.Keccak256([]byte("anchor(bytes32,bytes32,uint64,uint32)"))[:4]
33-
AnchorV2Selector = crypto.Keccak256([]byte("anchorV2(uint64,bytes32,uint32,uint32,uint8)"))[:4]
34-
AnchorGasLimit = uint64(250_000)
33+
AnchorV2Selector = crypto.Keccak256(
34+
[]byte("anchorV2(uint64,bytes32,uint32,(uint8,uint8,uint32,uint64,uint32))"),
35+
)[:4]
36+
AnchorGasLimit = uint64(250_000)
3537
)
3638

3739
// Taiko is a consensus engine used by L2 rollup.

0 commit comments

Comments
 (0)