-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added: Support CLI NFT Pagination (#15342)
* first pass first exposing `--num` and `--start-index` through to `nft_get_nfts` rpc call * broke signature, fallback to defaults here broke `list_nfts` signature for 1 test, supply defaults here like `vc_get_list` does (thinking `100_000` will revert back to `50` for count/num as well, but leaving it as-is for now) * Update chia/cmds/wallet.py Co-authored-by: Sebastjan Trepca <[email protected]> * Update chia/rpc/wallet_rpc_client.py use suggested default, `num=50` Co-authored-by: Sebastjan Trepca <[email protected]> * update `--start-index` help message for `nft list` cmd * lost scope, fix indent on list_nft in wallet_rpc_client * fix eager formatting * missing annotations on signature * black formatting --------- Co-authored-by: Sebastjan Trepca <[email protected]>
- Loading branch information
Showing
3 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters