Submitted by Migue
MetadataRenderer.sol#L194
It is not possible to mint a ERC721 token if its properties has different length than its items.
I run the following test to reproduce the error:
Log from Foundry console:
Foundry
Manual
It could be mitigated checking length of both arrays in MetadataRenderer.addProperties() method.
It could be done after those lines: MetadataRenderer.sol#L111-L115.
Also I recommend to move those declaration and new validation at the beginning to save gas.
iainnash (Nouns Builder) confirmed
Alex the Entreprenerd (judge) commented:
