Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Nov 26, 2024
1 parent d4460d6 commit c164368
Show file tree
Hide file tree
Showing 11 changed files with 589 additions and 603 deletions.
210 changes: 105 additions & 105 deletions substrate/frame/revive/rpc/examples/js/abi/errorTester.json
Original file line number Diff line number Diff line change
@@ -1,106 +1,106 @@
[
{
"inputs": [
{
"internalType": "string",
"name": "message",
"type": "string"
}
],
"name": "CustomError",
"type": "error"
},
{
"inputs": [
{
"internalType": "bool",
"name": "newState",
"type": "bool"
}
],
"name": "setState",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "state",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "triggerAssertError",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerCustomError",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerDivisionByZero",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerOutOfBoundsError",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerRequireError",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerRevertError",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "valueMatch",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
]
{
"inputs": [
{
"internalType": "string",
"name": "message",
"type": "string"
}
],
"name": "CustomError",
"type": "error"
},
{
"inputs": [
{
"internalType": "bool",
"name": "newState",
"type": "bool"
}
],
"name": "setState",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "state",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "triggerAssertError",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerCustomError",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerDivisionByZero",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerOutOfBoundsError",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerRequireError",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "triggerRevertError",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "valueMatch",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
]
Loading

0 comments on commit c164368

Please sign in to comment.