Skip to content

Commit

Permalink
Updated benchmark program IDL
Browse files Browse the repository at this point in the history
  • Loading branch information
pindaroso committed Oct 10, 2024
1 parent 6d8048f commit 6cc284e
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions packages/app/src/idl/benchmark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"version": "0.1.0",
"name": "benchmark",
"instructions": [
{
"name": "create",
"accounts": [
{
"name": "signer",
"isMut": true,
"isSigner": true
},
{
"name": "counter",
"isMut": true,
"isSigner": false
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false
}
],
"args": []
},
{
"name": "increment",
"accounts": [
{
"name": "signer",
"isMut": true,
"isSigner": true
},
{
"name": "counter",
"isMut": true,
"isSigner": false
}
],
"args": []
},
{
"name": "delete",
"accounts": [
{
"name": "signer",
"isMut": true,
"isSigner": true
},
{
"name": "counter",
"isMut": true,
"isSigner": false
}
],
"args": []
}
],
"accounts": [
{
"name": "CounterAccount",
"type": {
"kind": "struct",
"fields": [
{
"name": "owner",
"type": "publicKey"
},
{
"name": "counter",
"type": "u64"
}
]
}
}
],
"errors": [
{
"code": 6000,
"name": "Unauthorized",
"msg": "No authority to perform this action"
}
],
"metadata": {
"address": "4q7nhB5v2pFcKkJfaPX5CTWB8XqNAeW8A2eGjDo2QnqS"
}
}

0 comments on commit 6cc284e

Please sign in to comment.