Commit Graph

11466 Commits

Author SHA1 Message Date
Matt Hauff
efff83e7be
Add timelock information to Trades and Transactions (#15915) 2023-09-12 11:28:01 -05:00
Arvid Norberg
fd51693ba0
run_block_generator2() (#16241) 2023-09-12 11:27:37 -05:00
Matt Hauff
13eaf1fd10
Refactor simulator setups from async generators to context managers (#16126) 2023-09-12 10:01:28 -05:00
dustinface
e9b5937dce
wallet: Drop is_peer_synced / More cache usage (#16261) 2023-09-11 17:52:43 -05:00
Matt Hauff
c48beff81e
Fix test_dusted_wallet flakiness (#16288) 2023-09-11 15:44:14 -05:00
Geoff Walmsley
315d79e5b7
max_coin_amount should default to None in walllet send command (#16303) 2023-09-11 15:43:50 -05:00
Geoff Walmsley
a6b2bd2ea9
add fee for cat creation (#16285) 2023-09-11 15:43:39 -05:00
Florin Chirica
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
Jeff
b4dd2a4292
Rename USDS --> USDSC (#16295) 2023-09-11 12:54:18 -05:00
Kyle Altendorf
a2f3232ec2
move using_temp_file_keyring() decorator to test fixtures (#16296) 2023-09-11 12:54:03 -05:00
Amine Khaldi
4e968e8e40
Remove old debugging test (#16244) 2023-09-11 12:53:22 -05:00
Kyle Altendorf
e61e036d9d
@pytest.mark.limit_consensus_modes() in DataLayer RPC tests (#16300) 2023-09-11 12:53:07 -05:00
William Allen
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
Arvid Norberg
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 Norberg
2c3f54a44d
push out CHIP-13 activation height (SOFT_FORK4) to the hard-fork (#16283) 2023-09-08 00:21:35 -05:00
Arvid Norberg
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 Hauff
f4f1528058
Add traceback to front-end error responses (#16280) 2023-09-07 15:31:44 -05:00
Amine Khaldi
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 Altendorf
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 Altendorf
1c5b469c5b
more ws message type awareness in the deamon (#15797) 2023-09-07 14:05:57 -05:00
Kyle Altendorf
d3f2dfaa1e
log traceback for sync from fork point failed (#16221) 2023-09-07 14:04:14 -05:00
Amine Khaldi
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 Altendorf
0b552d3e5a
chiavdf==1.0.11 for setuptools fix (#16278) 2023-09-07 10:19:56 -05:00
Florin Chirica
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
Florin Chirica
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 Altendorf
731ded3923
reference SHA in coverage diff comment (#16269) 2023-09-06 17:57:12 -05:00
Kyle Altendorf
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
Kronus91
3c81911b37
Optimize NFT coin_added (#16227)
* Optimize NFT coin_added

* Resolve comments

* Resolve comment

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

* Remove TODO
2023-09-06 17:28:00 -05:00
Chris Marslender
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 Allen
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
Kyle Altendorf
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 Altendorf
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 Altendorf
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
dustinface
cd1d22d29b
wallet: Fix and improve untrusted race caching (#16239) 2023-09-06 13:00:25 -05:00
dustinface
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 Allen
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 Allen
e66f3a9876
Updating changelog (#16264)
* Updating changelog

* Updating changelog

* Referencing issue
2023-09-06 10:47:23 -05:00
dustinface
d41bca0e75
simulator: Increase duration limit in test_callback of BlockTools (#16245) 2023-09-06 01:32:09 -05:00
Earle Lowe
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
2023-09-05 15:46:11 -05:00
Arvid Norberg
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 Norberg
3cfd6c9fc7
add _run() method to Program (#16229) 2023-09-05 14:39:52 -05:00
Arvid Norberg
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 Marslender
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 Altendorf
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 Marslender
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
dustinface
9d97d28094
tests: Fix flaky test_complex_nft_offer[royalty_pts2-False] (#16218) 2023-09-05 08:47:25 -05:00