Another Mac M1 Error/Workaround #1233
-
|
WOrking on FundMe, I of course ran into an issues as the default chinlink imports do not work because they are compiled in 0.6.0 and we know Mac M1 can't compile 0.6.0 so I'm working in 0.8.12. My depenences are now based on version 0.4.0 of the chainlink-brownie-contracts and I found the most recent versions of the ETH / USD converter code:
Is there a current version of SafeMath that works with sol 0.8.12 - if so how do i find it properly - if not please let me know as I will have to alter the code to work around whatever isn't working. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hello @JohnEMagee |
Beta Was this translation helpful? Give feedback.
Hello @JohnEMagee
the reason is because since version 0.8.0 of solidity you don't need
SafeMathat all, so that library is not update for recent solidity version, you can just delete that import and also theusingstatement.