You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I opened a ticket first on teh Taqueria project but finally the bug is on Taquito side : TezosTaqueria/taqueria#1935
The problem is coming from a representation of a Variant containing some data on it.
Instead of being on field 0 and 1 of the object structure, it comes into fields 3 and 4
Here is the debugging of the code when the .storage() function is called
from this code
Here si the network call to the Tezos node that is OK
(don't forget to add 1 tez on the transaction options)
It will pas the status of the smart contract to "RECOVERING" and you will be able to call the .storage() function of taquito to figure out the fields are not the 0 and 1 as expected
Very weird error, confirmed by Taqueria team
The text was updated successfully, but these errors were encountered:
@zamrokk There is a draft PR: #2929 to fix this.
Because this is also a breaking change in many simpler cases, we're working to decide on a path forward
I opened a ticket first on teh Taqueria project but finally the bug is on Taquito side : TezosTaqueria/taqueria#1935
The problem is coming from a representation of a Variant containing some data on it.
Instead of being on field
0
and1
of the object structure, it comes into fields3
and4
Here is the debugging of the code when the .storage() function is called
from this code
Here si the network call to the Tezos node that is OK
curl 'https://ghostnet.tezos.marigold.dev/chains/main/blocks/head/context/contracts/KT19KRnFvz9G9EU4R8Yc29tUrTyprHaTrJH4' --compressed -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0' -H 'Accept: */*' -H 'Accept-Language: en-GB,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Referer: http://localhost:5173/' -H 'Content-Type: application/json' -H 'Origin: http://localhost:5173/' -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: cross-site' -H 'TE: trailers'
Generated Taqueria classes are ok too
To reproduce, you can deploy this contract on ghostnet, then you can call like here this entrypoint : https://better-call.dev/ghostnet/KT1MLSN9WuVMan7vmsTGt3tEEmNEqSbDB1Lx/interact/start_recover
(don't forget to add 1 tez on the transaction options)
It will pas the status of the smart contract to "RECOVERING" and you will be able to call the .storage() function of taquito to figure out the fields are not the 0 and 1 as expected
Very weird error, confirmed by Taqueria team
The text was updated successfully, but these errors were encountered: