Commit Graph
14659 Commits
Author SHA1 Message Date
b81772861f Configure number of stored full files in DL. (#16135)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-09-11 13:41:45 -05:00
JeffandGitHub b4dd2a4292 Rename USDS --> USDSC (#16295) 2023-09-11 12:54:18 -05:00
Kyle AltendorfandGitHub a2f3232ec2 move using_temp_file_keyring() decorator to test fixtures (#16296) 2023-09-11 12:54:03 -05:00
Amine KhaldiandGitHub 4e968e8e40 Remove old debugging test (#16244) 2023-09-11 12:53:22 -05:00
Kyle AltendorfandGitHub e61e036d9d @pytest.mark.limit_consensus_modes() in DataLayer RPC tests (#16300) 2023-09-11 12:53:07 -05:00
William AllenandGitHub e7778c7749 checkpoint: into main from release/2.0.1 @ e66f3a9876 (#16282)
Source hash: e66f3a9876
Remaining commits: 0
2023-09-08 11:21:00 -05:00
952c2d33a5 extend tests being parametrised by soft-fork (#15977)
* Make more tests parameterized by conftest.Mode (used for testing forks)

* limit test cases to save CI time

* bump timeouts

* run cat_wallet tests in parallel

* mypy type annotation fix in test_daemon.py

* Bump some wait_for_wallets_synced timeouts.

* remove unused test fixture

* address review comments

* bump datalayer timeout

* disable test_dusted_wallet() test

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2023-09-08 00:22:09 -05:00
Arvid NorbergandGitHub 2c3f54a44d push out CHIP-13 activation height (SOFT_FORK4) to the hard-fork (#16283) 2023-09-08 00:21:35 -05:00
Arvid NorbergandGitHub 2682be1282 flush only the updated parts of the height-to-hash cache file (#15996) 2023-09-07 20:46:52 -05:00
Amine Khaldi 2ebbb9c053 Merge commit 'e66f3a9876e9a1c4f3da30dd889d80a8627b6782' into checkpoint/main_from_release_2.0.1_e66f3a9876e9a1c4f3da30dd889d80a8627b6782 2023-09-07 21:38:24 +01:00
Matt HauffandGitHub f4f1528058 Add traceback to front-end error responses (#16280) 2023-09-07 15:31:44 -05:00
099abe4c36 checkpoint: into main from release/2.0.1 @ e66f3a9876 (#16281)
Updating changelog (#16264)

* Updating changelog

* Updating changelog

* Referencing issue

Co-authored-by: William Allen <wallentx@users.noreply.github.com>
2023-09-07 15:31:28 -05:00
Kyle AltendorfandGitHub 5cf8d2f27f report bad @pytest.mark.limit_consensus_modes() use with fixtureless tests (#16224)
report bad `@pytest.mark.limit_consensus_modes()` use fixtureless tests
2023-09-07 14:33:23 -05:00
Kyle AltendorfandGitHub 1c5b469c5b more ws message type awareness in the deamon (#15797) 2023-09-07 14:05:57 -05:00
Kyle AltendorfandGitHub d3f2dfaa1e log traceback for sync from fork point failed (#16221) 2023-09-07 14:04:14 -05:00
Amine KhaldiandGitHub 65c7b5878e Invoke python instead of python3 consistently in pre-commit flows (#16263)
Invoke python instead of python3 consistently in pre-commit flows.
2023-09-07 11:36:08 -05:00
Kyle AltendorfandGitHub 0b552d3e5a chiavdf==1.0.11 for setuptools fix (#16278) 2023-09-07 10:19:56 -05:00
9071480b4e Add --verbose option to data create_data_store and limit default output to the store id (#16110)
* Cleanup create_data_store.

* Use indent.

* Typo.

* Lint.

* Call tests with verbose.

* add back in fingerprint from cross-merge stuff

---------

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-09-06 18:56:29 -05:00
8cc32ed213 Delete DL files on unsubscribe. (#16182)
* Delete files on unsubscribe.

* Handle none case.

* Fix test.

v

* typo

* Lint.

* Update chia/data_layer/data_layer.py

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

* Apply suggestions from code review

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

* rewiew comments.

* review

* Update test_data_rpc.py

* Lint.

* Fix conflict.

* Add retain option.

* Fix test.

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-09-06 18:48:50 -05:00
Kyle AltendorfandGitHub 731ded3923 reference SHA in coverage diff comment (#16269) 2023-09-06 17:57:12 -05:00
Kyle AltendorfandGitHub 1bbfcfaf89 add new plugins: config allowing for custom headers (#16194)
* add new `plugins:` config allowing for custom headers

* add a test
2023-09-06 17:42:25 -05:00
Kronus91andGitHub 3c81911b37 Optimize NFT coin_added (#16227)
* Optimize NFT coin_added

* Resolve comments

* Resolve comment

* Resolve comments
2023-09-06 17:28:32 -05:00
Kronus91andGitHub 3f09054548 Optimize CAT coin_added (#16226)
* Optimize CAT coin_added

* Remove TODO
2023-09-06 17:28:00 -05:00
Chris MarslenderandGitHub e3f4368c5c Update all remaining glue calls to use the ${{ env.VAR }} syntax for accessing env vars (#16267) 2023-09-06 12:57:39 -06:00
William AllenandGitHub b475ad86f5 checkpoint: into main from release/2.0.1 @ 27ccd9a86d (#16266)
Source hash: 27ccd9a86d
Remaining commits: 1
2023-09-06 13:35:04 -05:00
53ab002502 @dataclass for DataLayer (#16204)
* `@dataclass` for `DataLayer`

* stop hashing `DataLayer`

* conditional shutdowns

* default for `none_bytes`

* separate

* Update chia/data_layer/data_layer.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

* Revert "separate"

This reverts commit 680d2833e4.

* default `._server`

* non-optional subscription lock

---------

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2023-09-06 13:01:46 -05:00
Kyle AltendorfandGitHub 353f12d5a3 commonize signal setup (#13568)
* commonize signal setup

* add signal setup for async handlers

* future

* Update misc.py

* catch up

* logging

* missed one

* context manager and waiting for signal handlers to complete

* correct logging

* fixup

* fixup
2023-09-06 13:01:11 -05:00
Kyle AltendorfandGitHub fba4a79db6 xfail core.server.test_loop.test_loop() (#16260)
Being worked on in https://github.com/Chia-Network/chia-blockchain/pull/16207.
2023-09-06 13:00:38 -05:00
dustinfaceandGitHub cd1d22d29b wallet: Fix and improve untrusted race caching (#16239) 2023-09-06 13:00:25 -05:00
dustinfaceandGitHub 4ee7fe27be wallet: Refactor new_peak in WalletStateManager and PoolWallet (#16262) 2023-09-06 12:59:55 -05:00
Amine Khaldi a91f90b36b Merge commit '27ccd9a86dab07f665820e1ed2e6a6e76c059c72' into checkpoint/main_from_release_2.0.1_27ccd9a86dab07f665820e1ed2e6a6e76c059c72 2023-09-06 17:23:35 +01:00
William AllenandGitHub 22b2a31374 checkpoint: into main from release/2.0.1 @ 861629ae9c (#16265)
Source hash: 861629ae9c
Remaining commits: 1
2023-09-06 11:22:02 -05:00
Amine Khaldi 4206def663 Merge commit '861629ae9ca28db83834d547994a79042ff0eefe' into checkpoint/main_from_release_2.0.1_861629ae9ca28db83834d547994a79042ff0eefe 2023-09-06 17:06:46 +01:00
William AllenandGitHub e66f3a9876 Updating changelog (#16264)
* Updating changelog

* Updating changelog

* Referencing issue
2.0.1
2023-09-06 10:47:23 -05:00
dustinfaceandGitHub d41bca0e75 simulator: Increase duration limit in test_callback of BlockTools (#16245) 2023-09-06 01:32:09 -05:00
Earle LoweandGitHub 27ccd9a86d Fix issue with GUI and chia plotters when making compressed plots (#16232)
* don't pass in no-direct-downloads on false

* Remove no-direct-downloads

* Remove no-direct-downloads
2.0.1-rc1
2023-09-05 15:46:11 -05:00
Arvid NorbergandGitHub bd165ddf2a remove unused test-blocks fixture (#16228)
remove unused test-blocks fixture. We also don't have these blocks in the test-cache repository
2023-09-05 14:40:08 -05:00
Arvid NorbergandGitHub 3cfd6c9fc7 add _run() method to Program (#16229) 2023-09-05 14:39:52 -05:00
Arvid NorbergandGitHub 762d677f7f Block tools compute cost (#16231)
* cleanup test by naming constants, and avoid repeating them

* simplify compute_cost_test() function in BlockTools
2023-09-05 14:39:39 -05:00
Chris MarslenderandGitHub 861629ae9c Installer Workflow Updates (#16248)
* Update remaining references to installer upload keys to OIDC provider (#16015)

* Fix var syntax on glue notifications for windows (#16202)
2023-09-05 14:38:41 -05:00
Kyle AltendorfandGitHub 7df9599b1a increase data store batch insert benchmark limit from 19s to 24s (#16235)
increate data store batch insert benchmark limit from 19s to 24s

https://github.com/Chia-Network/chia-blockchain/pull/16234

https://docs.google.com/spreadsheets/d/1AnyhNvJ2ZcqDqHu-4bzTo9XRjIrhcllmEGiGRbzYY8Y/edit#gid=0
2023-09-05 10:12:57 -05:00
Chris MarslenderandGitHub 830134045c Update build images, python versions, sqlite versions, node versions (#16203)
* Consolidate amd64/arm64 .deb installer workflow to one matrix

* Python + node version update on mac

* Update rpm to latest image + python version

* Update windows python + node version

* Quote all the python versions

* Fix node for .debs

* update to npx for rpm

* Mark workspace safe for rpm

* Use npx for node tools on mac

* npx on windows for node tools

* Set skip package install for rpm

* Revert "Set skip package install for rpm"

This reverts commit f8c5211f8b793fa7e4921a60f5eef5c28ee28868.

* skip-system-installs
2023-09-05 10:10:38 -05:00
dustinfaceandGitHub 9d97d28094 tests: Fix flaky test_complex_nft_offer[royalty_pts2-False] (#16218) 2023-09-05 08:47:25 -05:00
dustinfaceandGitHub 28f007aafd tests: Fix a BlockCache instance in test_weight_proof_extend_new_ses (#16217) 2023-09-05 08:47:11 -05:00
dustinfaceandGitHub 350534bf4f server: Drop unused send messages (#16215)
* Drop unused `WSChiaConnection.send_messages`

* Drop unused `WSChiaConnection.send_to_others`
2023-09-05 08:46:51 -05:00
dustinfaceandGitHub d0c00937b9 full_node: Stop updating wallets during long sync (#16062) 2023-09-05 08:46:17 -05:00
AN LongandGitHub ac74db4b17 Fix max-line-lengh for pylint (#15706) 2023-09-01 17:50:24 -05:00
Almog De PazandGitHub 67b3cec8a9 Timelord peak change (#15856)
* skip if known heavier unfinished block

* change comment

* None check

* None check

* None check

* test known heavier block skip

* rename

* tests

* lint

* fix test

* ccomment out lower weight case

* fix rc_hash check

* refactor check

* add init file

* fix setup_timelord call

* use class for tests

* add config to tests

* more lint

* more lint
2023-09-01 13:13:22 -05:00
Amine KhaldiandGitHub 09f5873eb5 Adapt some tests to the recent limit_consensus_modes mark (#16220)
Adapt some tests to the recent limit_consensus_modes mark.
2023-09-01 12:17:10 -05:00
Earle LoweandGitHub f5f9138470 Increase peak timeout due to slow runners (#16213) 2023-08-31 20:17:55 -05:00