From 63ba97ea0ffc5bac9129fd24b5572ba0baff85c1 Mon Sep 17 00:00:00 2001 From: Luka Jeran Date: Mon, 5 Feb 2024 20:57:58 +0100 Subject: [PATCH] clients/js: Fix typo in README --- clients/js/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js/README.md b/clients/js/README.md index 8693c025..4e5bce17 100644 --- a/clients/js/README.md +++ b/clients/js/README.md @@ -81,7 +81,7 @@ This is useful for methods in contracts that do identity-based access control. F in the browser, you should only make signed calls when necessary. **Fix:** The Sapphire ParaTime compat lib will not sign calls when the `from` address is -`address(0)`. For Web3.js you can pass `{ from: `0x${'0'.repeat(40)}` }` as the final arg +`address(0)`. For Web3.js you can pass `` { from: `0x${'0'.repeat(40)}` } `` as the final arg to `Contract.method().call` ([ref](https://web3js.readthedocs.io/en/v1.2.11/web3-eth-contract.html)). For Ethers.js please read the next section. ### `Contract with a Signer cannot override from (operation="overrides.from", code=UNSUPPORTED_OPERATION, ...)`