New answers tagged

0

Below calculations are valid as of 09 December 2019 on Ethereum mainnet. My guess is that most of the confusion comes from the fact that constant of 2300 is used both by Solidity compiler and EVM itself. Here is what I've found so far (assuming that target account is an already created, and not self destructed, contract). EVM: During the CALL(gas, ..., ...


0

Chain hammer uses a geth and solc as dependencies on Debian. You can use borrow parts of the installation script to help you. Install Go: https://github.com/drandreaskrueger/chainhammer/blob/master/scripts/install-go.sh Install Geth : https://github.com/drandreaskrueger/chainhammer/blob/master/scripts/install-geth.sh Install Solc: https://github.com/...


0

To Install specific version of solidity, use : npm install -g solc@0.4 This will install solidity compiler 0.4.26 (latest on that version), globally. or npm install -g solc@0.5 Then $ solcjs --version > 0.4.26+commit.4563c3fc.Emscripten.clang


0

For creating a flat file I like truffle-flattener. Just npm install truffle-flattener Run locally node node-modules/.bin/truffle-flattener ./contracts/your_contract.sol > contract_flat.sol


Top 50 recent answers are included