feat: update exec api to acommodate to last changes in rollkit - #73
feat: update exec api to acommodate to last changes in rollkit#73randygrok wants to merge 1 commit into
Conversation
WalkthroughThis change removes two command-line flags related to lazy aggregation mode from the server configuration and updates the DA client instantiation in the node startup logic. The DA client is now created using a consolidated import path and includes an additional namespace parameter. Changes
Sequence Diagram(s)sequenceDiagram
participant CLI as CLI Flags
participant Server as Server
participant Node as Node
participant DA as DA Client
CLI->>Server: Start command (no lazy aggregation flags)
Server->>DA: jsonrpc.NewClient(endpoint, namespace)
Server->>Node: NewNode(..., &DA.DA)
Node->>DA: Interact with DA client as needed
Possibly related PRs
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (1.64.8)Error: you are using a configuration file for golangci-lint v2 with golangci-lint v1: please use golangci-lint v2 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
| cmd.Flags().Bool(config.FlagLight, def.Node.Light, "run light client") | ||
| cmd.Flags().Duration(config.FlagBlockTime, def.Node.BlockTime.Duration, "block time (for aggregator mode)") | ||
| cmd.Flags().String(config.FlagTrustedHash, def.Node.TrustedHash, "initial trusted hash to start the header exchange service") | ||
| cmd.Flags().Bool(config.FlagLazyAggregator, def.Node.LazyAggregator, "produce blocks only when transactions are available or after lazy block time") |
There was a problem hiding this comment.
We still need these. They were changed. To lazymode and lazyblock interval
|
this doesnt work out of the box unless you update the rollkit version in the go.mod. |
|
replaced by #79 |
Overview
Summary by CodeRabbit
Refactor
Chores