You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/docs-site/src/content/docs/guides/node-operators/enable-a-prover.mdx
+5-13Lines changed: 5 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,13 +24,11 @@ These are the bare minimum required settings along with a functional Taiko node
24
24
25
25
3. Set the `L1_PROVER_PRIVATE_KEY` to an L1 account's private key which will send the Prove Block transactions.
26
26
27
-
4.You may optionally [deploy a `ProverSet` contract](/guides/node-operators/deploy-a-proverset) to run your prover. If you are working with a third party prover, you will have to follow the guide with them to negotiate allowance and deposit of TAIKO/TTKOh. A ProverSet is recommended for a longer term stable setup to avoid nonce issues. For testing purposes, you may not feel the need to deploy a ProverSet.
27
+
4.Finally set `ENABLE_PROVER` to `true` in simple-taiko-node `.env`.
28
28
29
-
5.Finally set `ENABLE_PROVER` to `true` in simple-taiko-node `.env`.
29
+
5.Set `COMPOSE_PROFILES=prover` or add prover to the list.
30
30
31
-
6. Set `COMPOSE_PROFILES=prover` or add prover to the list.
32
-
33
-
7. You can then run your prover with `docker compose up -d`! Please use `docker compose -f docker-compose-hekla.yml up -d` if you are running on Taiko Hekla.
31
+
6. You can then run your prover with `docker compose up -d`! Please use `docker compose -f docker-compose-hekla.yml up -d` if you are running on Taiko Hekla.
34
32
35
33
</Steps>
36
34
@@ -47,8 +45,6 @@ The recommended value for SGX_BATCH_SIZE is 10+ as you will see the most gas sav
47
45
48
46
We highly recommend you test the function **on Taiko Hekla**, not on Taiko Alethia.
49
47
50
-
Please note that you must use the [upgraded ProverSet contract](https://github.com/taikoxyz/taiko-mono/blob/taiko-alethia-protocol-v2.3.0/packages/protocol/contracts/layer1/provers/ProverSet.sol) to use this functionality.
51
-
52
48
Please also note that you should NOT enable revert protection without a PBS service that has revert protection support, as it will interfere with your batch proving on Taiko Hekla.
53
49
</Aside>
54
50
@@ -68,10 +64,6 @@ To prevent this, we have introduced another flag `FORCE_BATCH_PROVING_INTERVAL`.
68
64
69
65
This flag will force the prover to submit a batch of proofs every x minutes, regardless of the batch size being fulfilled. We don't recommend this value be set > 45 minutes, as the provingWindow is 60 minutes and any closer will put you at risk of having proof assignments expire. It is by default set to 30 minutes.
70
66
71
-
<Aside>
72
-
The following steps can be done through the [ProverSet contract](/guides/node-operators/deploy-a-proverset/#deploying-a-proverset) if you have deployed one. We highly recommend this for a stable setup.
73
-
</Aside>
74
-
75
67
### Approve TaikoInbox as TAIKO spender (Taiko Alethia)
76
68
77
69
<Steps>
@@ -92,7 +84,7 @@ The following steps can be done through the [ProverSet contract](/guides/node-op
92
84
93
85
You will need at least 125 TAIKO for the `livenessBond`. After entering 125, you need to set the 18 decimals that the TAIKO contract takes, you can click the plus button and then select 10^18.
94
86
95
-
If you have bonded TAIKO in the TaikoInbox contract, it will be used first before more is taken from your ProverSet.
87
+
If you have bonded TAIKO in the TaikoInbox contract, it will be used first before more is taken from your allowance.
96
88
97
89
For an explanation on bonds, please refer to the terminology section [here](/resources/terminology).
98
90
@@ -118,7 +110,7 @@ You will need TTKOh deposited on the TaikoInbox contract to secure the bond for
118
110
119
111
You will need at least 125 TTKOh for the `livenessBond`. After entering 125, you need to set the 18 decimals that the TAIKO contract takes, you can click the plus button and then select 10^18.
120
112
121
-
If you have bonded TTKOh in the TaikoInbox contract, it will be used first before more is taken from your ProverSet.
113
+
If you have bonded TTKOh in the TaikoInbox contract, it will be used first before more is taken from your allowance.
122
114
123
115
For an explanation of the difference between these bonds, please refer to the terminology section [here](/resources/terminology).
Copy file name to clipboardExpand all lines: packages/docs-site/src/content/docs/guides/node-operators/run-a-node-for-taiko-alethia.mdx
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,12 @@ If you aren't, you can configure the ports and addresses so that the services ca
126
126
127
127
This command assumes you've run the `taiko-geth` command as is, if you've changed ports please change them accordingly.
128
128
129
+
<Asidetype="tip">
130
+
If you wish to enable a node without joining the preconfirmations p2p network, simply **remove all `p2p` and `preconfirmation` flags with the exception of `--p2p.sync` and `--p2p.checkPointSyncUrl`.**
131
+
132
+
Please note that your node's chainhead will not be up-to-date with the preconfed blocks if you do not join the p2p network.
Copy file name to clipboardExpand all lines: packages/docs-site/src/content/docs/guides/node-operators/run-a-node-for-taiko-hekla.mdx
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,12 @@ If you aren't, you can configure the ports and addresses so that the services ca
126
126
127
127
This command assumes you've run the `taiko-geth` command as is, if you've changed ports please change them accordingly.
128
128
129
+
<Asidetype="tip">
130
+
If you wish to enable a node without joining the preconfirmations p2p network, simply **remove all `p2p` and `preconfirmation` flags with the exception of `--p2p.sync` and `--p2p.checkPointSyncUrl`.**
131
+
132
+
Please note that your node's chainhead will not be up-to-date with the preconfed blocks if you do not join the p2p network.
0 commit comments