I am not aware of the Assembly code. I copied the ERC1820 registry contract from here. This is written in 0.5.3. When I tried to compile it with 0.8.0 it gave me this error :

enter image description here

I know it's because of the version change, but I am not sure what exactly do I need to change to compile it with 0.8.0.

1 Answer 1


Nothing wrong with the registry contract, just compiled it with ^0.8.0 successfully. Try copying it again, you might have missed something in the syntax.

  • Yup you are right, I removed some part while removing the comments.
    – Serenity
    Oct 30, 2023 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.