From 77400d0b0fa4a00919f32ff8dd5bdfc8345f782d Mon Sep 17 00:00:00 2001 From: CedarMist <134699267+CedarMist@users.noreply.github.com> Date: Thu, 23 Nov 2023 13:43:34 +0000 Subject: [PATCH] Fixed minor error in EIP-712 authentication page The types don't have spaces after or before the commas. --- docs/dapp/sapphire/authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dapp/sapphire/authentication.md b/docs/dapp/sapphire/authentication.md index 218a612549..341f1b2b50 100644 --- a/docs/dapp/sapphire/authentication.md +++ b/docs/dapp/sapphire/authentication.md @@ -118,7 +118,7 @@ struct SignatureRSV { contract SignInExample { bytes32 public constant EIP712_DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); - string public constant SIGNIN_TYPE = "SignIn(address user, uint32 time)"; + string public constant SIGNIN_TYPE = "SignIn(address user,uint32 time)"; bytes32 public constant SIGNIN_TYPEHASH = keccak256(bytes(SIGNIN_TYPE)); bytes32 public immutable DOMAIN_SEPARATOR; @@ -206,4 +206,4 @@ const auth = {user, time, rsv}; // Then in the future, authenticated view calls can be performed by // passing auth without further user interaction authenticated data. await contract.authenticatedViewCall(auth, ...args); -``` \ No newline at end of file +```