Skip to content

Commit

Permalink
update types
Browse files Browse the repository at this point in the history
  • Loading branch information
Leouarz committed Apr 10, 2024
1 parent 8cf6871 commit 0808459
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions types.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"types": {
"AppId": "Compact<u32>",
"DataLookupIndexItem": {
"DataLookupItem": {
"appId": "AppId",
"start": "Compact<u32>"
},
"DataLookup": {
"CompactDataLookup": {
"size": "Compact<u32>",
"index": "Vec<DataLookupIndexItem>"
"index": "Vec<DataLookupItem>"
},
"KateCommitment": {
"rows": "Compact<u16>",
Expand All @@ -16,7 +16,7 @@
"dataRoot": "H256"
},
"V3HeaderExtension": {
"appLookup": "DataLookup",
"appLookup": "CompactDataLookup",
"commitment": "KateCommitment"
},
"HeaderExtension": {
Expand Down Expand Up @@ -131,7 +131,7 @@
],
"type": "Vec<(U256, [u8; 48])>"
},
"queryDataProofV2": {
"queryDataProof": {
"description": "Generate the data proof for the given `transaction_index`",
"params": [
{
Expand All @@ -146,21 +146,6 @@
],
"type": "ProofResponse"
},
"queryAppData": {
"description": "Fetches app data rows for the given app",
"params": [
{
"name": "app_id",
"type": "AppId"
},
{
"name": "at",
"type": "Hash",
"isOptional": true
}
],
"type": "Vec<Option<Vec<U256>>>"
},
"queryRows": {
"description": "Query rows based on their indices",
"params": [
Expand Down

0 comments on commit 0808459

Please sign in to comment.