From @christianlundkvist in slack
Some observations on playing with EIP712/eth_signedTypedData_v3: If you include large Javascript number (like 10000000000000000) in the data to be signed you will see the data to be signed but MetaMask returns the following message:
MetaMask - RPC Error: Error: MetaMask Message Signature: Error:
Assertion failed at t.<anonymous> ...
{code: -32603, message: "Error: MetaMask Message Signature: Error:
Assertion鈥eogaeaoehlefnkodbefgpgknn/background.js:1:416139"}
(A smaller javascript number will sign with no problem)
I am experiencing this error as well. Please fix it with high priority, it's very problematic.
It seems that wrapping the number in double quotes does the trick.
closing due to inactivity - please feel free to ping if you're still having trouble
Most helpful comment
It seems that wrapping the number in double quotes does the trick.