Skip to content

Commit

Permalink
Merge branch 'taiko' into preconfs
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Aug 21, 2024
2 parents b46389f + 5faa71b commit 9a8241c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
6 changes: 4 additions & 2 deletions consensus/taiko/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ var (
GoldenTouchAccount = common.HexToAddress("0x0000777735367b36bC9B61C50022d9D0700dB4Ec")
TaikoL2AddressSuffix = "10001"
AnchorSelector = crypto.Keccak256([]byte("anchor(bytes32,bytes32,uint64,uint32)"))[:4]
AnchorV2Selector = crypto.Keccak256([]byte("anchorV2(uint64,bytes32,uint32,uint32,uint8)"))[:4]
AnchorGasLimit = uint64(250_000)
AnchorV2Selector = crypto.Keccak256(
[]byte("anchorV2(uint64,bytes32,uint32,(uint8,uint8,uint32,uint64,uint32))"),
)[:4]
AnchorGasLimit = uint64(250_000)
)

// Taiko is a consensus engine used by L2 rollup.
Expand Down
Loading

0 comments on commit 9a8241c

Please sign in to comment.