Giter Site home page Giter Site logo

Comments (4)

dansimpson avatar dansimpson commented on May 22, 2024 1

@akegaviar the intrinsic gas limit calculator works when there isn't a constructor, and can work when their is, but the constructor may have significant gas fees if writing variables etc. I opened another PR #128 which allows you to override the gas limit when calling the deploy functions. Calculating the gas limit of the constructor is doable looking at the opcodes, but that requires additional metadata etc, so I will add this override to the other contract calls as well.

See: https://github.com/djrtwo/evm-opcode-gas-costs/blob/master/opcode-gas-costs_EIP-150_revision-1e18248_2017-04-12.csv

from eth.rb.

q9f avatar q9f commented on May 22, 2024 1

Please let me know if this issue persists with the latest release 0.5.6!

from eth.rb.

q9f avatar q9f commented on May 22, 2024

Yes, this should be fixed by #111 but I want to do some testing first before I release this.

from eth.rb.

akegaviar avatar akegaviar commented on May 22, 2024

Okay, thank you.

Looking forward to the release. I created a quick tutorial on how to use eth.rb to publish at https://chainstack.com/blog , it's only pending the fix and then we'll publish it.

Thanks again!

from eth.rb.

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.