Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction to multiple destinations #27

Closed
tezosfaust opened this issue Oct 18, 2019 · 10 comments
Closed

Transaction to multiple destinations #27

tezosfaust opened this issue Oct 18, 2019 · 10 comments
Assignees

Comments

@tezosfaust
Copy link

Hello!

I tried to make a transaction to multiple destinations and got the following error: "Operation failed! Id not known: ValidationError"

Is there a way to fix this problem? If so, please tell me how.

Or is it because of the new Babylon protocoll? If so, will Kukai be updated?

@klassare
Copy link
Contributor

klassare commented Oct 18, 2019

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?

@tezosfaust
Copy link
Author

thanks for your reply @klassare

We are sending from a KT address

@klassare
Copy link
Contributor

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

@tezoskukaiuser
Copy link

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.

@klassare
Copy link
Contributor

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.

@klassare klassare self-assigned this Oct 19, 2019
@tezoskukaiuser
Copy link

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

@klassare
Copy link
Contributor

klassare commented Oct 20, 2019

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.

@tezoskukaiuser
Copy link

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!

@roccomuso
Copy link

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

@klassare
Copy link
Contributor

klassare commented Nov 7, 2019

@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.

klassare pushed a commit that referenced this issue Sep 16, 2021
* feat: token-balance pricing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants