Giter VIP home page Giter VIP logo

Comments (3)

wjmelements avatar wjmelements commented on June 17, 2024

I have submitted two permissible solutions for this issue.

Which merges should depend upon what the maintainers consider to be correct behavior, and how much they care about standardization.

from go-ethereum.

karalabe avatar karalabe commented on June 17, 2024

https://ethereum.github.io/execution-apis/api-documentation/

Screenshot 2024-05-08 at 10 20 22

from go-ethereum.

karalabe avatar karalabe commented on June 17, 2024

Neither PR is really a viable one.

  • remove ErrorRatio: this undoes the optimization that's useful for everyone but you.
  • add necessaryGas: this pollutes the namespace for a method that's not needed by anyone, but you.

Whilst I get your pain, we need a solution that's more flexible that both these extremes. My suggestion towards that would be adding an optional parameter to eth_estimateGas to control the error rate. I don't think any client would be against it, since it is an easy optimization for all to support error rates. The only catch is that we already have the block number as an optional parameter, meaning that anyone specifying the error rate will also need to explicitly specify the block to estimate on top (but latest does work). IMO that would support power users without polluting the namespaces as well as without undoing an optimization everyone - but you - cares about.

from go-ethereum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.