Giter Club home page Giter Club logo

Comments (10)

klassare avatar klassare commented on July 28, 2024 1

@roccomuso The ideal gas value should be determined by simulating (preapply or run_operation) the transaction. To simplify it, the Kukai wallet is using the following default values based on 4 common situations.

from kukai.

klassare avatar klassare commented on July 28, 2024

Kukai have been updated for Babylon, but it's a very large update so there could be a few bugs that need to be fixed. I will see if I can reproduce that error.

Are you sending the batch from a tz or KT address?

from kukai.

tezosfaust avatar tezosfaust commented on July 28, 2024

thanks for your reply @klassare

We are sending from a KT address

from kukai.

klassare avatar klassare commented on July 28, 2024

Found a bug in the new Zarith int encoding. Deploying a fix for it now., thanks for opening an issue!

from kukai.

tezoskukaiuser avatar tezoskukaiuser commented on July 28, 2024

Hello I had the same bug as tezosfaust. Looks like you did some update. But now another error shows up in the confirmation window: (also sending from KT address)

Operation failed!
Id not known: proto.005-PsBabyM1.gas_exhausted.operation

Please help.

from kukai.

klassare avatar klassare commented on July 28, 2024

The gas limit and fee need to be set manually right now for batch transactions. We will try to remove this manual need asap. For now, set the gas limit to 15 400 and fee to 0.0017 if you get the gas_exhausted.operation error. If you get the same error again, you can bump up the gas limit to 44 800 and fee to 0.0052.

from kukai.

tezoskukaiuser avatar tezoskukaiuser commented on July 28, 2024

Thanks for your answer. However it doesn't work.

  1. with setting gas limit to 15 400 and fee to 0.0017 - I get the following error:
    Operation failed!
    Id not known: proto.005-PsBabyM1.michelson_v1.bad_contract_parameter

  2. with setting gas limit to 44 800 and fee to 0.0052 - I get the following error:
    Operation failed!
    Id not known: proto.005-PsBabyM1.contract.balance_too_low

from kukai.

klassare avatar klassare commented on July 28, 2024

The wallet have now been updated now to use better default values for batch transactions. The manager address (tz1) will pay the transactions fee when you send batch transactions from a KT address. So, make sure you have enough balance on the tz address to cover the fees.

from kukai.

tezoskukaiuser avatar tezoskukaiuser commented on July 28, 2024

Perfekt. It worked. There is still a max operation size, so I split payments (approx 150) in two different transactions. I really appreciate your help. Thanks a lot!

from kukai.

roccomuso avatar roccomuso commented on July 28, 2024

what's the ideal gas value when sending a normal tx?
Like half the max limit?

from kukai.

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.