Closed zamrokk closed 2 years ago
"@taquito/beacon-wallet@^12.1.0": version "12.1.0"
"@airgap/beacon-dapp@^3.0.0": version "3.0.0"
Expected Michelson
hum... maybe it just work, it could be the error coming from smart contract XD
found it. Coming from Smart contract error, all the rest was passing well. Fixed :)
Description I am trying to call a specific endpoint from a rollup contract and it fails with "invalid handle data"
The entry point is here : "withdraw" https://ithacanet.tzkt.io/KT1Khg4z7dW2hN1k7Uw7cQ7epdcESK3Ez5cg/entrypoints
Michelson def :
(pair %withdraw (pair (contract %callback (ticket (bytes %data))) (pair %handle (pair (pair (nat %amount) (bytes %data)) (pair (nat %id) (address %owner))) (address %ticketer))) (pair (bytes %handles_hash) (list %proof (pair bytes bytes))))
Steps To Reproduce Steps to reproduce the behavior:
from this javascript object type I have defined
Expected behavior
Transaction should be accepted
Question Is there an issue with the Michelson "contract" type with taquito to do callback ? Is really the error around the "handle" field like the error says ?