Skip to content

Commit

Permalink
chore(taiko_genesis): update genesis JSONs (#298)
Browse files Browse the repository at this point in the history
* chore(taiko_genesis): update genesis JSONs

* feat: update `AnchorV2Selector`
  • Loading branch information
davidtaikocha committed Aug 14, 2024
1 parent 6315fd4 commit 2134337
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 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 2134337

Please sign in to comment.