* Change `TransactionRecord` to use dict instead of list of tuples for memos
* Update streamable and fix tests
* Update test to accidentally fixed memos generation
* Remove `TransactionRecord.*_json_dict_convenience`
* Fix test
* Use AddressType library in WSM method
* Use AddressType library in transaction_store method
* Change `TransactionRecord` to use dict instead of list of tuples for memos
* Update streamable and fix tests
* Update test to accidentally fixed memos generation
* Port `did_set_wallet_name`
* Port `did_get_wallet_name`
* Port `did_update_recovery_ids`
* Port `did_message_spend`
* Port `did_get_info`
* Port `did_find_lost_did`
* fix test
* Port `did_update_metadata`
* Port `did_get_did`
* Port `did_get_recovery_list`
* Port `did_get_metadata`
* Port `did_get_pubkey`
* Port `did_get_information_needed_for_recovery`
* Port `did_get_current_coin_info`
* Port `did_create_backup_file`
* Port `did_transfer_did`
* Add extra_conditions uniformly in CLI tests
* test coverage
* Delete DID recovery endpoints
* Delete `create_exit_spend` as well
* Missed one
* Port `did_set_wallet_name`
* Port `did_get_wallet_name`
* Port `did_update_recovery_ids`
* Port `did_message_spend`
* Port `did_get_info`
* Port `did_find_lost_did`
* fix test
* Port `did_update_metadata`
* Port `did_get_did`
* Port `did_get_recovery_list`
* Port `did_get_metadata`
* Port `did_get_pubkey`
* Port `did_get_information_needed_for_recovery`
* Port `did_get_current_coin_info`
* Port `did_create_backup_file`
* Port `did_transfer_did`
* Add extra_conditions uniformly in CLI tests
* test coverage
* Minor changes.
---------
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
* Somewhat hacky workaounds for DIDs from other wallets
* cannot use set as not hashable
* Add a couple tests
* Change DIDCoinData to use bytes instead of bytes32
* Remove some unused code
* Remove some more unused code
* Make the alternate recovery did spendable I think
* Use Optional[bytes32] for DIDCoinData to show the list should be 32 bytes or nothing (where nothing is the NIL program)
* Replace specific test with parameterization of other tests to get more testing of the Alternate DIDs
* Empty commit for github
* minor formatting change
* No need to cast to bytes since as_atom returns bytes
* add cap to amount of DID wallets that can be automatically created
* add further testing
* add extra tests for recovering discarded DID and making new DIDs above the limit
* lint fix
* add types to test functions
* add log warning when ignoring DID
* typing fixes for tests
* a few more typing fixes
* black
* Update chia/_tests/wallet/did_wallet/test_did.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* fix wrong wallet node get_wallet() call
* fix rebase
* remove unused typeignore
---------
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Port `test_nft_wallet_creation_automatically`
* Port `test_nft_wallet_rpc_creation_and_list`
* Port `test_nft_wallet_rpc_update_metadata`
* Port `test_nft_with_did_wallet_creation`
* Port `test_nft_rpc_mint`
* Port `test_nft_transfer_nft_with_did`
* Port `test_update_metadata_for_nft_did`
* Port `test_update_metadata_for_nft_did`
* Port `test_nft_bulk_set_did`
* Port `test_nft_transfer_nft_with_did`
* Port `test_nft_set_did`
* Port `test_set_nft_status`
* Port `test_nft_sign_message`
* Remove DEFAULT_TX_CONFIG
* Remove unnecessary WalletStateTransitions
* Swap out id variables with aliases
* Whoops
* Remove unused function
* Slightly clearer ResponseFailureError match in test_nft_wallet_rpc_creation_and_list.
* Fix a typo.
* Fix a typo in test_nft_bulk_transfer.
* Clarify the coinbase coins case in get_minter_did.
---------
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
* Add the concept of 'action scopes'
* Add `WalletActionScope`
* Fix CATWallet pending_change calculation
* Add action_scope: WalletActionScope to all tx endpoints
* Add usage of action scope throughout wallet codebase
* Add the concept of 'action scopes'
* pylint and test coverage
* add try/finally
* add try/except
* Undo giving a variable a name
* Fix CRCAT test
* Fix trade tests
* Fix cat test
* Fix miscellaneous test
* Fix miscellaneous test
* Fix miscellaneous test
* pylint
* Add auto claim test coverage
* Take advantage of extra_spends
* Fix tests
* test fixes
* pylint
* Add the concept of 'action scopes'
* Add `WalletActionScope`
* Fix CATWallet pending_change calculation
* Add action_scope: WalletActionScope to all tx endpoints
* Add the concept of 'action scopes'
* pylint and test coverage
* add try/finally
* add try/except
* Undo giving a variable a name
* Fix CRCAT test
* Fix trade tests
* Fix cat test
* Fix miscellaneous test
* Fix miscellaneous test
* Fix miscellaneous test
* Add auto claim test coverage
* use the NULL_HASHTREE constant instead of re-computing the hash on the fly
* optimize puzzle hash computations by using shatree_atom() and shatree_pair() directly, rather than constructing a Program to call get_tree_hash() on.
* cache synthetic public keys and private keys
* rename NULL_TREEHASH -> NIL_TREEHASH
* Don't autopush transactions by default anywhere
* Remove ignore_max_send_amount
* Use TXConfig instead of pending_transactions for coin exclusion in spend_clawback_coins
* Unify transaction pushing into a single method
* Address offline comments by @emlowe
* Rework max send amount to be based on coin quantity rather than amount
* Inadvertent changes
* Test fixes
* Inadvertent change
* Bad import?
* Inadvertent changes?
* readd missing test
Augment conditions_dict_for_solution and conditions_for_solution to accept both programs and serialized programs.
This allows us to use serialized programs without the need to convert them into programs.
* Don't autopush transactions by default anywhere
* Remove ignore_max_send_amount
* Use TXConfig instead of pending_transactions for coin exclusion in spend_clawback_coins
* Address offline comments by @emlowe
* Rework max send amount to be based on coin quantity rather than amount
* merge fixes
* Inadvertent diffs
* Inadvertent change
* Inadvertent diff.
---------
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>