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
I am looking at flintc ir output in Remix. There are a couple of Solidity compilation errors that come up every time as a result of some flintc boilerplate output.
(i) The first line of every solidity program begins pragma solidity <compiler version>;
The current operational compiler version is 0.5.2 but flintc outputs 0.4.21
(ii) The flintc code makes a call to a function sha3 which existed in version 0.4.21 but now is not recognised. I believe that it could be replaced by a function keccak256.
(iii) The fallback function needs to be declared as external and not public.
The text was updated successfully, but these errors were encountered:
I am looking at flintc ir output in Remix. There are a couple of Solidity compilation errors that come up every time as a result of some flintc boilerplate output.
(i) The first line of every solidity program begins
pragma solidity <compiler version>;
The current operational compiler version is 0.5.2 but flintc outputs 0.4.21
(ii) The flintc code makes a call to a function
sha3
which existed in version 0.4.21 but now is not recognised. I believe that it could be replaced by a functionkeccak256
.(iii) The fallback function needs to be declared as
external
and notpublic
.The text was updated successfully, but these errors were encountered: