Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
0 answers
143 views

Truffle compiles different binary than RemixIde, even with same compiler version and evm version

The code: pragma solidity <0.9.0; contract Callee { address public a; address public b; function test(uint256 i) public returns(uint256){ a=address(this); b=msg....
aj3423's user avatar
  • 251
1 vote
2 answers
3k views

Set specific compiler version in truffle but still get "Source file requires different compiler version" error

I get the "Source file requires different compiler version (current compiler is 0.8.6+commit.11564f7e.Emscripten.clang)" at the first line: pragma solidity ^0.7.0; In truffle-config.js, I ...
greentriangles1's user avatar
0 votes
0 answers
495 views

solc command is generating empty .bin files

Firstly, this is not an inheritance problem like in this post I have the following two files ( ManagedWallet.sol & ManagedWalletLookup.sol ) pragma solidity ^0.4.24; contract ...
Dar K's user avatar
  • 35
1 vote
1 answer
1k views

Truffle Compile on Windows "Could not find a suitable configuration file" [duplicate]

I am trying to do a simple Truffle Compile on window 10 using git bash but i keep getting "Could not find a suitable configuration file" I have tried "Truffle Compile" after running truffle init. I ...
Dino Anastos's user avatar