trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.03k stars 2.31k forks source link

Ligo compiler not working for Truffle-Tezos (Windows 10) #4472

Open nikiblume opened 2 years ago

nikiblume commented 2 years ago

Issue

I'm currently working on a project using zk-SNARKS on Tezos. However, I'm stuck trying to get the "getting started tutorial" for truffle-tezos to work on my windows 10 PC. I can't get the compiler to work. It seems windows can't find it. I tried literally everything to fix it, but it won't work (environment variables, using WSL2, manual docker start). It's really frustrating. Whenever executing "truffle compile" the compiler throws the error "Error executing ligo" (no additional error-messages). Looking into docker-desktop, whenever executing "truffle compile", the ligo-container gets started for a second and then exits immediately. Writing "ligo --version" on the console doesn't work either, command is not known.

To let you know, Truffle-Etherium works perfectly on my Windows 10 PC.

Steps to Reproduce

Follow the getting started tutorial (https://www.trufflesuite.com/docs/tezos/truffle/quickstart) on Windows 10. Whenever comming to executing "truffle compile" the compiler throws the error "Error executing ligo". I've also tried to implement the tutorial on WSL2, but the same error appeared.

Expected Behavior

The compiler to work. Or at least showing version of Ligo when typing "ligo --version" I've also followed this guide, which actually considers this error (https://forklog.com/sp/dev-on-tezos/en/environment-setup/).

Actual Results

"Error executing ligo"

Environment

fainashalts commented 2 years ago

Hi @niki-blu, thanks for this issue! We're aware that Truffle support for Ligo has fallen into disrepair, apologies for that. We'll put this issue in our backlog and try to attend to it as soon as we can!

BearCooder commented 1 year ago

Hello @haltman-at & @fainashalts can you please make a statement as to why Tezos support is not a priority anymore? To be honest it leaves a bad taste after the big announcement od Tezos support in Truffle (Twitter and Blogpost) over two years ago. The funny thing is the support didnt last long, less than a year later Truffle started to ghost all issues and update requests on github or stated to do it later.. why the sudden change back then?

At least make either make it official and announce that you are not supporting Tezos anymore or at least update Tezos Truffle to current protocol standard. I dont know maybe its a failure on the communication side, maybe Truffle @tcoulter and Tezos Foundation @drchrispinnock need to talk but the current state is unfortunate.

gnidan commented 1 year ago

Hi @BearCooder, unfortunately we had to drop our Tezos support because of architectural constraints that confine Truffle to the EVM for the foreseeable future.

Although we were quite optimistic at the time about our ability to support the Tezos ecosystem, in practice it turned out to be infeasible and we had to abandon these efforts. I'd love for the situation to be different, as I believe that the Tezos community helps push our ecosystem forward in many ways, but legacy code gets in the way :/

Perhaps this will change over time, as we seek to expand support for different blockchain architectures... but this is sadly not a short-term vision.

Thank you for voicing this feedback.