TypeError: Data location must be "storage" or "memory" for constructor parameter, but "calldata" was given.
rhcproc opened this issue · 3 comments
rhcproc commented
The simple mint example provided in README.md causes the following error in Remix.
TypeError: Data location must be "storage" or "memory" for the constructor parameter, but "calldata" was given.
The parameters of the constructor provided in the example should be changed as follows.
- constructor(address[] memory chipAddresses, uint256[] memory tokenIds)
2pmflow commented
Thanks
cygaar commented
Thanks for bringing this up. Fixed this and a couple other issues with the readme
rhcproc commented
Thanks for applying this issue.