chiru-labs/PBT

TypeError: Data location must be "storage" or "memory" for constructor parameter, but "calldata" was given.

rhcproc opened this issue · 3 comments

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)

Thanks

Thanks for bringing this up. Fixed this and a couple other issues with the readme

Thanks for applying this issue.