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 got the error of compiling that it told me I have duplicate macro function, when I am writing the huffs with using huffmate, I think the reason is ERC721 included two files that are CommonErros.huff and nonpayable.huff, they all imported the same file that is Errors.huff. My #include visions are following:
I believe that this is linked to the change in huffc which raises an error when there are duplicate macros in a compiled file (including imports), while in the past it was possible to do this (it was taking one of the two, probably the first one chonologically). This is what makes tests fail btw (#138). If I have some spare time in the coming days, I will try to fix this because it's ruining the experience with this repo.
I got the error of compiling that it told me I have duplicate macro function, when I am writing the huffs with using huffmate, I think the reason is ERC721 included two files that are CommonErros.huff and nonpayable.huff, they all imported the same file that is Errors.huff. My #include visions are following:
or
above situations can cause the errors that including of duplicate to happen.
The text was updated successfully, but these errors were encountered: