eth.build icon indicating copy to clipboard operation
eth.build copied to clipboard

Change compiler version, version now: 0.6.1+commit.e6f7d5a4.Emscripten.clang

Open Byte1122 opened this issue 4 years ago • 9 comments

Is it possible to change the compiler? Which file can I adjust. Its makes me crazy. The compiler version in the eth.build is :0.6.1+commit.e6f7d5a4.Emscripten.clang

Hope someone could direct me to a solution.

Byte1122 avatar Oct 10 '20 17:10 Byte1122

For now solc runs as a service only in version 0.6.1. It's currently not possible to change the version unfortunately.

ChristophSiegenthaler avatar Oct 11 '20 22:10 ChristophSiegenthaler

See line 65 of https://github.com/austintgriffith/eth.build/blob/master/src/nodes/Web3/Compile.js for further details.

ChristophSiegenthaler avatar Oct 12 '20 07:10 ChristophSiegenthaler

Thanks a lot! I already thought this was the cause. Could I run my own solc api? Maybe I could do that..

Byte1122 avatar Oct 12 '20 22:10 Byte1122

@ChristophSiegenthaler this one: https://github.com/smartcontractkit/solc-api

Byte1122 avatar Oct 12 '20 22:10 Byte1122

@RED29: That would be awesome, directly using the API endpoint at https://solc.smartcontract.com/

ChristophSiegenthaler avatar Oct 16 '20 13:10 ChristophSiegenthaler

@RED29 : Just saw that the endpoint seems to be down and that the repo seems to be outdated by about 3 years. Do you know of an alternative endpoint?

ChristophSiegenthaler avatar Oct 16 '20 13:10 ChristophSiegenthaler

Maybe it would be possible with something like the browser version js path described here: https://www.npmjs.com/package/solc

ChristophSiegenthaler avatar Oct 16 '20 13:10 ChristophSiegenthaler

Or with this: https://github.com/crytic/solc-select

ChristophSiegenthaler avatar Dec 09 '20 11:12 ChristophSiegenthaler

Hi @RED29 Is this still an issue?

grahamtallen avatar Aug 23 '21 08:08 grahamtallen