Skip to content

go/batch-submitter: HTTP/2 fixes#2078

Merged
mslipper merged 2 commits intoethereum-optimism:developfrom
mslipper:fix/go-bss-go-version
Jan 31, 2022
Merged

go/batch-submitter: HTTP/2 fixes#2078
mslipper merged 2 commits intoethereum-optimism:developfrom
mslipper:fix/go-bss-go-version

Conversation

@mslipper
Copy link
Copy Markdown
Contributor

The built-in geth client has a bugger implementation of HTTP/2: ethereum/go-ethereum#24292. Additionally, Go 1.17 has better HTTP/2 support than Go 1.15. This PR updates the BSS to use Go 1.17 in built binaries, and adds a flag to disable HTTP/2 support if necessary.

The built-in geth client has a bugger implementation of HTTP/2: ethereum/go-ethereum#24292. Additionally, Go 1.17 has better HTTP/2 support than Go 1.15. This PR updates the BSS to use Go 1.17 in built binaries, and adds a flag to disable HTTP/2 support if necessary.
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 25, 2022

🦋 Changeset detected

Latest commit: f0c3f93

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

This PR includes changesets to release 1 package
Name Type
@eth-optimism/batch-submitter-service 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

Copy link
Copy Markdown
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 🎉

Copy link
Copy Markdown
Contributor

@tynes tynes left a comment

Choose a reason for hiding this comment

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

Ideally we won't need to run with disabling http2 once the next version of geth is released with that bug fix. Perhaps scope creep, but i don't think its a bad idea to configure the http client with a user agent that includes the version, this could be done simply by changing disableHTTP2 into httpOpts and calling this: https://github.com/ethereum/go-ethereum/blob/015fde9a2c4b6e722a9de5bfea2a14226806a231/rpc/client.go#L267

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 26, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.3%. Comparing base (dc1ed3c) to head (f0c3f93).
⚠️ Report is 24363 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #2078   +/-   ##
=======================================
  Coverage     75.3%   75.3%           
=======================================
  Files           81      81           
  Lines         2705    2705           
  Branches       436     436           
=======================================
  Hits          2039    2039           
  Misses         666     666           
Flag Coverage Δ
batch-submitter 62.6% <ø> (ø)
contracts 90.4% <ø> (ø)
core-utils 59.9% <ø> (ø)
data-transport-layer 38.6% <ø> (ø)
message-relayer 70.8% <ø> (ø)
sdk 86.3% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mslipper mslipper merged commit a6afe97 into ethereum-optimism:develop Jan 31, 2022
tynes added a commit that referenced this pull request Feb 25, 2022
Update to go-ethereum v1.10.16.
Release notes:
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.16

This notably fixes the http2 bug in the rpc client.

#2078 will
be able to be reverted after this is merged in
tynes added a commit that referenced this pull request Feb 25, 2022
Update to go-ethereum v1.10.16.
Release notes:
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.16

This notably fixes the http2 bug in the rpc client.

#2078 will
be able to be reverted after this is merged in
nebojsa94 pushed a commit to Tenderly/optimism that referenced this pull request Apr 26, 2022
Update to go-ethereum v1.10.16.
Release notes:
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.16

This notably fixes the http2 bug in the rpc client.

ethereum-optimism#2078 will
be able to be reverted after this is merged in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ops Area: ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants