Skip to content

[Compilers] Can't compile contract #101

Closed Answered by uF4No
Zohar97 asked this question in Compilers
Discussion options

You must be logged in to vote

hey @Zohar97

I've managed to get a more specific compiler error by using Solidity 0.8.20. Here is the output:

$ /home/hedgar/src/contracts/FactoryElastic/node_modules/.bin/hardhat compile
Compiling contracts for zkSync Era with zksolc v1.3.13 and solc v0.8.20
Downloading solc 0.8.20
Compiling 1 Solidity file
An unexpected error occurred:

Error: Command failed: /home/hedgar/.cache/hardhat-nodejs/compilers-v2/zksolc/zksolc-v1.3.13 --standard-json    --solc /home/hedgar/.cache/hardhat-nodejs/compilers-v2/linux-amd64/solc-linux-amd64-v0.8.20+commit.a1b79de6
Contract `contracts/Factory.sol:Factory` compiling error: The contract `contracts/Factory.sol:Factory` LLVM IR generator definition pass…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Zohar97
Comment options

Answer selected by MexicanAce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Question for compiling
2 participants