dustinface
1765971426
rpc: Fix and test WalletRpcApi.get_coin_records_by_names
( #15509 )
2023-06-15 09:46:31 -05:00
Louis Bettens
5d43f12e5b
build: include puzzles
packages ( #15508 )
2023-06-14 18:26:07 -05:00
dustinface
45ee466d44
tests: job_timeout=40
for tests.wallet.rpc
( #15512 )
2023-06-14 16:11:57 -05:00
dustinface
a414b41905
tests: Use separate BlockTools
in farmer/harvester fixtures ( #15510 )
2023-06-14 16:09:13 -05:00
William Allen
c7f66248d6
checkpoint: into main from release/1.8.2 @ 0099379835
( #15492 )
...
Source hash: 0099379835
Remaining commits: 3
2023-06-14 15:25:04 -05:00
dustinface
49140b2b3c
server: Introduce ApiProtocol
( #15466 )
...
* server: Introduce `ApiProtocol`
* genericize (#5 )
* `ApiProtocol.api_ready` -> `ApiProtocol.ready()`
* Add `ApiProtocol.log` and give APIs separate loggers
* Fix `CrawlerAPI`
* Drop some unrelated removals
* Fix some of the generic hinting
* Revert some changes in `timelord_api.py`
* Fix `CawlerAPI` readiness
* Fix hinting
* Get some `CrawlerAPI` coverage
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-06-13 20:12:25 -05:00
Earle Lowe
46a244ae09
daemon plotter RPC tests ( #15291 )
...
* daemon plotter RPC tests
* remove debug cruft
* Add stop_plotting test
* Add stop_plotting test
* Fix up test
* Remove specific test_mode and adjust tests
* Fix madmax test and add a couple minor tests
* cleanup unused code
* Updates based on code suggestions
2023-06-13 17:27:48 -05:00
Matt Hauff
79bf694800
Add **kwargs to all generate_signed_transaction definitions ( #15240 )
...
* Add **kwargs to all generate_signed_transaction definitions
* Add support for VC wallet too
* attempt to hint kwargs
* Import TypedDict from typing_extensions instead
* Fix tail driver call to generate_signed_transaction
2023-06-13 17:24:17 -05:00
dustinface
d6a2a9aa5d
seeder: Drop CrawlerAPI.__getattr__
( #15489 )
...
* Test sending unknown messages to the crawler
* Drop `CrawlerAPI.__getattr__`
* Use a real crawler service for the test
2023-06-13 15:25:39 -05:00
dependabot[bot]
2d46ecfd3e
build(deps): bump boto3 from 1.26.131 to 1.26.148 ( #15458 )
...
Bumps [boto3](https://github.com/boto/boto3 ) from 1.26.131 to 1.26.148.
- [Release notes](https://github.com/boto/boto3/releases )
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst )
- [Commits](https://github.com/boto/boto3/compare/1.26.131...1.26.148 )
---
updated-dependencies:
- dependency-name: boto3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 12:51:44 -05:00
Matt Hauff
9b465a08c6
Only subscribe to inner wallet puzzle hashes ( #14356 )
...
* Only subscribe to inner wallet puzzle hashes
* Add a store for unacknowledge CAT coin states
* Add additions and removals to dummy TX
* whoops
* Add interested coin IDs when saving trade
* black
* One test was not hinting, make it use push_transaction RPC instead
* restructure and comment a block
* Change asset ID to blob and add index
* Add get all puzzle hashes by wallet id
* Separate unacknowledged state getter and deletion
* Remove peer_id from CAT states table
* lint
* fix forwards compat tests
* isort
* Subscribe to the change children of CATs
* Hint to change
* undo unintentional changes
* Change cat test
* fix test_cat_spend test memo check
* provide save_trade parameter
* Address comments by @xdustinface
* Fix memos assertion again
* hint in test cat creation
* Missing save_trade call
* time out assert
* Hint in RPC test
* Fix wallet resync function
* Fix DB bug, add test coverage
* pass offer to save_trade
* add reorg rollback to unacknowledged states
* Add some unit tests
2023-06-13 12:51:16 -05:00
dustinface
e7f8aa0827
seeder: Hint crawler_api.py
( #15498 )
2023-06-13 11:25:15 -05:00
Amine Khaldi
045c1786c5
Merge commit '009937983533a5a20fa5102a693e524d208694b1' into checkpoint/main_from_release_1.8.2_009937983533a5a20fa5102a693e524d208694b1
2023-06-13 17:06:44 +01:00
Arvid Norberg
ed0f0eba67
fix flaky MAX_FUTURE_TIME
test ( #15499 )
...
fix MAX_FUTURE_TIME tests
2023-06-13 09:56:25 -05:00
dependabot[bot]
2e60325894
build(deps): bump cryptography from 40.0.2 to 41.0.0 ( #15436 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 40.0.2 to 41.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/40.0.2...41.0.0 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 19:56:16 -05:00
Jeff
f38f00dc27
Bump chia-blockchain-gui to 23d212db667b38a81316ec857e86845d25e7c50e ( #15494 )
...
Includes changes through 1.8.3-rc3
2023-06-12 16:11:35 -05:00
William Allen
fde6d6fe73
checkpoint: into main from release/1.8.2 @ c55be8e163
( #15476 )
...
Source hash: c55be8e163
Remaining commits: 1
2023-06-09 17:33:19 -05:00
Matt Hauff
cf15c0fcb9
rename exclude_coin_* -> excluded_coin_* for consistency ( #15460 )
...
* exclude -> excluded
* Add a bit of test coverage
* fix bad change
* Add test coverage
* Add a little more test coverage
2023-06-09 16:35:53 -05:00
dustinface
5e0b8bb1ec
util: Drop chia.util.chunks
and use chia.util.to_batches
instead ( #15418 )
2023-06-09 16:35:31 -05:00
Matt Hauff
2441035afc
Add reorg rollback to retry store ( #15303 )
...
add reorg rollback to retry store
2023-06-09 16:35:11 -05:00
Amine Khaldi
37891cf01f
Merge commit 'c55be8e16364750ede9694ebdf58d5d143ecef97' into checkpoint/main_from_release_1.8.2_c55be8e16364750ede9694ebdf58d5d143ecef97
2023-06-09 17:15:14 +01:00
dustinface
05b5265234
wallet: Fix clawback hex files ( #15477 )
2023-06-09 11:06:07 -05:00
Kyle Altendorf
7a830389c9
coverage ignore if TYPE_CHECKING:
( #15473 )
2023-06-09 05:13:08 -05:00
dustinface
bb5b3ccf6f
server: Drop unused WSChiaConnection.active
( #15464 )
2023-06-09 05:12:54 -05:00
dustinface
ff2d87e6ab
coverage: Add thread
to concurrency
( #15453 )
2023-06-09 05:12:31 -05:00
dustinface
e3beca2d0d
full_node: More set usage in subscription code ( #15420 )
2023-06-09 05:11:54 -05:00
dustinface
a93a85e639
wallet: Hint wallet.py
( #15362 )
2023-06-09 05:11:23 -05:00
Arvid Norberg
3ccaf37f77
use a more aggresive activation schedule on testnet10 ( #15376 )
2023-06-09 05:09:24 -05:00
William Allen
591e59a6cc
checkpoint: into main from release/1.8.2 @ f0071358bf
( #15451 )
...
Source hash: f0071358bf
Remaining commits: 2
2023-06-08 20:17:20 -05:00
Kyle Altendorf
9e8d6ebd71
rework LockQueue
as PriorityMutex
( #14920 )
...
* explore a simplification of the blockchain priority lock queue
* add some tests
* correct task tracking
* use time.perf_counter for better resolution on windows
* just count an integer for request order retention
* stop using time in the (new) tests as well
* add tests and a couple no covers
* less existing test refactoring
* use a sync PriorityQueue
* switch to deques
* address bugs and simplify priority to deque mapping
* remove unused attribute ._priority_type
* make LockQueu.create() not async
* explain the active element check on wait cancellation
* drop LockQueue._process()
* import final from typing_extensions
* rename LockQueue to PriorityMutex
* remove test from mypy exclusions
* clean up straggling lock references
* ignore test failure case line coverage
* add a monkeypatch test ;[
* remove queued callback feature
* remove todos
2023-06-07 14:08:45 -05:00
Kyle Altendorf
27b2079c20
don't measure coverage of CI tests/**/config.py
files ( #15463 )
2023-06-07 14:08:32 -05:00
Matt Hauff
8e5441c208
Repin clvm_tools_rs==0.1.34 ( #15455 )
...
* Repin clvm_tools_rs
* Update hex files to have newlines
2023-06-07 14:08:17 -05:00
dustinface
d23ea4df38
server: Fix versions for incoming connections ( #15465 )
2023-06-07 14:07:56 -05:00
Amine Khaldi
c8ee474583
Merge commit 'f0071358bf9a226af8adb2ad12105b3e3d015515' into checkpoint/main_from_release_1.8.2_f0071358bf9a226af8adb2ad12105b3e3d015515
2023-06-07 15:20:23 +01:00
Matt Hauff
0bd6a8ac3b
Move CAT_MOD from cat_loader -> cat_utils ( #15459 )
...
Move CAT_MOD from chia.wallet.puzzles.cat_loader -> chia.wallet.cat_wallet.cat_utils
2023-06-06 19:13:11 -05:00
Matt Hauff
35cc3debe9
Add a path in wallets_prefarm test fixture for generating an RPC client ( #15426 )
...
* add a path in wallets_prefarm for generating an RPC client
* Separate into new fixture
* Return wallet services as well
2023-06-06 12:40:17 -05:00
dustinface
bddcc8f3a8
wallet: Fix missing hint in GenesisById.generate_issuance_bundle
( #15424 )
...
* wallet: Fix missing hint in `GenesisById.generate_issuance_bundle`
* Call `get_tree_hash` only once
2023-06-06 12:39:56 -05:00
dustinface
b2cbea84d9
wallet: Hint puzzle_utils.py
( #15422 )
2023-06-06 12:39:15 -05:00
dustinface
ebc5f3c124
util: Improve list_to_batches
( #15415 )
...
* Make `list_to_batches` work with collections instead of lists only
* Move `to_batches` into `chia.util.misc`
* Only support `set` and `list`
* Drop `tests.generator.test_to_batches` exclusion
* Improve type restrictions and be more coverage friendly in tests
2023-06-06 12:00:07 -05:00
William Allen
5ad78bd669
checkpoint: into main from release/1.8.2 @ ec28f76463
( #15448 )
...
Source hash: ec28f76463
Remaining commits: 1
2023-06-06 00:36:20 -05:00
Jeff
0099379835
Bump chia-blockchain-gui to 1.8.2-rc2 ( #15450 )
...
Bump chia-blockchain-gui to 60491b6c68cec864fa6169ffca77db5ca3086399
* add tests covering WalletService RPCs and related functions by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1796
* disconnect sessions when disconnecting a WC pairing by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1816
* fixed switching between keys by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1815
* replace isURL usage with isValidURL by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1813
* small bug fixes by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1818
* [Snyk] Security upgrade vite from 3.1.1 to 3.2.7 by @ChiaAutomation in https://github.com/Chia-Network/chia-blockchain-gui/pull/1819
* Add clawback feature to the GUI by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1802
* Rifeljm/#1699 verifiable credentials by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1820
**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.2-rc1...1.8.2-rc2
2023-06-05 19:45:59 -05:00
Earle Lowe
c55be8e163
Check all peers when subscribing/tracking to new DL singleton ( #15427 )
2023-06-05 11:26:56 -05:00
Amine Khaldi
8db38be33e
Merge commit 'ec28f764632b6c77d35b5720c258d20b7bfdd788' into checkpoint/main_from_release_1.8.2_ec28f764632b6c77d35b5720c258d20b7bfdd788
2023-06-05 17:25:05 +01:00
William Allen
349f87facf
checkpoint: into main from release/1.8.2 @ ef68bf76c1
( #15431 )
...
Source hash: ef68bf76c1
Remaining commits: 0
2023-06-05 11:23:15 -05:00
Sebastjan Trepca
330c75022a
reduce the resend timeout to fix flakiness ( #15435 )
...
reduce the resend timeout
2023-06-05 10:54:03 -05:00
Kronus91
f0071358bf
Clawback Integration ( #14348 )
...
* Clawback integration draft
* Add unit test
* Clawback rework
* Fix unit test
* Fix coin type
* Add tx fee & bulk clawback
* Add manual claim
* Add get_clawback_coins API
* Fix unit test
* Fix unit test
* Resolve comments
* Fix unit test
* remove erroneous comment from p2_1_of_n.clvm
* Resolve comments
* use full puzzle instead of hash in augmented_condition.clvm
* Fix pre-commit
* Add set auto claim api
* Resolve comments
* Fix precommit
* Add get auto claim config api
* Fix pre-commit
* Fix mypy and unit tests
* Switch to reuse coin store solution
* Fix unit tests
* Fix pylint
* Resolve comments
* Fix rename
* Revert puzzle_decorator_type since circular import
* Resolve comments
* Add new coin_type & metadata to coin_records
* Remove unrelated changes
* Fix pre-commit
* Remove unrelated changes
* Fix pre-commit
* Add get_coin_records_between
* Fix field data type
* Resolve comments
* Fix unit test
* Remove unrelated changes
* Remove unrelated changes
* Improve unit tests
* Resolve comments
* Fix clvm hex
* Fix unit tests
* Fix API router
* Update rpc client
* Fix pre-commit
* Remove unrelated changes
* Fix set/get auto claim
* Force populate secret key for clawback
* optimizations
* added clawback puzzle hashes
* update drivers and add lifecycle tests
* Fix driver Program types
* avoid redundant uncurry in clawback
* simplify deserialize_coin_metadata()
* run clawback puzzles with a lower cost limit
* Update chia/wallet/wallet_state_manager.py
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
* Add tx records for Clawback
* Add clawback coin id
* Add type filter for get_transactions
* Modify clawback tx types
* Resolve comments
* Resolve comments
* Fix unit tests
* Resolve comments
* Improve unit test
* Use merkle tree class
* Resolve comments
* Resolve comments
* Fix curry tree hash
* Improve coverage
* Improve coverage
* Fix unit test
* Fix test
* Improve coverage
* Fix pre-commit
* Resolve comments
* Handle invalid clawback metadata
* Fix unit tests
* Improve coverage
* Handle empty byte issue
* Forward memo
* Fix unit test
* Resolve comments
* Rework Clawback TX management
* Add confirmed filter
* Resolve comments
* Fix unit test
* Fix pre-commit
* Improve coverage
* Fix unit test
* Handle missing auto_claim config
* Fix pre-commit
* Revert tx confirmed change
* Drop unused `deserialize_coin_metadata`
* Parse clawback metadata in `WalletCoinRecord.parsed_metadata`
* Use `WalletCoinRecord.parsed_metadata`
* Avoid querying low amount coins with the `amount_range` parameter
* Drop unused `to_puzhash`
* Drop `print("Ping")`
* Drop outdated assert
* Resolve comments
* Fix coverage
---------
Co-authored-by: geoffwalmsley <geoffwalmsley@gmail.com>
Co-authored-by: Sebastjan Trepca <trepca@gmail.com>
Co-authored-by: arvidn <arvid@libtorrent.org>
Co-authored-by: xdustinface <xdustinfacex@gmail.com>
2023-06-05 10:53:34 -05:00
Jeff
ec28f76463
remove unnecessary filtering of state_changed messages for the UI ( #15437 )
2023-06-03 09:56:45 -05:00
Matt Hauff
201f4e459d
Fix vcs get command when no proofs exist yet ( #15432 )
2023-06-02 17:54:31 -05:00
Matt Hauff
5dd204a001
Fix .get_next_from_coin_spend
on VerifiedCredential and test new puzhashes ( #15423 )
...
Fix .get_next_from_coin_spend on VCWallet and test new puzhashes
2023-06-02 17:54:04 -05:00
Arvid Norberg
ae0939af79
bump SOFT_FORK3_HEIGHT to align with the next release cycle ( #15428 )
2023-06-01 21:48:01 -05:00