[Compilers] About era-solidity and era-compiler-solidity #299
-
Which compiler are you using?
Which version of Solidity or Vyper?0.8 zksolc/zkvyper version?1.0 Explain the issueare era-solidity and era-compiler-solidity two different compilers, they both output EraVM bytecode
or
era-solidity just a tuned compiler to output Yul as an input of zksolc? Link to your repo?No response |
Beta Was this translation helpful? Give feedback.
Answered by
uF4No
Feb 1, 2024
Replies: 5 comments
-
Yes they're different.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
smartir-bot
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes they're different.
era-solidity-compiler
: is the defaultzksolc
compiler to be used by majority of projects. It generates the bytecode compatible with zkSync ZKEVM.era-solidity
: a customised version of the solidity compiler to address some of the limitations identified when compiling projects with justzksolc
. For example if your project uses Solidity 0.7.x and recursion (one of the limitations) you'd need to use both.