livepeer / livepeer/go-livepeer

Support alternate gas price oracle implementations

Open
#1,841 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: blockchain need: investigation status: icebox type: feature
Dominant language
Go
Stars
586
Forks
226
Avg merge
1d 17h
Merged PRs (30d)
19

Description

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Currently, the node determines the gas price to use for transactions by asking its ETH JSON-RPC provider for a gas price suggestion using the eth_gasPrice RPC call. The gas price returned by this RPC call may not be a very good estimate of the gas price required to get a transaction in a block since the estimation for this RPC call will depend on the data that the ETH JSON-RPC provider has available. As a result, the node may end up overpaying for transactions by using a gas price that is higher than what is actually required.

Describe the solution you'd like
A clear and concise description of what you want to happen.

A few options to consider for improving on the status quo:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the node's current use of the eth_gasPrice JSON-RPC call. Compare the requested service integrations with the custom oracle option and clarify the configuration and selection behavior before implementation. Done means the node can use an alternate gas price oracle instead of relying only on the provider suggestion.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.