Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docs-site): update network config, list cooldown, proving windows and bonds for every tier, remove banner #18377

Merged
merged 6 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/docs-site/src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export const collections = {
description: z
.string()
.max(160, { message: "Must be 160 characters or less." }).optional(),
banner: z.object({ content: z.string() }).default({
content: 'All Mainnet Node Runners: Protocol upgrade on Oct 31st in preparation for Ontake fork, upgrade needed. Please ensure your nodes are using the software tags listed in the announcement! Click <a href="https://taiko.mirror.xyz/OJA4SwCqHjF32Zz0GkNJvnHWlsRYzdJ6hcO9FXVOpLs">here</a> for more info',
}),
// banner: z.object({ content: z.string() }).default({
// content: '',
// }),
}),
}),
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ These are the bare minimum required settings along with a functional Taiko node
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.
</Aside>

Please find all relevant bond, cooldown, and proving window information [here](/network-reference/network-configuration/#cooldown-window-proving-window-and-bonds).

### Approve TaikoL1 as TAIKO spender (mainnet)

<Steps>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ description: Network reference page describing various important addresses on Ta
| ERC20Vault | `0x996282cA11E5DEb6B5D122CC3B9A1FcAAD4415Ab` | v20.based.taiko.eth |
| ERC721Vault | `0x0b470dd3A0e1C41228856Fb319649E7c08f419Aa` | v721.based.taiko.eth |
| ERC1155Vault | `0xaf145913EA4a56BE22E120ED9C24589659881702` | v1155.based.taiko.eth |
| BridgedERC20 | `0xcc5d488073FA918cBbd73B9A523F3858C4de7372` | N/A |
| BridgedERC721 | `0xc4096E9ff1526Bd1840B65e9f45695135aC12De7` | N/A |
| BridgedERC1155 | `0x39E4C1214e733639d059979079A151911e42791d` | N/A |
| BridgedERC20 | `0x65666141a541423606365123Ed280AB16a09A2e1` | N/A |
| BridgedERC721 | `0xC3310905E2BC9Cfb198695B75EF3e5B69C6A1Bf7` | N/A |
| BridgedERC1155 | `0x3c90963cFBa436400B0F9C46Aa9224cB379c2c40` | N/A |

| Contract Name (Rollup-Specific) | Address | ENS |
| ------------------------------- | -------------------------------------------- | -------------------------- |
| TaikoL1 | `0x06a9Ab27c7e2255df1815E6CC0168d7755Feb19a` | based.taiko.eth |
| RollupAddressManager | `0x579f40D0BE111b823962043702cabe6Aaa290780` | ram.based.taiko.eth |
| TierRouter | `0x8f1C1D58C858e9a9eeCc587d7D51AECfd16b5542` | N/A |
| GuardianProver | `0xE3D777143Ea25A6E031d1e921F396750885f43aC` | guardians.based.taiko.eth |
| GuardianProverMinority | `0x579A8d63a2Db646284CBFE31FE5082c9989E985c` | guardians1.based.taiko.eth |
| AssignmentHook | `0x537a2f0D3a5879b41BCb5A2afE2EA5c4961796F6` | N/A |
Expand All @@ -33,7 +34,7 @@ description: Network reference page describing various important addresses on Ta
| P256Verifier | `0x11A9ebA17EbF92b40fcf9a640Ebbc47Db6fBeab0` | N/A |
| SigVerifyLib | `0x47bB416ee947fE4a4b655011aF7d6E3A1B80E6e9` | N/A |
| TokenUnlock | `0x035AFfC82612de31E9Db2259B9482D0Dd53B7819` | N/A |
| ProverSet | `0x34f2B21107AfE3584949c184A1E6236FFDAC4f6F` | N/A |
| ProverSet | `0x3022Ed0346CCE0c08268c8ad081458AfD95E8763` | N/A |
| labprover | `0x68d30f47F19c07bCCEf4Ac7FAE2Dc12FCa3e0dC9` | labprover.taiko.eth |
| labcontester | `0xa01d464ca3982DAa97B19fa7F8a232eB11A9DDb3` | labcontester.taiko.eth |

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: Network configuration
description: The network configuration page describes many of the configuration details of the network.
---

import {Aside} from '@astrojs/starlight/components';

## Cooldown Window, Proving Window and Bonds

This segment lists the cooldown windows and proving windows for every tier of proof in the Taiko protocol.

The cooldown window describes how long after the proof has been provided that the block is verified.

The proving window describes how long a prover has to provide a proof for a block after they have been assigned the block (i.e. a block has been proposed with them as the assigned prover).

You can find all the corresponding values below in the above link too!

| Tier | Cooldown Window | Proving Window | Bond |
| ----------------- | --------------- | -------------- | --------- |
| Optimistic | 1440 minutes | 255 minutes | 75 TAIKO |
| SGX | 240 minutes | 300 minutes | 150 TAIKO |
| ZK | 240 minutes | 420 minutes | 225 TAIKO |
| SGX & ZK | 240 minutes | 420 minutes | 225 TAIKO |
| Guardian Minority | 240 minutes | 240 minutes | 225 TAIKO |
| Guardian | 240 minutes | 240 minutes | 0 TAIKO |

## Tier configuration (Mainnet)

You can view the full `MainnetTierRouter` tier configuration [here](https://etherscan.io/address/0x8f1C1D58C858e9a9eeCc587d7D51AECfd16b5542#code):

![mainnet proof tiers](~/assets/content/docs/network-reference/proof-tier-config-mn.webp)

If the function of the bonds is not clear to you, please find out more [here](/resources/terminology#bonding-related).

## Network configuration (Mainnet)

You can view the full network configuration by visiting the TaikoL1 contract on Etherscan [here](https://etherscan.io/address/0x06a9Ab27c7e2255df1815E6CC0168d7755Feb19a#readProxyContract). Then connect your wallet, and select "Read as Proxy". You can then see the config details for the network.

## Tier configuration (Hekla)

You can view the full post ontake fork `HeklaTierRouter` tier configuration [here](https://holesky.etherscan.io/address/0x98d4FaD098526c4582063FA588C5e96229270366#code):

![hekla proof tiers](~/assets/content/docs/network-reference/proof-tier-config-hekla.webp)

## Network configuration (Hekla)

You can view the full network configuration by visiting the TaikoL1 contract on Etherscan [here](https://holesky.etherscan.io/address/0x79C9109b764609df928d16fC4a91e9081F7e87DB#readProxyContract). Then connect your wallet, and select "Read as Proxy". You can then see the config details for the network.