Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle AltendorfandGitHub 302e7e7f81 use importlib.metadata to get package versions (#14753)
* use importlib_metadata to get package versions

* ignore untyped call

* stop ignoring the deprecation warning

* Revert "stop ignoring the deprecation warning"

This reverts commit 931fe8c794.

* include chiapos version data

* tweak
2023-09-27 15:01:08 -05:00
Kronus91andGitHub 04fa3b3780 Fix glitch NFT wallet test (#16434)
* Fix nft transfer tests

* Fix pre-commit

* Add wait wallet sync
2023-09-26 19:35:59 -05:00
8b4b2ca869 Update install-gui.sh to use check Node 18 and npm 9 (#16424)
* Update to use node 18 and npm 9

* `$(npm bin)` -> `$(npm prefix)/bin`

* `$(npm bin)` -> `$(npm prefix)/node_modules/.bin`

* Upgraded package-lock version

* `start-gui.sh` now requires npm >= 9

* Reverted `package-lock.json` version for old NodeJS/npm

---------

Co-authored-by: ChiaMineJP <admin@chiamine.jp>
2.1.0-rc3
2023-09-26 17:30:43 -05:00
Amine Khaldi 82f496d123 Merge commit '79f4a999fb6d6fd06f2d815e4b08965aa283a7ec' into checkpoint/main_from_release_2.1.0_79f4a999fb6d6fd06f2d815e4b08965aa283a7ec 2023-09-26 21:20:22 +01:00
William AllenandGitHub 1dcade3996 checkpoint: into main from release/2.1.0 @ d1b10c6abe (#16431)
Source hash: d1b10c6abe
Remaining commits: 9
2023-09-26 14:51:47 -05:00
Kyle AltendorfandGitHub fd4465aff0 pylint config: builtins.Exception (#16410)
https://github.com/Chia-Network/chia-blockchain/actions/runs/6293301638/job/17086464327?pr=16407#step:8:13
```
pylint: Command line or configuration file:1: UserWarning: Specifying exception names in the overgeneral-exceptions option without module name is deprecated and support for it will be removed in pylint 3.0. Use fully qualified name (maybe 'builtins.Exception' ?) instead.
```
2023-09-26 14:51:23 -05:00
Kyle AltendorfandGitHub f75001789d add try/finally to setup_services context managers (#16407) 2023-09-26 14:51:12 -05:00
Kyle AltendorfandGitHub 185240d15c hint chia.simulator.setup_services/start_simulator (#16412) 2023-09-26 14:49:53 -05:00
Kyle AltendorfandGitHub d8accf16ac stop using pkg_resources.get_distribution() in pyinstaller.spec (#16420) 2023-09-26 14:49:25 -05:00
Kyle AltendorfandGitHub ee087f10ec hint SSLTestCollateralTracker.in_use (#16413)
* hint `SSLTestCollateralTracker.in_use`

* kw_only=True

* in use not available via init
2023-09-26 14:49:06 -05:00
Kronus91andGitHub 9429359770 Extend sign APIs for customized puzzle (#16327)
* Extend sign APIs

* Fix coverage
2023-09-26 14:48:51 -05:00
Amine Khaldi c66c620adf Merge commit 'd1b10c6abedc17d6fc8b6045680e49e93d79b169' into checkpoint/main_from_release_2.1.0_d1b10c6abedc17d6fc8b6045680e49e93d79b169 2023-09-26 17:47:12 +01:00
William AllenandGitHub e07f9196ff checkpoint: into main from release/2.1.0 @ e120ec4e56 (#16416)
Source hash: e120ec4e56
Remaining commits: 0
2023-09-26 11:43:52 -05:00
JeffandGitHub 58ad8b8f09 Fix CAT --> CR-CAT wallet conversion (#16423)
* Fix CAT --> CR-CAT wallet conversion

* Placate a grumpy mypy
2023-09-26 11:42:03 -05:00
JeffandGitHub e48649c91a Bump chia-blockchain-gui to ef10761cc0f60d275dbd0895c59729eed081aad1 (#16422)
* Refactor out LogoutButton and match style of other header buttons by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/2131
* Cosmetic fixes for the Harvester settings screen by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/2139
* Cosmetic fix to the tooltip background color by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/2140
* Fixed farm page crash by @ChiaMineJP in https://github.com/Chia-Network/chia-blockchain-gui/pull/2143
* skip_ref_checkout: true for crowdin so we can work on branches other than main by @cmmarslender in https://github.com/Chia-Network/chia-blockchain-gui/pull/2146
* Hide hybrid disk 16G option by @ChiaMineJP in https://github.com/Chia-Network/chia-blockchain-gui/pull/2154
* Added a warning dialog appeared when selecting hybrid 128G mode by @ChiaMineJP in https://github.com/Chia-Network/chia-blockchain-gui/pull/2158
* Emoji hover state fix by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/2165
* Fix addVCProofs WalletConnect call by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/2166
* expiring offers ui fixes by @lipalong in https://github.com/Chia-Network/chia-blockchain-gui/pull/2167
* Additional emoji picker hover state fix by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/2168

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/2.1.0-rc2...2.1.0-rc3
2023-09-25 23:55:16 -05:00
Matt HauffandGitHub 867b55097e Fix issue with trade failures (#16415) 2023-09-25 20:42:44 -05:00
wjblankeandGitHub 07e2a0b8bb Wallet workaround for python issue 97641 and update anyio for issue 589 (#16408)
* add arvid's fix to wallet as well

* update anyio to 4.0.0
2023-09-25 20:36:44 -05:00
Kyle AltendorfandGitHub ee09892f06 rename chia data add_missing_files -f/--foldername to -d/--directory (#16383) 2023-09-25 19:17:41 -05:00
William AllenandGitHub d298d6b8c6 Update chiapos (#16419) 2023-09-25 19:17:23 -05:00
Arvid NorbergandGitHub fb2a939606 fix typo in PendingTxCache (#16417)
fix typo in PendingTxCache when evicting the last MempoolItem of an assert-height level. add test coverage
2023-09-25 18:29:30 -05:00
xchdata.ioandGitHub d2934682ec Fix chia farm summary aborting early if no local full node present (#16387)
* Fix `chia farm summary` aborting early if no local full node present

Before 2.0, even if no local full node was present, `chia farm summary`
would still show useful information:

	$ chia farm summary
	Farming status: Not available
	Local Harvester
	   1 plots of size: 101.320 GiB on-disk, 101.400 GiBe (effective)
	Plot count for all harvesters: 1
	Total size of plots: 101.320 GiB, 101.400 GiBe (effective)
	Estimated network space: Unknown
	Expected time to win: Unknown
	For details on farmed rewards and fees you should run 'chia start wallet' and 'chia wallet show'

However, since 2.0, that is no longer the case. `chia farm summary`
simply aborts with an exception:

	$ chia farm summary
	Error: Connection error: ClientConnectorError: Cannot connect to host localhost:8555 ssl:<ssl.SSLContext object at 0x7fe0edd533c0> [Connect call failed ('127.0.0.1', 8555)]
	Check if full node rpc is running at 8555
	This is normal if full node is still starting up

This fixes this particular regression which is rather annoying for
farmers farming to a remote node.

Fixes #16164. Related to issue #9615, but that issue is wider in scope.

* Improve exception reporting for `chia farm summary`

With this change, only the exceptions when failing to connect to a local
full node and/or wallet are suppressed, as these cases are already
properly handled by adjusted command output. Any other exception is
printed to stderr.
2023-09-25 16:35:55 -05:00
Arvid NorbergandGitHub 79f4a999fb bump chia_rs to include bugfix for new AGG_SIG_* conditions in mempool mode (#16409)
* bump chia_rs to include bugfix for new AGG_SIG_* conditions in mempool mode

* add tests for AGG_SIG_* conditions cost and extra-args
2023-09-25 15:33:34 -05:00
010cedf837 pin astroid==2.15.6 for pylint false positives (#16418)
https://github.com/pylint-dev/pylint/issues/9069

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-09-25 13:35:00 -05:00
Matt HauffandGitHub b89aa407de Fix condition serialization in RPC client (#16389)
* Add json serialization for Condition classes

* Fix condition serialization in RPC client
2023-09-25 12:43:52 -05:00
Kyle AltendorfandGitHub d1b10c6abe pin astroid==2.15.6 for pylint false positives (#16414)
https://github.com/pylint-dev/pylint/issues/9069
2023-09-25 11:48:01 -05:00
Amine Khaldi d91eb163ba Merge commit 'e120ec4e569effae6f0fa6efcf303c49c1a4aece' into checkpoint/main_from_release_2.1.0_e120ec4e569effae6f0fa6efcf303c49c1a4aece 2023-09-25 16:48:55 +01:00
Matt HauffandGitHub e120ec4e56 Increase trade test timeouts (#16394)
Increase TradeTest timeouts
2023-09-22 14:27:55 -05:00
a27b708020 Add RPC Client context manager (#16289)
* Refactor simulator setups from async generators to async context managers

* Fix setup_services as well

* Make _inner functions context managers as well

* whoops

* Remove unused fixtures

* address comments by @arvidn

* astack -> async_exit_stack

* bad merge function removal

* Add better generalized wallet test framework

* Add RPC Client context manager

* Bad merge

* pre-commit

* Remove trusted parametrization test

* Change request type

* Move to class method

* clone create args for type safety

* Fix return argument for inheritance

* Stylistic concerns

* Use kwargs

Co-authored-by: Kyle Altendorf <sda@fstab.net>

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-09-21 15:03:45 -05:00
Chris MarslenderandGitHub 719942d812 checkpoint: into main from release/2.1.0 @ bbd57321fa (#16382) 2023-09-20 15:27:13 -05:00
Kyle Altendorf e06ced6cae Merge commit 'bbd57321faee72eb3b1d783cb2ea829a20d9731f' into checkpoint/main_from_release_2.1.0_bbd57321faee72eb3b1d783cb2ea829a20d9731f 2023-09-20 16:20:38 -04:00
Amine KhaldiandGitHub 3e171bd9b9 Annotate test_hint_store.py (#16366) 2023-09-20 15:10:32 -05:00
Kyle AltendorfandGitHub 16b9d53782 mypy 1.5.1 (#16352) 2023-09-20 15:10:17 -05:00
Kyle AltendorfandGitHub bbd57321fa add clean-workspace step for package artifact tests (#16380) 2023-09-20 15:09:24 -05:00
Chris MarslenderandGitHub 1d60712285 checkpoint: into main from release/2.1.0 @ 519214ab28 (#16379) 2023-09-20 10:59:30 -05:00
Kyle Altendorf fabca97147 Merge commit '519214ab283dc6df95033ea95b9a1018b5c78aa1' into checkpoint/main_from_release_2.1.0_519214ab283dc6df95033ea95b9a1018b5c78aa1 2023-09-20 11:57:18 -04:00
Chris MarslenderandGitHub 6f228feaee checkpoint: into main from release/2.1.0 @ 91d94df63a (#16378) 2023-09-20 10:55:09 -05:00
Kyle Altendorf 51d49fd7df Merge commit '91d94df63a9c07bdfce91b97636991c71d43672f' into checkpoint/main_from_release_2.1.0_91d94df63a9c07bdfce91b97636991c71d43672f 2023-09-20 11:50:56 -04:00
Kyle AltendorfandGitHub 519214ab28 Update build-linux-installer-rpm.yml (#16375) 2023-09-20 10:04:57 -05:00
Kyle AltendorfandGitHub 91d94df63a run chia version from packaging artifacts (#16374) 2023-09-20 08:41:32 -05:00
Matt HauffandGitHub d29acde27a Make the standard wallet return List[TransactionRecord] (#16360) 2023-09-19 15:28:20 -05:00
Chris MarslenderandGitHub 724977eaeb checkpoint: into main from release/2.1.0 @ 959dc2ac52 (#16372) 2023-09-19 13:06:06 -05:00
Amine Khaldi 8253956762 Merge commit '959dc2ac5281a72f20044b488cd330d1e7c85745' into checkpoint/main_from_release_2.1.0_959dc2ac5281a72f20044b488cd330d1e7c85745 2023-09-19 18:50:18 +01:00
Chris MarslenderandGitHub d5d2a6db04 checkpoint: into main from release/2.1.0 @ ccf0002b72 (#16371) 2023-09-19 12:48:55 -05:00
Amine Khaldi 9401e6f8b8 Fix the anchor. 2023-09-19 18:43:52 +01:00
Chris MarslenderandGitHub 98e939c848 checkpoint: into main from release/2.1.0 @ ccf0002b72 (#16370) 2023-09-19 12:35:34 -05:00
Amine Khaldi 6b192e944a Merge commit 'ccf0002b72fd78a3587c9db8e5044bbd9312e7ba' into checkpoint/main_from_release_2.1.0_ccf0002b72fd78a3587c9db8e5044bbd9312e7ba 2023-09-19 18:32:46 +01:00
Chris MarslenderandGitHub 57e119ac5c checkpoint: into main from release/2.1.0 @ 056f20dc3c (#16369) 2023-09-19 12:31:39 -05:00
Amine Khaldi 96c0e0c0e5 Merge commit '056f20dc3c4a531e008a50bd3b42884fa8af1701' into checkpoint/main_from_release_2.1.0_056f20dc3c4a531e008a50bd3b42884fa8af1701 2023-09-19 18:29:50 +01:00
Chris MarslenderandGitHub 860e7af702 checkpoint: into main from release/2.1.0 @ 13e237c250 (#16367) 2023-09-19 12:29:12 -05:00
Amine Khaldi 06dfb4e217 Merge commit '13e237c25008dc21efee4b18b27478d06829a390' into checkpoint/main_from_release_2.1.0_13e237c25008dc21efee4b18b27478d06829a390 2023-09-19 15:06:04 +01:00