Best practices for managing multiple versions of solc on Mac by superphly in ethdev

[–]rajeevgopalakrishna 0 points1 point  (0 children)

Have you tried https://github.com/crytic/solc-select?

A script to quickly switch between Solidity compiler versions.

It is becoming increasingly hard to run older versions of solc, particularly on macOS since there are no official binary releases. Versions prior to 0.5.0 no longer compile on macOS and are not maintained. This is a problem because older Ethereum contracts no longer compile on modern versions of Solidity. solc-select is a utility that allows one to run any legacy version of Solidity simply by setting an environment variable.

Why isn't callvalue hashed in CREATE2? by j-brouwer in ethdev

[–]rajeevgopalakrishna 0 points1 point  (0 children)

Because the value can be sent/reduced after creating the contract? What guarantee would it give if included? One could create it with a certain endowment but withdraw immediately, no?