tronprotocol / tron-contracts

Solidity smart contracts for the TRON blockchain https://tron.network
MIT License
104 stars 109 forks source link

failed to compile #12

Open gologo13 opened 5 years ago

gologo13 commented 5 years ago

Hi, I tried to compiled sol files, but I got the following error.

$ tronbox compile                                                                                                                                                   
Error parsing /Users/yoheiyamaguchi/dev/tron-contracts/contracts/Migrations.sol: ParsedContract.sol:3:1: 
ParserError: Source file requires different compiler version (current compiler is 0.5.4+commit.7b0de266.mod.Emscripten.clang)
Compilation failed. See above.

Could you please tell me how I can fix it? thanks in advance.

gologo13 commented 5 years ago

I posted a PR #13 to fix this issue