ethers-eip712 icon indicating copy to clipboard operation
ethers-eip712 copied to clipboard

can't sign with string message.

Open soring323 opened this issue 4 years ago • 0 comments

Sign object. EndorsementSign: [ { name: "signer", type: "address" }, { name: "modelId", type: "uint256" }, { name: "message", type: "string" },

Solidity Struct struct EndorsementSign { address signer; uint256 modelId; string message; }

this is my structure. if I remove last message(string), sign is working well, but if I add last item, can't recover correct signer value in solidity smart contract.

soring323 avatar Mar 28 '22 20:03 soring323