EVM: Set FinalizedHash correctly in `forkChoiceUpdatedV3` call in ExecuteTxs
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go
- 領域
- blockchain
調査の方向性
ExecuteTxs の EVM 実装で最初の forkChoiceUpdatedV3 呼び出しから開始し、その後、issue で言及されている PR 2394 と Rollkit Store および engineClient の起動パスを読みます。finalized state が DA Included Height と永続化されたハッシュのどちらから取得されるべきかを判断し、head、safe、finalized のハッシュに対する起動時の sanity checks を定義します。再起動とインデクサーが一貫したブロックハッシュを受け取れば完了です。
索引モデルが issue の本文から書いたものです。
説明
In https://github.com/rollkit/rollkit/pull/2394, in order to have sequencer restarts work well, we modified the first call to forkChoiceUpdatedV3 in the ExecuteTxs EVM implementation to assign the previous block hash to HeadBlockHash, SafeBlockHash, and FinalizedBlockHash.
We should revisit this and take one or more of the following approaches:
- Set the FinalizedBlockHash based on the DA Included Height from the Rollkit Store. For the Head and Safe block hashes, use the Rollkit height which should be the same as the reth block height but it might be good to actually sanity check that on startup and set them in engineClient correctly on start.
- Persist the current versions of head, safe, and finalizedBlockHashes somewhere so on restarts they can be loaded back easily.
The concrete consequences of setting finalizedHash incorrectly are unknown currently but it'll likely be at least an issue in indexers and block explorers showing inconsistent finalized block hashes for a small period of time.
- 主要言語
- Go
- スター
- 361
- フォーク
- 281
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 15
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
evstack/ev-node のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
C:p2p
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
good first issue T:enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
evstack/ev-node の issue をすべて見る
似ている issue
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
kind/bug status/0-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
🤔 refinement needed
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
equinor/radix-operator#1979 ·