Skip to content

Commit 8bfe5e1

Browse files
authored
Merge branch 'main' into fix-client-iterator-leaks
2 parents c7d72bc + 39bb6e5 commit 8bfe5e1

File tree

60 files changed

+1600
-752
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1600
-752
lines changed

.github/CODEOWNERS

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
.github/CODEOWNERS @dantaik @ggonzalez94 @davidtaikocha
33
.github/workflows/* @ggonzalez94 @YoGhurt111 @davidtaikocha @RogerLamTd
44

5-
# Protocol (core smart contracts - highest activity)
6-
/packages/protocol/** @dantaik @ggonzalez94 @davidtaikocha @smtmfft
7-
/packages/protocol/contracts/**/*Verifier*.sol @dantaik @ggonzalez94 @smtmfft
8-
/packages/protocol/contracts/layer1/preconf/** @dantaik @ggonzalez94 @AnshuJalan
5+
# Protocol
6+
/packages/protocol/** @ggonzalez94 @davidtaikocha
7+
/packages/protocol/contracts/**/*Verifier*.sol @smtmfft @ggonzalez94 @davidtaikocha
8+
/packages/protocol/contracts/layer1/preconf/** @AnshuJalan @ggonzalez94 @davidtaikocha
99

1010
# Client services
1111
/packages/taiko-client/** @YoGhurt111 @davidtaikocha @MatusKysel
@@ -14,11 +14,11 @@
1414
/packages/relayer/** @YoGhurt111 @davidtaikocha @MatusKysel
1515

1616
# Frontend applications
17-
/packages/docs-site/** @ggonzalez94 @RogerLamTd
18-
/packages/bridge-ui/** @KorbinianK @myronrotter @bearni95
17+
/packages/docs-site/** @RogerLamTd @ggonzalez94
18+
/packages/bridge-ui/** @RogerLamTd @ggonzalez94
1919

2020
# Infrastructure and tools
21-
/packages/balance-monitor/** @YoGhurt111 @davidtaikocha
22-
/packages/ejector/** @YoGhurt111 @davidtaikocha @MatusKysel
21+
/packages/balance-monitor/** @YoGhurt111 @davidtaikocha @RogerLamTd
22+
/packages/ejector/** @YoGhurt111 @davidtaikocha @MatusKysel @RogerLamTd
2323
/packages/fork-diff/** @YoGhurt111 @davidtaikocha @RogerLamTd
2424
/packages/geth-rpc-gateway/** @YoGhurt111 @davidtaikocha

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packages/bridge-ui": "2.15.0",
33
"packages/docs-site": "1.34.0",
44
"packages/eventindexer": "0.14.0",
5-
"packages/ejector": "0.5.0",
5+
"packages/ejector": "0.6.0",
66
"packages/fork-diff": "0.7.0",
77
"packages/protocol": "2.3.0",
88
"packages/relayer": "0.12.0",

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ require (
7070
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
7171
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f // indirect
7272
github.com/cespare/xxhash/v2 v2.3.0 // indirect
73-
github.com/cloudflare/circl v1.6.1 // indirect
73+
github.com/cloudflare/circl v1.6.3 // indirect
7474
github.com/cockroachdb/errors v1.11.3 // indirect
7575
github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect
7676
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
@@ -264,7 +264,6 @@ require (
264264
github.com/sirupsen/logrus v1.9.3 // indirect
265265
github.com/skeema/knownhosts v1.3.1 // indirect
266266
github.com/spaolacci/murmur3 v1.1.0 // indirect
267-
github.com/status-im/keycard-go v0.2.0 // indirect
268267
github.com/stretchr/objx v0.5.2 // indirect
269268
github.com/supranational/blst v0.3.14 // indirect
270269
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
@@ -311,7 +310,7 @@ require (
311310
lukechampine.com/blake3 v1.3.0 // indirect
312311
)
313312

314-
replace github.com/ethereum/go-ethereum v1.15.5 => github.com/taikoxyz/taiko-geth v1.18.1-0.20260224093452-3c2eee10ddf0
313+
replace github.com/ethereum/go-ethereum v1.15.5 => github.com/taikoxyz/taiko-geth v1.18.1-0.20260225105436-01dfc264ab78
315314

316315
replace github.com/ethereum-optimism/optimism v1.7.4 => github.com/taikoxyz/optimism v0.0.0-20251229030244-37aa83d15a8f
317316

go.sum

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5P
106106
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
107107
github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs=
108108
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
109-
github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0=
110-
github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
109+
github.com/cloudflare/circl v1.6.3 h1:9GPOhQGF9MCYUeXyMYlqTR6a5gTrgR/fBLXvUgtVcg8=
110+
github.com/cloudflare/circl v1.6.3/go.mod h1:2eXP6Qfat4O/Yhh8BznvKnJ+uzEoTQ6jVKJRn81BiS4=
111111
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
112112
github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f h1:otljaYPt5hWxV3MUfO5dFPFiOXg9CyG5/kCfayTqsJ4=
113113
github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU=
@@ -840,8 +840,6 @@ github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d/go.mod h1:Udh
840840
github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e/go.mod h1:HuIsMU8RRBOtsCgI77wP899iHVBQpCmg4ErYMZB+2IA=
841841
github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI=
842842
github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
843-
github.com/status-im/keycard-go v0.2.0 h1:QDLFswOQu1r5jsycloeQh3bVU8n/NatHHaZobtDnDzA=
844-
github.com/status-im/keycard-go v0.2.0/go.mod h1:wlp8ZLbsmrF6g6WjugPAx+IzoLrkdf9+mHxBEeo3Hbg=
845843
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
846844
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
847845
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
@@ -875,8 +873,8 @@ github.com/taikoxyz/hive v0.0.0-20240827015317-405b241dd082 h1:ymZR+Y88LOnA8i3Ke
875873
github.com/taikoxyz/hive v0.0.0-20240827015317-405b241dd082/go.mod h1:RHnIu3EFehrWX3JhFAMQSXD5uz7l0xaNroTzXrap7EQ=
876874
github.com/taikoxyz/optimism v0.0.0-20251229030244-37aa83d15a8f h1:7lZFtV7wip0wmcTquvmtSH5LRp1djzSiDkOeGpIuEN4=
877875
github.com/taikoxyz/optimism v0.0.0-20251229030244-37aa83d15a8f/go.mod h1:V0VCkKtCzuaJH6qcL75SRcbdlakM9LhurMEJUhO6VXA=
878-
github.com/taikoxyz/taiko-geth v1.18.1-0.20260224093452-3c2eee10ddf0 h1:K4xxtw+4qJSniFjFpArpiY6dYu4IAH+GGf3ZNHv1jxc=
879-
github.com/taikoxyz/taiko-geth v1.18.1-0.20260224093452-3c2eee10ddf0/go.mod h1:1LG2LnMOx2yPRHR/S+xuipXH29vPr6BIH6GElD8N/fo=
876+
github.com/taikoxyz/taiko-geth v1.18.1-0.20260225105436-01dfc264ab78 h1:iwlsBVNU24H6dRCKXRYOhzgCQ3hvcpdhnbAm3Q+qK5s=
877+
github.com/taikoxyz/taiko-geth v1.18.1-0.20260225105436-01dfc264ab78/go.mod h1:1LG2LnMOx2yPRHR/S+xuipXH29vPr6BIH6GElD8N/fo=
880878
github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA=
881879
github.com/testcontainers/testcontainers-go v0.40.0 h1:pSdJYLOVgLE8YdUY2FHQ1Fxu+aMnb6JfVz1mxk7OeMU=
882880
github.com/testcontainers/testcontainers-go v0.40.0/go.mod h1:FSXV5KQtX2HAMlm7U3APNyLkkap35zNLxukw9oBi/MY=

packages/docs-site/src/content/docs/guides/app-developers/deploy-a-contract.mdx

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
6565
</Aside>
6666

6767
2. Create a Hardhat project
68+
6869
- In your desired directory, run
6970

7071
```bash
@@ -98,6 +99,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
9899
Choose `Create a JavaScript project` and follow the prompts, agreeing to create a `.gitignore` and install suggested dependencies.
99100

100101
3. Configure Your Project
102+
101103
- Delete `Lock.sol` in the `/contracts` directory.
102104
- In your project's `/contracts` directory, create a new file named `Storage.sol` and paste the provided Solidity code into it using your text editor.
103105

@@ -121,6 +123,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
121123
```
122124

123125
This contract, named `Storage`, includes functions to store and retrieve a `uint256` number.
126+
124127
- Create the `/scripts` to write a deployment script. Then create and open a new `deploy.js` file to insert the provided JavaScript code.
125128
- Proceed to the `/scripts` directory of your Hardhat project to write a deployment script. Then create and open a new `deploy.js` file to insert the provided JavaScript code.
126129

@@ -162,8 +165,8 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
162165
Make sure `.env` is in the `.gitignore` file to avoid uploading your
163166
`ACCOUNT_PRIVATE_KEY`.
164167
</Aside>
165-
- Update `hardhat.config.js` with the following configuration to include
166-
Taiko network settings and Solidity version.
168+
- Update `hardhat.config.js` with the following configuration to include Taiko
169+
network settings and Solidity version.
167170

168171
```javascript
169172
//hardhat.config.js
@@ -248,6 +251,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
248251
The CLI will provide a link. Open this link to proceed with deployment via the Thirdweb UI.
249252

250253
3. Complete Deployment Details
254+
251255
- Fill in the necessary fields in the Thirdweb UI.
252256
- Select `Taiko Network` from the Chain drop-down menu.
253257
- Opt for `Add to dashboard` if you wish to manage this contract from the Thirdweb dashboard.
@@ -317,6 +321,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
317321
</Aside>
318322

319323
2. Create a Hardhat project
324+
320325
- In your desired directory, run
321326

322327
```bash
@@ -350,6 +355,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
350355
Choose `Create a JavaScript project` and follow the prompts, agreeing to create a `.gitignore` and install suggested dependencies.
351356

352357
3. Configure Your Project
358+
353359
- Delete `Lock.sol` in the `/contracts` directory.
354360
- In your project's `/contracts` directory, create a new file named `Storage.sol` and paste the provided Solidity code into it using your text editor.
355361

@@ -373,6 +379,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
373379
```
374380

375381
This contract, named `Storage`, includes functions to store and retrieve a `uint256` number.
382+
376383
- Create the `/scripts` to write a deployment script. Then create and open a new `deploy.js` file to insert the provided JavaScript code.
377384
- Proceed to the `/scripts` directory of your Hardhat project to write a deployment script. Then create and open a new `deploy.js` file to insert the provided JavaScript code.
378385

@@ -414,8 +421,8 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
414421
Make sure `.env` is in the `.gitignore` file to avoid uploading your
415422
`ACCOUNT_PRIVATE_KEY`.
416423
</Aside>
417-
- Update `hardhat.config.js` with the following configuration to include
418-
Taiko network settings and Solidity version.
424+
- Update `hardhat.config.js` with the following configuration to include Taiko
425+
network settings and Solidity version.
419426

420427
```javascript
421428
//hardhat.config.js
@@ -480,6 +487,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
480487
2. Create a new `.sol` file
481488

482489
![new file](../../../../assets/content/docs/guides/newfile.png)
490+
483491
- Give it any name, for example `Counter.sol`.
484492
- Fill with this example code:
485493

@@ -498,17 +506,21 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
498506
```
499507

500508
3. Compile
509+
501510
- Change the Compiler version to `0.7.0+commit.9e61f92b`
502511

503512
![new file](../../../../assets/content/docs/guides/compiler.png)
513+
504514
- Then compile it.
505515

506516
4. Deploy
517+
507518
- Change the Environment to `Injected Provider`
508519

509520
![new file](../../../../assets/content/docs/guides/provider.png)
510521

511522
![new file](../../../../assets/content/docs/guides/transact.png)
523+
512524
- Then click `transact`
513525

514526
- Finally, verify the smart contract using any of our block [explorers](/guides/app-developers/verify-a-contract/#verify-a-contract-with-hardhat-or-other-alternatives)
@@ -546,6 +558,7 @@ Hardhat is an Ethereum development environment for deploying smart contracts, ru
546558
The CLI will provide a link. Open this link to proceed with deployment via the Thirdweb UI.
547559

548560
3. Complete Deployment Details
561+
549562
- Fill in the necessary fields in the Thirdweb UI.
550563
- Select `Taiko Network` from the Chain drop-down menu.
551564
- Opt for `Add to dashboard` if you wish to manage this contract from the Thirdweb dashboard.

packages/docs-site/src/content/docs/guides/node-operators/run-a-taiko-alethia-node-with-docker.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ This guide will help you start up a Taiko Alethia RPC node using [simple-taiko-n
152152
Whether you are running the node on a personal machine or a cloud provider's
153153
machine, you should ensure your the following ports on your machine are
154154
**open and visible to the internet at your external IP:**
155+
155156
- TCP `4001` OR whichever port you set `P2P_TCP_PORT` to in your `.env`.
156157
- UDP `30303` OR whichever port you set `P2P_UDP_PORT` to in your `.env`.
157158

@@ -169,6 +170,7 @@ This guide will help you start up a Taiko Alethia RPC node using [simple-taiko-n
169170
it is simply to persist an identity.**
170171

171172
You may either set `PRIV_RAW` in your `.env`, or `PRIV_FILE`:
173+
172174
- `PRIV_RAW` is the hexstring private key in plaintext
173175
- `PRIV_FILE` is the name of your txt file that consists entirely of a
174176
private key with no newlines IN YOUR `/script/` DIRECTORY.
@@ -217,6 +219,7 @@ This guide will help you start up a Taiko Alethia RPC node using [simple-taiko-n
217219
block explorer, you are fully synced.
218220

219221
#### Option 2: Check with curl commands
222+
220223
1. Check if the Execution Layer client is connected to Taiko L2:
221224

222225
```bash

packages/docs-site/src/content/docs/guides/node-operators/run-an-ethereum-testnet-node.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ This guide will help you get a Hoodi archive node up and running.
5454
you L2 node may experience blob unavailability or chain divergence.
5555

5656
Please configure your beacon client with the respective flags (detailed below) before the Fusaka hard fork date to avoid interruptions!
57+
5758
- Lighthouse: **`--semi-supernode` or `--supernode`**
5859
- Teku: **`--p2p-subscribe-all-custody-subnets-enabled`**
5960
- Grandine: **`--subscribe-all-data-column-subnets`**

packages/docs-site/src/content/docs/network-reference/rpc-configuration.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ Below are the RPCs maintained by Taiko Labs. You can find additional RPCs at [ch
2424

2525
## Taiko Hoodi
2626

27-
| Name | Value |
28-
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
29-
| Chain ID | 167013 |
30-
| RPC | https://rpc.hoodi.taiko.xyz |
31-
| Symbol | ETH |
27+
| Name | Value |
28+
| --------------- | --------------------------------------------------------------------------------------------------------------- |
29+
| Chain ID | 167013 |
30+
| RPC | https://rpc.hoodi.taiko.xyz |
31+
| Symbol | ETH |
3232
| Block Explorers | - Taikoscan (by Etherscan): https://hoodi.taikoscan.io/ <br />- Blockscout: https://blockscout.hoodi.taiko.xyz/ |
3333

3434
## Taiko Alethia
3535

36-
| Name | Value |
37-
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
38-
| Chain ID | 167000 |
39-
| RPC | https://rpc.mainnet.taiko.xyz |
40-
| Symbol | ETH |
36+
| Name | Value |
37+
| --------------- | ---------------------------------------------------------------------------------------------------------- |
38+
| Chain ID | 167000 |
39+
| RPC | https://rpc.mainnet.taiko.xyz |
40+
| Symbol | ETH |
4141
| Block Explorers | - Taikoscan (by Etherscan): https://taikoscan.io <br />- Blockscout: https://blockscout.mainnet.taiko.xyz/ |

packages/docs-site/src/content/docs/taiko-alethia-protocol/protocol-design/based-preconfirmation.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Rolling out in two distinct stages lets us not only test the software without po
2828
There are two primary types of preconfirmations:
2929

3030
- **Inclusion Preconfirmations**:
31+
3132
- Guarantees that the transaction will be eventually included in L1.
3233
- No strict guarantee on when it will execute or in what order.
3334
- Often used in systems that rely on external MEV solutions.

packages/docs-site/src/content/docs/taiko-alethia-protocol/protocol-design/inception-layers.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Taiko Alethia is designed with **flexibility**, enabling:
1919
1. **Ethereum's Scaling Limits**
2020

2121
A single L2 has inherent constraints:
22+
2223
- Throughput bottlenecks: Even a performant rollup has an upper bound on TPS.
2324
- State Growth: Storing all state in a single rollup leads to **expensive calldata** and **verification costs** on Ethereum L1.
2425

@@ -40,13 +41,15 @@ Taiko Alethia is designed with **flexibility**, enabling:
4041
## Benefits of Inception Layers
4142

4243
1. **Ethereum-Equivalence Across Layers**
44+
4345
- **L2s and L3s** share the **same execution environment** as Ethereum.
4446
- Developers can **reuse smart contracts** across layers without modifications.
4547
- **EVM compatibility is preserved**, ensuring seamless migration.
4648

4749
<br/>
4850

4951
2. **Optimized for Composability & Interoperability**
52+
5053
- Rollups at different layers can **efficiently interact** using **Merkle proofs**.
5154
- This enables **secure, trustless message passing** between L1, L2, and L3.
5255

0 commit comments

Comments
 (0)