From 5a579fa3e46ad0c44bdead69876491f51852d82a Mon Sep 17 00:00:00 2001 From: Santiago Trujillo Zuluaga Date: Fri, 5 Apr 2024 19:11:07 +0300 Subject: [PATCH] Typos, issue 6940 (#6959) * added commas * added commas --- docs/docs/glossary/json_interface.md | 8 ++++---- docs/docs/guides/smart_contracts/infer_contract_types.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docs/glossary/json_interface.md b/docs/docs/glossary/json_interface.md index 6c5786408e2..fe6384e060d 100644 --- a/docs/docs/glossary/json_interface.md +++ b/docs/docs/glossary/json_interface.md @@ -62,24 +62,24 @@ contract Test { ```json title='Resulting JSON ABI' [ { - "type": "constructor" + "type": "constructor", "stateMutability": "nonpayable", "inputs": [{"internalType":"uint256","name":"testInt","type":"uint256"}], }, { - "type": "event" + "type": "event", "name": "Event", "inputs": [{"indexed":true,"internalType":"uint256","name":"b","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"c","type":"bytes32"}], "anonymous": false, }, { - "type": "event" + "type": "event", "name": "Event2", "inputs": [{"indexed":true,"internalType":"uint256","name":"b","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"c","type":"bytes32"}], "anonymous": false, }, { - "type": "function" + "type": "function", "name": "foo", "stateMutability": "nonpayable", "inputs": [{"internalType":"uint256","name":"b","type":"uint256"},{"internalType":"bytes32","name":"c","type":"bytes32"}], diff --git a/docs/docs/guides/smart_contracts/infer_contract_types.md b/docs/docs/guides/smart_contracts/infer_contract_types.md index 04ee5e49201..3e7d4bfc7f1 100644 --- a/docs/docs/guides/smart_contracts/infer_contract_types.md +++ b/docs/docs/guides/smart_contracts/infer_contract_types.md @@ -92,9 +92,9 @@ To use this script, just create an `artifacts.json` file at the root of your pro ```json title='artifacts.json' [ - '@openzeppelin/contracts/build/contracts/ERC20.json', - '@openzeppelin/contracts/build/contracts/ERC1155.json', - './build/contracts/MyContract.json' + "@openzeppelin/contracts/build/contracts/ERC20.json", + "@openzeppelin/contracts/build/contracts/ERC1155.json", + "./build/contracts/MyContract.json" ] ```