Open leroldary opened 5 years ago
@leroldary The root cause is that we use float type to handle JSON number value, we will fix it in later releasees , current workaround is use uint256
type or smaller value, in this case 445711732
causes precision loose
Using EIP-712 (eth_signTypedData_v3) with the provided example data an invalid signature is produced. Ios version of trust wallet had the same problem (https://github.com/TrustWallet/trust-wallet-ios/issues/967, now fixed). Example: https://dicether.github.io/js-eth-personal-sign-examples/ ("Sign Typed Data V3")
Example Data:
The expected hash is:
0xd7452bcc4deef52ad1a3f658f4100fa870fcb849b2f8c7738c23bd8e736e6c7b