Skip to content

fix(sdk): use correct overrides type#2468

Merged
mergify[bot] merged 2 commits intodevelopfrom
sc/sdk-call-overrides
Apr 15, 2022
Merged

fix(sdk): use correct overrides type#2468
mergify[bot] merged 2 commits intodevelopfrom
sc/sdk-call-overrides

Conversation

@smartcontracts
Copy link
Contributor

Description
Replaces Overrides with CallOverrides for estimateGas functions so you
can specify the "from" address.

@changeset-bot
Copy link

changeset-bot bot commented Apr 14, 2022

🦋 Changeset detected

Latest commit: 050c589

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@eth-optimism/sdk Patch
@eth-optimism/message-relayer Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the A-pkg-sdk Area: packages/sdk label Apr 14, 2022
Replaces Overrides with CallOverrides for estimateGas functions so you
can specify the "from" address.
@smartcontracts smartcontracts force-pushed the sc/sdk-call-overrides branch from 2e775d5 to 9cd363a Compare April 14, 2022 22:17
@mergify mergify bot requested review from cfromknecht and tuxcanfly April 15, 2022 00:42
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify mergify bot merged commit 1338135 into develop Apr 15, 2022
@mergify mergify bot deleted the sc/sdk-call-overrides branch April 15, 2022 16:28
@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

nebojsa94 pushed a commit to Tenderly/optimism that referenced this pull request Apr 26, 2022
Replaces Overrides with CallOverrides for estimateGas functions so you
can specify the "from" address.

Co-authored-by: Matthew Slipper <me@matthewslipper.com>
@mslipper mslipper mentioned this pull request Apr 28, 2022
nitaliano pushed a commit that referenced this pull request May 20, 2024
Replaces Overrides with CallOverrides for estimateGas functions so you
can specify the "from" address.

Co-authored-by: Matthew Slipper <me@matthewslipper.com>
theochap pushed a commit that referenced this pull request Dec 10, 2025
… configuration (#2468)

This PR completes the sequencer mode documentation in the vocs `docs/`
directory as requested in the issue. The documentation now provides
comprehensive coverage of how to configure and run `kona-node` in
sequencer mode.

## Changes Made

### Documentation Content
- **Overview**: Clear explanation of sequencer mode functionality and
how it differs from validator mode
- **Trait Abstractions**: Detailed coverage of key interfaces including:
  - `RollupNodeService` - main service trait defining operational modes
- `AttributesBuilderConfig` - configures L2 block attribute construction
  - `SequencerActor` - core actor responsible for block production
- **Programmatic Configuration**: Complete example showing how to use
`RollupNodeBuilder` to configure sequencer mode
- **CLI Usage**: Comprehensive reference of all sequencer-related flags
and environment variables

### Key Features Documented
- **Required Arguments**: All mandatory CLI flags needed to run in
sequencer mode
- **Sequencer-Specific Flags**: Complete reference table with defaults
and descriptions:
  - `--sequencer.stopped` - Control sequencer startup state
  - `--sequencer.max-safe-lag` - Configure safe/unsafe head distance
  - `--sequencer.l1-confs` - Set L1 confirmation requirements
  - `--sequencer.recover` - Enable recovery mode
  - `--conductor.rpc` - Conductor service integration
- **Configuration Examples**: Three practical examples covering basic,
conductor-enabled, and recovery mode setups
- **Operational Considerations**: Important callouts about L1
confirmations, recovery scenarios, and production deployment
considerations

### Documentation Structure
The documentation follows vocs conventions with:
- Proper markdown formatting and code blocks
- Info, tip, and caution callouts for important information
- Comprehensive tables for flag references
- Real-world configuration examples
- Focus on practical usage while keeping content concise

This addresses the issue requirements by providing complete
documentation of trait abstractions, programmatic configuration via
`kona-node` builder, CLI usage with all required arguments, and
appropriate callouts throughout.

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 Share your feedback on Copilot coding agent for the chance to win a
$200 gift card! Click
[here](https://survey.alchemer.com/s3/8343779/Copilot-Coding-agent) to
start the survey.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: refcell <21288394+refcell@users.noreply.github.com>
Co-authored-by: refcell <abigger87@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-pkg-sdk Area: packages/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants