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
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
dustinface
28f007aafd
tests: Fix a BlockCache
instance in test_weight_proof_extend_new_ses
( #16217 )
2023-09-05 08:47:11 -05:00
dustinface
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
dustinface
d0c00937b9
full_node: Stop updating wallets during long sync ( #16062 )
2023-09-05 08:46:17 -05:00
AN Long
ac74db4b17
Fix max-line-lengh for pylint ( #15706 )
2023-09-01 17:50:24 -05:00
Almog De Paz
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 Khaldi
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 Lowe
f5f9138470
Increase peak timeout due to slow runners ( #16213 )
2023-08-31 20:17:55 -05:00
Kyle Altendorf
2ca2fd8a99
add -s passthrough for .github/actions/install/ ( #16205 )
...
* add -s passthrough for .github/actions/install/
* default to not doing system updates
* Update test-install-scripts.yml
* hmm
* Update action.yml
* Update test-install-scripts.yml
2023-08-31 15:15:09 -05:00
Amine Khaldi
a767c9b58e
Adapt recent full sync tests to ConsensusMode ( #16209 )
...
Adapt recent full sync tests to ConsensusMode.
2023-08-31 15:14:57 -05:00
Amine Khaldi
929fe7f359
Add some tests related to the state of the height-to-hash cache file ( #16147 )
...
* Add some tests related to the state of the height-to-hash cache file.
* Simplify checking the no difference case.
* Use Path.stat() where we don't need to read the file contents for comparison, just the size and mtime.
* Separate cache file tests into their own test functions.
* Use open instead of aiofiles, and delete from full_blocks instead of dropping the table and recreating it.
* Bring back content checking in the nothing new to write case.
2023-08-31 12:45:03 -05:00
Kronus91
3a82aacbbe
Prevent redundant peer calls in coin_added ( #15735 )
...
* Refine coin_added
* Resolve comments
* Fix assert
* Fix pre-commit
* Resolve comments
* Resolve comments
* Resolve comments
* Resolve comment
* Add todo
* Add generic
* resolve comment
* Fix cat
* Resolve comments
* Fix test
2023-08-31 12:42:30 -05:00
Earle Lowe
1463f0c84e
override class variables in limits tests in order to speed up test ( #16183 )
...
override class variables to speed up test
2023-08-31 12:42:20 -05:00
Karlkim Suwanmongkol
0a6719403e
Add a full node RPC endpoint, get_mempool_items_by_coin_name ( #16019 )
...
* get_mempool_items_by_coin_name
* use match parameter to check exception value
2023-08-31 12:17:20 -05:00
dependabot[bot]
b02fdfae0a
build(deps): bump filelock from 3.12.2 to 3.12.3 ( #16192 )
...
Bumps [filelock](https://github.com/tox-dev/py-filelock ) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.12.2...3.12.3 )
---
updated-dependencies:
- dependency-name: filelock
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-08-31 12:07:48 -05:00
Amine Khaldi
4c592f209f
Optimize and simplify farmer RPC get_signage_point() ( #15472 )
...
Optimize and simplify farmer RPC get_signage_point().
2023-08-31 12:05:42 -05:00
Amine Khaldi
33c923034e
Rename Mode enum to ConsensusMode ( #15794 )
...
Rename Mode enum to ConsensusMode.
2023-08-31 12:05:25 -05:00
Chris Marslender
9b12032494
Fix var syntax on glue notifications for windows ( #16202 )
2023-08-31 10:32:48 -05:00
Almog De Paz
d966f3f9e6
Add bad peak cache ( #16027 )
...
* add and check bad peak hash
* move check
* refactor, add tests, change cache to Dict
* pr fixes
* fix bad f-string
* refactor chip-0013 errors
* limit cache size, add size to constants
* test cache invalidation fix invalidation bug
* fix off by one
* move cache size to config
* remove bt conf override
* use get_peers_with_peak
* fix expected exception in test_soft_fork4_activation
2023-08-30 13:27:22 -05:00
Kyle Altendorf
4ba48af7a5
DataLayer fingerprint control ( #16132 )
...
* preliminary DataLayer fingerprint control implementation
* add cli and tests
* tidy
* catch up with `@pytest.mark.limit_consensus_modes`
* drop unneeded limit consensus modes
* deal with todos
2023-08-30 13:27:01 -05:00
Chris Marslender
78792a7230
Update to new notarytool ( #16189 )
...
* Remove notary-cli dependency
* Update to the new notarization method
* Add apple team id to the notarize command
2023-08-30 11:29:22 -05:00
Matt Hauff
6af4f86171
Add extra_conditions
as an option to transaction endpoints ( #15911 )
...
Add extra_conditions as an argument to all transaction methods
2023-08-29 13:48:16 -05:00
Arvid Norberg
05500ea840
fix waiting for co-routines in plotters_util.py ( #16184 )
2023-08-29 13:47:38 -05:00
Arvid Norberg
ec9d0096f4
demote log level for TIMESTAMP_TOO_FAR_IN_FUTURE errors ( #16101 )
2023-08-29 13:46:57 -05:00
Don Kackman
7ad7713b1f
type mismatch for last_time_farmed ( #16159 )
2023-08-29 13:39:37 -05:00
Amine Khaldi
a07a565096
Annotate test_block_height_map.py ( #16181 )
...
Annotate test_block_height_map.py.
2023-08-29 13:23:22 -05:00
Arvid Norberg
fd541bd40d
simplify a test the no longer needs to cover pre-soft-fork2 cases ( #16185 )
2023-08-29 13:23:09 -05:00
Earle Lowe
58d6acb263
Improve wallet rpc test consistency ( #16138 )
2023-08-28 18:04:02 -05:00
Earle Lowe
66877fa063
increase windows pytest threads to 3 ( #16139 )
2023-08-28 18:03:52 -05:00
Kyle Altendorf
a61c0961a7
@pytest.mark.limit_consensus_modes
(#16148 )
...
* `@pytest.mark.plain_consensus_only`
* add reasons
* tidy
* report them all
* remove unneeded usage
* not quite, but adjusting
* mark the test
* backup
* todos for fixtures for now
* maybe...
* limit_consensus_modes
* allow (and specify) multiple modes to limit to
* remove exploratory fixture implementation
2023-08-28 16:59:48 -05:00