Commit Graph
14659 Commits
Author SHA1 Message Date
William AllenandGitHub 823fa61caa checkpoint: into main from release/1.8.2 @ cfb4ec0e30 (#15549)
Source hash: cfb4ec0e30
Remaining commits: 7
2023-06-20 09:53:33 -05:00
Adam KellyandGitHub d196247456 Rephrase async contextmanager DBConnection to use asynccontextmanager (#15538)
* Rephrase async contextmanager DBConnection to use asynccontextmanager
https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager

* drop tests.util.db_connection from typecheck exclusions list
2023-06-16 16:42:14 -05:00
Amine Khaldi 2766afba93 Update the GUI anchor accordingly. 2023-06-16 22:11:58 +01:00
Amine Khaldi 22bb4cc0a5 Merge commit 'cfb4ec0e30c4b7b6e3bd84a957db6a697b4bbd2d' into checkpoint/main_from_release_1.8.2_cfb4ec0e30c4b7b6e3bd84a957db6a697b4bbd2d 2023-06-16 22:07:58 +01:00
William AllenandGitHub bb430d060b checkpoint: into main from release/1.8.2 @ 0e569c2610 (#15545)
Source hash: 0e569c2610
Remaining commits: 8
2023-06-16 16:04:32 -05:00
Kyle AltendorfandGitHub 4675e1f276 tidy priority mutex try/finally (#15542) 2023-06-16 13:03:44 -05:00
dustinfaceandGitHub 92b149cd57 full_node: uint32.MAXIMUM_EXCLUSIVE -> uint32.MAXIMUM (#15544) 2023-06-16 11:46:37 -05:00
Amine Khaldi e19863172a Merge commit '0e569c2610c37bbcdda937309d58181f1bb393d9' into checkpoint/main_from_release_1.8.2_0e569c2610c37bbcdda937309d58181f1bb393d9 2023-06-16 16:26:16 +01:00
Amine KhaldiandGitHub c027c33445 Improve error messages in verify_and_get_quality_string() and add unit tests (#15501)
Improve error messages in verify_and_get_quality_string() and add unit tests.
2023-06-16 09:32:54 -05:00
dustinfaceandGitHub 508087251c util: Some tweaks to StructStream and sized ints (#15090)
* Only define `StructStream` members, don't give them defaults

* `MAXIMUM_EXCLUSIVE` -> `MAXIMUM`

* Make `MINIMUM` and `MAXIMUM` instances of the underlying class

* Make the `StructStream` members `ClassVar`s

* More explicit and consistent `MINIMUM` and `MAXIMUM` assignments

* Comment about instantiation

* Use `MAXIMUM`
2023-06-16 09:32:17 -05:00
Kronus91andGitHub bde6f3965c Fix get transactions CLI for Clawback (#15541)
Handle coin record missing
1.8.2-rc5
2023-06-16 08:29:28 -05:00
dustinfaceandGitHub b2498d2917 full_node: Add max_height to CoinStore.get_coin_states_by_ids (#15467) 2023-06-15 19:02:04 -05:00
JeffandGitHub 11d6c43c17 Bump chia-blockchain-gui to 1.8.2-rc5 (#15539)
Bump chia-blockchain-gui to 1d5f7f2f296a072edf9cd6c431b7be19545a1700

* Rifeljm/vc is valid lazy get proofs by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1849

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.2-rc4...1.8.2-rc5
1.8.2-rc4
2023-06-15 19:01:18 -05:00
dustinfaceandGitHub 551ee5765b tests: Run build_network_protocol_files as test (#15511) 2023-06-15 16:43:11 -05:00
William AllenandGitHub ca63959ff0 Increase windows install timeout (#15536) 2023-06-15 16:42:18 -05:00
William AllenandGitHub 893fadd994 checkpoint: into main from release/1.8.2 @ 82c9ed953d (#15525)
Source hash: 82c9ed953d
Remaining commits: 4
2023-06-15 15:17:47 -05:00
f8b09ced71 Fix vcs get command when no proofs exist yet (#15432) (#15534)
Co-authored-by: Matt Hauff <quexington@gmail.com>
2023-06-15 13:11:52 -05:00
JeffandGitHub b519ff4293 Bump chia-blockchain-gui to 1.8.2-rc4 (#15519)
Bump chia-blockchain-gui to 2960b7f6986545c0bdb168dd3bc2eb865acf2e95

* Minor clawback design tweaks by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1836
* Zsolt/clawback enhancements by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1839
* Rifeljm/verifiable credentials release 1.8.2 by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1840
* typing fix by @BrandtH22 in https://github.com/Chia-Network/chia-blockchain-gui/pull/1843

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.2-rc3...1.8.2-rc4
2023-06-15 13:08:11 -05:00
dustinfaceandGitHub 8664a88cd4 tests: Test existance of DID wallets after some operations (#15123) 2023-06-15 09:46:58 -05:00
dustinfaceandGitHub 1765971426 rpc: Fix and test WalletRpcApi.get_coin_records_by_names (#15509) 2023-06-15 09:46:31 -05:00
Louis BettensandGitHub 5d43f12e5b build: include puzzles packages (#15508) 2023-06-14 18:26:07 -05:00
Amine Khaldi 5dbc00d12e Merge commit '82c9ed953d8b76936c3005c21831234eba155c8e' into checkpoint/main_from_release_1.8.2_82c9ed953d8b76936c3005c21831234eba155c8e 2023-06-14 22:35:27 +01:00
dustinfaceandGitHub 45ee466d44 tests: job_timeout=40 for tests.wallet.rpc (#15512) 2023-06-14 16:11:57 -05:00
dustinfaceandGitHub a414b41905 tests: Use separate BlockTools in farmer/harvester fixtures (#15510) 2023-06-14 16:09:13 -05:00
William AllenandGitHub 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
Kronus91andGitHub 33fa3f47de Add CLI for Clawback (#15483)
* Add CLI for Clawback

* Fix coverage & Disable auto claim

* Display Clawback TX in CLI

* Fix coverage

* Fix get transaction amount
2023-06-14 13:51:38 -05:00
Kronus91andGitHub d97889660c Add filters for get_transaction_count API (#15502)
Add filters for get_transaction_count
2023-06-14 07:51:59 -05:00
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 LoweandGitHub 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 HauffandGitHub 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
dustinfaceandGitHub 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]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 HauffandGitHub 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
dustinfaceandGitHub 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 NorbergandGitHub ed0f0eba67 fix flaky MAX_FUTURE_TIME test (#15499)
fix MAX_FUTURE_TIME tests
2023-06-13 09:56:25 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
JeffandGitHub f38f00dc27 Bump chia-blockchain-gui to 23d212db667b38a81316ec857e86845d25e7c50e (#15494)
Includes changes through 1.8.3-rc3
2023-06-12 16:11:35 -05:00
JeffandGitHub cfb4ec0e30 Bump chia-blockchain-gui to 1.8.2-rc3 (#15480)
Bump chia-blockchain-gui to 598ecaebe82da96ae967b36bd9971a35850eaf5a

* fix WC checkOfferValidity param name offerData --> offer by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1821
* fix WC transferNFT params -- use nftCoinIDs array by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1822
* add getWalletBalances WalletConnect command by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1824
* Zsolt/clawback improvements by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1823
* Windows installer: add custom welcome screen that checks for running Chia processes by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1825
* Clawback refactor and fix sending to yourself by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1827
* verifiable credentials zero state screen by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1830

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.2-rc2...1.8.2-rc3
1.8.2-rc3
2023-06-09 18:48:59 -05:00
William AllenandGitHub 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 HauffandGitHub 0e569c2610 Add -l to vcs revoke command (#15468) 2023-06-09 16:36:08 -05:00
Matt HauffandGitHub 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
dustinfaceandGitHub 5e0b8bb1ec util: Drop chia.util.chunks and use chia.util.to_batches instead (#15418) 2023-06-09 16:35:31 -05:00
Matt HauffandGitHub 2441035afc Add reorg rollback to retry store (#15303)
add reorg rollback to retry store
2023-06-09 16:35:11 -05:00
Kronus91andGitHub 82c9ed953d Clawback fixes (#15475)
Fix Clawback known issues
2023-06-09 12:15:40 -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
dustinfaceandGitHub 05b5265234 wallet: Fix clawback hex files (#15477) 2023-06-09 11:06:07 -05:00
Kyle AltendorfandGitHub 7a830389c9 coverage ignore if TYPE_CHECKING: (#15473) 2023-06-09 05:13:08 -05:00
dustinfaceandGitHub bb5b3ccf6f server: Drop unused WSChiaConnection.active (#15464) 2023-06-09 05:12:54 -05:00
dustinfaceandGitHub ff2d87e6ab coverage: Add thread to concurrency (#15453) 2023-06-09 05:12:31 -05:00