-
Notifications
You must be signed in to change notification settings - Fork 50
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
Prover: Add coinbase to block context #739
base: main
Are you sure you want to change the base?
Conversation
61e965d
to
e36fd22
Compare
WalkthroughThe changes modify the Changes
Sequence Diagram(s)sequenceDiagram
participant V as Verify Function
participant T as Trace Data
participant B as Block Context
participant BF as Batch Vector
V->>BF: Allocate vector (capacity = num_blocks * 80)
V->>B: Allocate vector (capacity = 80)
V->>T: Fetch trace data (coinbase)
T-->>V: Return coinbase slice
V->>B: Extend block_ctx with coinbase data
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code Definitions (1)prover/crates/morph-executor/client/src/lib.rs (2)
🔇 Additional comments (4)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
WalkthroughThe pull request updates the allocation sizes within the Changes
Sequence Diagram(s)sequenceDiagram
participant V as verify()
participant T as l2_trace
Note over V, T: Processing each l2_trace
V->>T: Retrieve trace data
T-->>V: Return standard and coinbase data
V->>V: Allocate batch_from_trace (capacity: num_blocks*80)
V->>V: Allocate block_ctx (capacity: 80)
V->>V: Extend block_ctx with coinbase from trace
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code Definitions (1)prover/crates/morph-executor/client/src/lib.rs (2)
🔇 Additional comments (3)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Prover: Add coinbase to block context
Node updates: #731, morph-l2/go-ethereum#179
Summary by CodeRabbit
New Features
Refactor