New answers tagged

0 votes

Accidentally removed "/usr/bin/solc" after installation, now no command work

/usr/bin/solc is a normal UNIX binary in a normal path. You installed solc somehow and you can get this binary again by simply reinstalling.
Mikko Ohtamaa's user avatar
0 votes

Brownie <> SolcInstallationError, I've tried everything I can find -- nothing has worked!

I had the same issue, and i solved it by downloading visual studio 2017 build tools + running install_deps.bat https://docs.soliditylang.org/en/v0.5.10/installing-solidity.html#building-from-source ...
Sebas's user avatar
  • 1
0 votes

Importing files from an "outside" folder

It is clearer in the post v0.5 documentation where it says: things like import "/etc/passwd"; only work if you add /=/ as a remapping This solves the access problem because the side effect of ...
jluu's user avatar
  • 111
0 votes
Accepted

Getting different binary for the same Solidity source code compiling with solc and Remix

It's just the metadata part of the bytecode that is different. Contracts compiled with solidity all have a metadata part at the end of the bytecode: https://docs.soliditylang.org/en/latest/metadata....
0xSanson's user avatar
  • 3,154
0 votes

Error: missing revert data when deploying Solidity contract with ethers.js and Ganache

This problem took like 1;30 hrs of mine. The problem is in the compilation of the code, try to compile the code again like in remix we used to when we made even a single change in the code. Try this: ...
CurlyHairedGuy08's user avatar

Top 50 recent answers are included