Skip to content

Version Packages#1854

Merged
tynes merged 3 commits intodevelopfrom
changeset-release/master
Dec 3, 2021
Merged

Version Packages#1854
tynes merged 3 commits intodevelopfrom
changeset-release/master

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 3, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@eth-optimism/gas-oracle@0.1.3

Patch Changes

  • 3af7ce3: Meter gas usage based on gas used in block instead of assuming max gas usage per block

@eth-optimism/proxyd@3.1.2

Patch Changes

@eth-optimism/l2geth@0.5.3

Patch Changes

  • 5febe10: fixes empty block detection and removes empty worker tasks
  • 272d20d: renames l2geth package name to github.com/ethereum-optimism/optimism/l2geth

@tynes tynes changed the base branch from master to develop December 3, 2021 23:43
@tynes tynes merged commit 1ed0fc2 into develop Dec 3, 2021
@tynes tynes deleted the changeset-release/master branch December 3, 2021 23:43
theochap added a commit that referenced this pull request Dec 10, 2025
…s to a given peer (#2025)

## Description

This PR fixes the gossip stability issues we've experience on initial
connections to the `op-node`s by preventing `kona-node`s from redialing
already connected peers, or peers that have been already dialed.

With that fix on, we're not experiencing the peer drops in kurtosis
anymore

On a side note: this PR also increases the log levels of some gossip
events.

## Explanation

My understanding of the situation:

- The libp2p library imposes a substream limit for outgoing connections
(constant, equal to 5). This is to prevent DOS vectors when creating new
connections
- It seems that every dial call will open a new outbound substream.
- Since we're dialing peers quite often in the discovery layer, we're
causing the libp2p library to reach the substream limit
- When we reach the substream limit, the protocol gets disconnected and
we're not advertising it to peers anymore. This causes the gossip
connection to drop

Relevant piece of code in libp2p :
https://github.com/libp2p/rust-libp2p/blob/d3e88cfc2ec944c3e6beb7117a762452cb855e38/protocols/gossipsub/src/handler.rs#L499-L511.
In our case, the outbound event is consistently the
ConnectionEvent::FullyNegotiatedOutbound event, which happens on every
new dial.

## Development

- Close #1854
theochap pushed a commit that referenced this pull request Dec 10, 2025
## Overview

Corrects the RPC port in the `kona-node` recipe. Also removes the
`--p2p.redial 0` flag following @theochap's recent fix that resolved
#1854.
theochap added a commit that referenced this pull request Jan 14, 2026
…s to a given peer (op-rs/kona#2025)

## Description

This PR fixes the gossip stability issues we've experience on initial
connections to the `op-node`s by preventing `kona-node`s from redialing
already connected peers, or peers that have been already dialed.

With that fix on, we're not experiencing the peer drops in kurtosis
anymore

On a side note: this PR also increases the log levels of some gossip
events.

## Explanation

My understanding of the situation:

- The libp2p library imposes a substream limit for outgoing connections
(constant, equal to 5). This is to prevent DOS vectors when creating new
connections
- It seems that every dial call will open a new outbound substream.
- Since we're dialing peers quite often in the discovery layer, we're
causing the libp2p library to reach the substream limit
- When we reach the substream limit, the protocol gets disconnected and
we're not advertising it to peers anymore. This causes the gossip
connection to drop

Relevant piece of code in libp2p :
https://github.com/libp2p/rust-libp2p/blob/d3e88cfc2ec944c3e6beb7117a762452cb855e38/protocols/gossipsub/src/handler.rs#L499-L511.
In our case, the outbound event is consistently the
ConnectionEvent::FullyNegotiatedOutbound event, which happens on every
new dial.

## Development

- Close #1854
theochap pushed a commit that referenced this pull request Jan 14, 2026
## Overview

Corrects the RPC port in the `kona-node` recipe. Also removes the
`--p2p.redial 0` flag following @theochap's recent fix that resolved
#1854.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant