Closed codev911 closed 1 year ago
@YamenMerhi i have try at latest compiler 0.8.17 at remix and got the error of override, and test it at hardhat
@codev911 Can you try to clone the repo and try to compile it?
@codev911 thanks for pointing this out. That's a good thing to have flagged. I will merge your PR so that the contracts can be compiled with solc version older than 0.8.8.
Regarding this
@YamenMerhi i have try at latest compiler 0.8.17 at remix and got the error of override, and test it at hardhat
I have tried compiling with 0.8.17 earlier and it compiled successfully on my side.
Hey @codev911 Thanks for the PR! The error you are encountering are because of the compiler version you are using. Since solidity version
0.8.8
a contract inheriting a function defined in a single inherited interface won't need theoverride
keyword. It's the case forexecute
andsetData
. Check here first point.I suggest you use a compiler version starting or higher than
0.8.8
so the code can compile successfully. We might want to switch our pragma to start from0.8.8
but that's an internal discussion we will have soon.