Skip to content

a few tweaks for #18327#18480

Merged
nonsense merged 6 commits intononsense/fix-channel-closefrom
gk/fix-channel-close
Dec 3, 2025
Merged

a few tweaks for #18327#18480
nonsense merged 6 commits intononsense/fix-channel-closefrom
gk/fix-channel-close

Conversation

@geoknee
Copy link
Copy Markdown
Contributor

@geoknee geoknee commented Dec 3, 2025

Targetting #18327

  • Tidies up struct literals which set default values
  • renames "publishingBackLog" to "ignoreMaxChannelDuration"
    • the motivation for this is that the receiver of the signal defines what it means, so that it doesn't need to understand what the sender of the signal means exactly. This feels like a cleaner separation of responsibilities and abstractions to me
  • some typos and comment improvements

@geoknee geoknee requested review from a team and op-will and removed request for a team December 3, 2025 12:13
@nonsense nonsense merged commit a971c21 into nonsense/fix-channel-close Dec 3, 2025
7 of 52 checks passed
@nonsense nonsense deleted the gk/fix-channel-close branch December 3, 2025 12:24
github-merge-queue Bot pushed a commit that referenced this pull request Dec 3, 2025
…18327)

* op-batcher: propagate clock.Clock to gossip builder check. refactor MaxChannelDuration

* remove comments

* remove PrintChain

* Merge pull request #18344 from ethereum-optimism/nonsense/fix-channel-close2

op-batcher: fix max channel duration tracking for large block backlogs (cont)

* unit test for moreComing

* extract SequenceBlock into DSL

* add TestChannelBuilder_MaxChannelDurationZero

* better comments

* godoc for moreComing and pubInfo

* rename moreComing

* better comment

* a few tweaks for  #18327 (#18480)

* tweaks

* remove default values (false booleans) from struct literals

* Rename publishingBacklog to ignoreMaxChannelDuration

* typo

* rename test

---------

Co-authored-by: George Knee <georgeknee@googlemail.com>
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.

2 participants