[Remix] How to customize compiler settings? #785
-
Team or ProjectNo response EnvironmentTestnet Select the Dev Tool you are usingIDE Provide the version of the tool (if applicable)Remix Provide a brief description of the functionality you're trying to implement and the issue you are running into.Currently I am using Remix and I want to know how do I extract the solidity version that is used when I actually compile? I can see there is an option to choose the zksolc, but not for normal Solidity? In addition to that, how do I know and configure the settings that was used in my compilation? Example - optimizer settings? Thank you! 🙏 Repo Link (Optional)No response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In Remix, you can customize and view the compiler settings, including the Solidity version and optimizer settings, through the following steps:
For using For more detailed control over compilation settings and to use advanced features of If you need further assistance or more detailed examples, please let me know! Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Hi @wwwMalcolm Currently, there're no UI elements for the compiler settings apart from the zksolc version that you mentioned. However, you can find the compiler settings used by checking the JSON file in the |
Beta Was this translation helpful? Give feedback.
Hi @wwwMalcolm
Currently, there're no UI elements for the compiler settings apart from the zksolc version that you mentioned. However, you can find the compiler settings used by checking the JSON file in the
/build-info
folder. You can searchoptimizer_settings
for the optimizer,solc_version
andsolc_zkvm_edition
for the solidity fork compiler version (more info here) andzk_version
for the zksolc compiler version among other settings.