Dear community members,
I have come across an error while defining an interface (just using the standard one interface ERC721TokenReceiver)
this interface is mentioned in this link https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
I was receving below error (Please find the screenshot) Data location must be "calldata" for parameter in external function, but none was given.
the strange part was when I have changed bytes to bytes32 then error had gone. But I m in doubt
1) What was the reason for error
2) should i deviate from std guideline for defining the interface
Br Dev