From 1143d043b571e5333c425dfbd0947bcbd3119673 Mon Sep 17 00:00:00 2001 From: RogerLamTd Date: Mon, 6 Jan 2025 13:14:21 +0800 Subject: [PATCH] chore(docs-site): update codebase analysis to reflect protocol changes --- .../taiko-protocol/codebase-analysis/taikol1-contract.md | 9 +-------- .../taiko-protocol/codebase-analysis/taikol2-contract.md | 1 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/docs-site/src/content/docs/taiko-protocol/codebase-analysis/taikol1-contract.md b/packages/docs-site/src/content/docs/taiko-protocol/codebase-analysis/taikol1-contract.md index 6045c4c8114..3f1472fdbee 100644 --- a/packages/docs-site/src/content/docs/taiko-protocol/codebase-analysis/taikol1-contract.md +++ b/packages/docs-site/src/content/docs/taiko-protocol/codebase-analysis/taikol1-contract.md @@ -123,14 +123,7 @@ description: Taiko protocol page for "TaikoL1.sol". ## Key Events -1. **`DebugGasPerBlock`** - Provides gas usage metrics for block proposals or proofs. - -- `isProposeBlock`: Indicates whether the event is for proposals or proofs. -- `gasUsed`: Gas consumed per block. -- `batchSize`: Number of blocks in the batch. - -2. **`StateVariablesUpdated`** +1. **`StateVariablesUpdated`** Signals updates to the state variables. --- diff --git a/packages/docs-site/src/content/docs/taiko-protocol/codebase-analysis/taikol2-contract.md b/packages/docs-site/src/content/docs/taiko-protocol/codebase-analysis/taikol2-contract.md index be5cc5e5962..cac45ed4a95 100644 --- a/packages/docs-site/src/content/docs/taiko-protocol/codebase-analysis/taikol2-contract.md +++ b/packages/docs-site/src/content/docs/taiko-protocol/codebase-analysis/taikol2-contract.md @@ -82,6 +82,7 @@ description: Taiko protocol page for "TaikoL2.sol". - `parentHash`: Hash of the parent block. - `parentGasExcess`: Gas excess for base fee calculation. +

2. **`EIP1559Update`** Emitted when gas parameters (e.g., target, excess, base fee) are updated.