diff --git a/__tests__/rpcProvider.test.ts b/__tests__/rpcProvider.test.ts index 97ed86e61..af039910a 100644 --- a/__tests__/rpcProvider.test.ts +++ b/__tests__/rpcProvider.test.ts @@ -494,9 +494,7 @@ describeIfNotDevnet('waitForBlock', () => { }); }); -describeIfDevnet('EIP712 verification', () => { - // currently only in Devnet-rs, because can fail in Sepolia. - // to test in all cases once PR#989 implemented. +describe('EIP712 verification', () => { const rpcProvider = getTestProvider(false); const account = getTestAccount(rpcProvider); diff --git a/www/docs/guides/signature.md b/www/docs/guides/signature.md index a0d6ba1e9..5cce38965 100644 --- a/www/docs/guides/signature.md +++ b/www/docs/guides/signature.md @@ -51,7 +51,7 @@ const msgHash1 = hash.computeHashOnElements(message); const isValid1 = typedData.verifyMessage(msgHash1, signature, fullPublicKey); console.log('Result (boolean) =', isValid1); -// with a low level function (take care to Types limitations) : +// with a low level function (take care of Types limitations) : const isValid2 = ec.starkCurve.verify(signature1, msgHash, fullPublicKey); ``` @@ -167,7 +167,7 @@ A verification is also possible if you have the message hash, the signature and ```typescript const isValid2 = typedData.verifyMessage(msgHash, signature, fullPublicKey); -// with a low level function (take care to Types limitations) : +// with a low level function (take care of Types limitations) : const isValid3 = ec.starkCurve.verify(signature, msgHash, fullPublicKey); ```