Skip to content

Commit

Permalink
Typos, issue 6940 (#6959)
Browse files Browse the repository at this point in the history
* added commas

* added commas
  • Loading branch information
Santiago Trujillo Zuluaga authored Apr 5, 2024
1 parent 67d8a74 commit 5a579fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/docs/glossary/json_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}],
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/guides/smart_contracts/infer_contract_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
```

Expand Down

1 comment on commit 5a579fa

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 5a579fa Previous: 6c075db Ratio
processingTx 9051 ops/sec (±4.07%) 9301 ops/sec (±4.81%) 1.03
processingContractDeploy 38213 ops/sec (±6.88%) 39129 ops/sec (±7.62%) 1.02
processingContractMethodSend 18953 ops/sec (±7.03%) 19443 ops/sec (±5.19%) 1.03
processingContractMethodCall 36675 ops/sec (±5.97%) 38971 ops/sec (±6.34%) 1.06
abiEncode 41923 ops/sec (±6.91%) 44252 ops/sec (±6.92%) 1.06
abiDecode 29899 ops/sec (±7.74%) 30419 ops/sec (±8.89%) 1.02
sign 1608 ops/sec (±0.91%) 1656 ops/sec (±4.08%) 1.03
verify 371 ops/sec (±0.87%) 373 ops/sec (±0.78%) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.