Skip to content

Conversation

ad-astra-video
Copy link
Collaborator

What does this pull request do? Explain your changes. (required)

Adds a test to show minimum Gateway reserve when gas spikes happen.

go-livepeer uses avgGasPrice and redeemGasL2 to calculate tx cost when gas spikes happen. The result is 0.36 ETH (3 gwei * 1,200,00 * 100) will enable Gateways to not have down time when gas spikes happen.

Specific updates (required)

  • Added a test to show 0.36 ETH will not fail to produce tickets.

How did you test each of these updates (required)

Does this pull request close any open issues?

Checklist:

@github-actions github-actions bot added the go Pull requests that update Go code label Sep 23, 2025
Copy link

codecov bot commented Sep 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.93392%. Comparing base (d8e520a) to head (fa04954).

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##              master       #3748         +/-   ##
===================================================
- Coverage   31.94444%   31.93392%   -0.01052%     
===================================================
  Files            158         158                 
  Lines          47520       47520                 
===================================================
- Hits           15180       15175          -5     
- Misses         31437       31441          +4     
- Partials         903         904          +1     

see 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8e520a...fa04954. Read the comment docs.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant