Closed ztepler closed 1 year ago
Additional info: I am able to compile contract manually using ligo 0.63.2
with following command:
ligo compile contract contracts/setter.jsligo
To get the following Michelson code:
{ parameter (or (unit %reset) (option %set nat)) ;
storage nat ;
code { CAR ;
IF_LEFT { DROP ; PUSH nat 0 } { IF_NONE { PUSH nat 42 } {} } ;
NIL operation ;
PAIR } }
I was able to compile the contract by setting TAQ_LIGO_IMAGE
environment variable to the ligolang/ligo:0.63.2
:
export TAQ_LIGO_IMAGE="ligolang/ligo:0.63.2"
It works fine and compiles both Option.value and Option.is_none. The problem appears to be related with the LIGO image used in Taqueria v0.28.5-rc by default. I am not sure, should I close this issue then?
Thanks for the additional information. Please leave this open for now and we will close it when we update the image. Thanks!
On Fri, Apr 21, 2023, 7:15 a.m. ztepler @.***> wrote:
I was able to compile the contract by setting TAQ_LIGO_IMAGE environment variable to the ligolang/ligo:0.63.2:
export TAQ_LIGO_IMAGE="ligolang/ligo:0.63.2"
It works fine and compiles both Option.value and Option.is_none. The problem appears to be related with the LIGO image used in Taqueria v0.28.5-rc. I am not sure, should I close this issue then?
โ Reply to this email directly, view it on GitHub https://github.com/ecadlabs/taqueria/issues/1868#issuecomment-1517671022, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC3LC7RFEYXTJEDKIFDFN3XCJT4NANCNFSM6AAAAAAXC4X5SA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Taqueria 0.28.6 now uses ligolang/ligo:0.63.2 will we can close this issue.
๐ฅ Status (Internal Taqueria Team Use Only)
๐ What happened?
Assuming that I have the following contract written in JsLIGO, named
setter.jsligo
in thecontracts
directory:When I try to compile contract by running command
I am getting the following error:
๐ Steps to Reproduce?
1)
2) create file
contracts/setter.jsligo
with following content:3)
๐ชต Relevant log output
No response
๐ How impactful is this bug?
๐ค Notable but managable
โฑ๏ธ Prevalance
reproduces every time I run compile
๐ป Operating System
Linux
๐ธ๏ธ System Architecture
x64
๐ฎ Taqueria Version
v0.28.5-rc
๐ฟ Node.js Version
v16.20.0
โ๏ธ Contact Details
No response
Code of Conduct