You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
In the example contract ERC20.sol replace the first line with pragma solidity >0.4.18;.
Expected
Warp successfully generates an ERC20.cairo file.
Actual
There is no ERC20.cairo file and no indication of failure or reasons for failure
I think the issue is that get_source_version in Compile.py simply grabs the first version boundary without considering that it might be an exclusive boundary as in the example above. Thus, compiling the contract with this version fails (for some reason, silently)
The text was updated successfully, but these errors were encountered:
How to reproduce:
In the example contract
ERC20.sol
replace the first line withpragma solidity >0.4.18;
.Expected
Warp successfully generates an
ERC20.cairo
file.Actual
There is no
ERC20.cairo
file and no indication of failure or reasons for failureI think the issue is that
get_source_version
inCompile.py
simply grabs the first version boundary without considering that it might be an exclusive boundary as in the example above. Thus, compiling the contract with this version fails (for some reason, silently)The text was updated successfully, but these errors were encountered: