Skip to content

Commit

Permalink
Fixes global caps across all sdks and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed Feb 26, 2024
1 parent 60b24e7 commit 7b7bc57
Show file tree
Hide file tree
Showing 48 changed files with 1,010 additions and 319 deletions.
598 changes: 579 additions & 19 deletions docs/content/api/openapi.yaml

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions sdk/python/src/_abis.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
"find": {"hotkey": "-f", "type": "flag"},
"hint": {"hotkey": "-n", "type": "flag"},
"encode": {"hotkey": "-e", "type": "flag"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def abis(self):
Expand Down
9 changes: 6 additions & 3 deletions sdk/python/src/_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@
"articulate": {"hotkey": "-a", "type": "switch"},
"bigRange": {"hotkey": "-r", "type": "flag"},
"count": {"hotkey": "-U", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"ether": {"hotkey": "-H", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def blocks(self):
Expand Down
5 changes: 3 additions & 2 deletions sdk/python/src/_chunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
"rewrite": {"hotkey": "-e", "type": "switch"},
"count": {"hotkey": "-U", "type": "switch"},
"sleep": {"hotkey": "-s", "type": "flag"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def chunks(self):
Expand Down
5 changes: 3 additions & 2 deletions sdk/python/src/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
configFmt = "json"
configOpts = {
"paths": {"hotkey": "-a", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def config(self):
Expand Down
8 changes: 5 additions & 3 deletions sdk/python/src/_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@
"noZero": {"hotkey": "-z", "type": "switch"},
"firstBlock": {"hotkey": "-F", "type": "flag"},
"lastBlock": {"hotkey": "-L", "type": "flag"},
"ether": {"hotkey": "-H", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"ether": {"hotkey": "-H", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def export(self):
Expand Down
3 changes: 1 addition & 2 deletions sdk/python/src/_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
"dryRun": {"hotkey": "-d", "type": "switch"},
"firstBlock": {"hotkey": "-F", "type": "flag"},
"sleep": {"hotkey": "-s", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def init(self):
Expand Down
5 changes: 3 additions & 2 deletions sdk/python/src/_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
"reversed": {"hotkey": "-E", "type": "switch"},
"firstBlock": {"hotkey": "-F", "type": "flag"},
"lastBlock": {"hotkey": "-L", "type": "flag"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def list(self):
Expand Down
8 changes: 5 additions & 3 deletions sdk/python/src/_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
"emitter": {"hotkey": "-m", "type": "flag"},
"topic": {"hotkey": "-B", "type": "flag"},
"articulate": {"hotkey": "-a", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def logs(self):
Expand Down
7 changes: 5 additions & 2 deletions sdk/python/src/_monitors.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
"commands": {"hotkey": "-c", "type": "flag"},
"batchSize": {"hotkey": "-b", "type": "flag"},
"sleep": {"hotkey": "-s", "type": "flag"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def monitors(self):
Expand Down
5 changes: 3 additions & 2 deletions sdk/python/src/_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
"delete": {"hotkey": "", "type": "switch"},
"undelete": {"hotkey": "", "type": "switch"},
"remove": {"hotkey": "", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def names(self):
Expand Down
8 changes: 5 additions & 3 deletions sdk/python/src/_receipts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
receiptsFmt = "json"
receiptsOpts = {
"articulate": {"hotkey": "-a", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def receipts(self):
Expand Down
3 changes: 1 addition & 2 deletions sdk/python/src/_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
"blockCnt": {"hotkey": "-n", "type": "flag"},
"sleep": {"hotkey": "-s", "type": "flag"},
"touch": {"hotkey": "-l", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def scrape(self):
Expand Down
9 changes: 6 additions & 3 deletions sdk/python/src/_slurp.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@
"source": {"hotkey": "-S", "type": "flag"},
"count": {"hotkey": "-U", "type": "switch"},
"sleep": {"hotkey": "-s", "type": "flag"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"ether": {"hotkey": "-H", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def slurp(self):
Expand Down
8 changes: 5 additions & 3 deletions sdk/python/src/_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
"call": {"hotkey": "-l", "type": "flag"},
"articulate": {"hotkey": "-a", "type": "switch"},
"proxyFor": {"hotkey": "-r", "type": "flag"},
"ether": {"hotkey": "-H", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"ether": {"hotkey": "-H", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def state(self):
Expand Down
5 changes: 3 additions & 2 deletions sdk/python/src/_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
"firstRecord": {"hotkey": "-c", "type": "flag"},
"maxRecords": {"hotkey": "-e", "type": "flag"},
"chains": {"hotkey": "-a", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def status(self):
Expand Down
6 changes: 4 additions & 2 deletions sdk/python/src/_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
"byAcct": {"hotkey": "-b", "type": "switch"},
"changes": {"hotkey": "-c", "type": "switch"},
"noZero": {"hotkey": "-z", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def tokens(self):
Expand Down
9 changes: 6 additions & 3 deletions sdk/python/src/_traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
"articulate": {"hotkey": "-a", "type": "switch"},
"filter": {"hotkey": "-f", "type": "flag"},
"count": {"hotkey": "-U", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"ether": {"hotkey": "-H", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def traces(self):
Expand Down
8 changes: 5 additions & 3 deletions sdk/python/src/_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
"logs": {"hotkey": "-l", "type": "switch"},
"emitter": {"hotkey": "-m", "type": "flag"},
"topic": {"hotkey": "-B", "type": "flag"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"ether": {"hotkey": "-H", "type": "switch"},
"raw": {"hotkey": "-w", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def transactions(self):
Expand Down
6 changes: 4 additions & 2 deletions sdk/python/src/_when.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
"check": {"hotkey": "-c", "type": "switch"},
"update": {"hotkey": "-u", "type": "switch"},
"deep": {"hotkey": "-d", "type": "switch"},
"fmt": {"hotkey": "txt", "type": "flag"},
"chain": {"hotkey": "-", "type": "flag"},
"noHeader": {"hotkey": "-", "type": "switch"},
"cache": {"hotkey": "-o", "type": "switch"},
"decache": {"hotkey": "-D", "type": "switch"},
"fmt": {"hotkey": "-x", "type": "flag"},
"verbose:": {"hotkey": "-v", "type": "switch"},
"help": {"hotkey": "-h", "type": "switch"},
}

def when(self):
Expand Down
5 changes: 1 addition & 4 deletions sdk/typescript/src/paths/abis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ export function getAbis(
find?: string[],
hint?: string[],
encode?: string,
fmt?: string,
chain: string,
noHeader?: boolean,
fmt?: string,
verbose?: boolean,
ether?: boolean,
raw?: boolean,
cache?: boolean,
decache?: boolean,
},
Expand Down
7 changes: 3 additions & 4 deletions sdk/typescript/src/paths/blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ export function getBlocks(
articulate?: boolean,
bigRange?: uint64,
count?: boolean,
fmt?: string,
chain: string,
noHeader?: boolean,
fmt?: string,
verbose?: boolean,
ether?: boolean,
raw?: boolean,
cache?: boolean,
decache?: boolean,
ether?: boolean,
raw?: boolean,
},
options?: RequestInit,
) {
Expand Down
7 changes: 1 addition & 6 deletions sdk/typescript/src/paths/chunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,9 @@ export function getChunks(
rewrite?: boolean,
count?: boolean,
sleep?: double,
fmt?: string,
chain: string,
noHeader?: boolean,
fmt?: string,
verbose?: boolean,
ether?: boolean,
raw?: boolean,
cache?: boolean,
decache?: boolean,
},
options?: RequestInit,
) {
Expand Down
7 changes: 1 addition & 6 deletions sdk/typescript/src/paths/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@ export function getConfig(
parameters?: {
mode?: 'show*' | 'edit',
paths?: boolean,
fmt?: string,
chain: string,
noHeader?: boolean,
fmt?: string,
verbose?: boolean,
ether?: boolean,
raw?: boolean,
cache?: boolean,
decache?: boolean,
},
options?: RequestInit,
) {
Expand Down
6 changes: 2 additions & 4 deletions sdk/typescript/src/paths/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,12 @@ export function getExport(
noZero?: boolean,
firstBlock?: blknum,
lastBlock?: blknum,
fmt?: string,
chain: string,
noHeader?: boolean,
fmt?: string,
verbose?: boolean,
ether?: boolean,
raw?: boolean,
cache?: boolean,
decache?: boolean,
ether?: boolean,
},
options?: RequestInit,
) {
Expand Down
7 changes: 0 additions & 7 deletions sdk/typescript/src/paths/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ export function getInit(
firstBlock?: blknum,
sleep?: double,
chain: string,
noHeader?: boolean,
fmt?: string,
verbose?: boolean,
ether?: boolean,
raw?: boolean,
cache?: boolean,
decache?: boolean,
},
options?: RequestInit,
) {
Expand Down
7 changes: 1 addition & 6 deletions sdk/typescript/src/paths/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,9 @@ export function getList(
reversed?: boolean,
firstBlock?: blknum,
lastBlock?: blknum,
fmt?: string,
chain: string,
noHeader?: boolean,
fmt?: string,
verbose?: boolean,
ether?: boolean,
raw?: boolean,
cache?: boolean,
decache?: boolean,
},
options?: RequestInit,
) {
Expand Down
Loading

0 comments on commit 7b7bc57

Please sign in to comment.