Patrick Maslana
19867e7b18
checkpoint: into main from release/2.4.3 @ 85ca580214 ( #18515 )
...
Source hash: 85ca580214
Remaining commits: 0
2024-08-27 01:42:44 +08:00
Almog De Paz
483ec60771
fix long sync cache ( #18514 )
...
* fix long sync cache
* fix reorg test us add batch
* fix add_block and test
* lint
* ignore 0 height
2024-08-26 20:48:39 +08:00
Arvid Norberg
d1844b6b15
CHIA-1101: update BlockGenerator type ( #18508 )
...
change the type of ref_list to List[bytes] instead of List[SerializedProgram]. Also, avoid passing the block generator twice to the worker process for validation
2024-08-23 01:08:27 +08:00
Amine Khaldi
655da5564e
Merge commit '85ca5802143f6a7a0ec4e7c17c84e1ed9875770b' into checkpoint/main_from_release_2.4.3_85ca5802143f6a7a0ec4e7c17c84e1ed9875770b
2024-08-22 18:05:11 +01:00
Arvid Norberg
700a67344b
BlockchainInterface as a protocol (#18486 )
...
* turn BlockchainInterface into a proper Protocol, to allow mypy to check it
* split out a subset of BlockchainInterface into BlockRecordsInterface
* separate BlockCache into the (simple) production use case and the (complex) test use case of mocking a blockchain object
2024-08-23 01:02:43 +08:00
Arvid Norberg
387c70ac8e
pre_validate_blocks_multiprocessing Warm up the cache once per batch (#18484 )
...
factor out warming up the cache from the inner loop. We don't need to do it for every block
2024-08-22 02:05:18 +08:00
Kyle Altendorf
5376d9e6ae
maybe re-enable wallet ignore block validation autouse fixture ( #18215 )
2024-08-22 02:03:07 +08:00
wjblanke and Starttoaster
85ca580214
updated changelog for 2.4.3 ( #18503 )
...
* updated changelog for 2.4.3
* fixed release date
* Fix for prettier lint error
* Give fix changelog item a more descriptive line item
---------
Co-authored-by: Starttoaster <b.butler@chia.net >
2.4.3
2024-08-21 09:30:13 -07:00
Arvid Norberg
49a8aab5f0
get_puzzle_and_solution_for_coin() ( #18434 )
...
use the new, higher level, version of get_puzzle_and_solution_for_coin() from chia_rs. Also, pass along the ConsensusConstants passed in to get_name_puzzle_conditions(), get_puzzle_and_solution_for_coin(), get_spends_for_block() and mempool_check_time_locks()
2024-08-20 09:23:32 -07:00
Kyle Altendorf
ddfd1f9567
correct concurrency groups ( #18498 )
...
* correct concurrency groups
* ref
2024-08-19 15:27:05 -07:00
Matt Hauff
63027f5068
Source offer confirmed height from original coin state ( #18494 )
2024-08-19 09:32:06 -07:00
Matt Hauff
64003a63f5
[CHIA-1067] Integrate coin selection with action scopes ( #18424 )
...
* Add TXConfig to action scopes
* Fix DID test
* Fix CR-CAT method
* Fix NFT offer test
* Utilize streamable for WalletSideEffects serialization
* Integrate coin selection with action scopes
* Fix action scope test
* Fix DID test
* Fix NFT tests
* Fix NFT tests
2024-08-19 09:02:36 -07:00
Kyle Altendorf
a3c0cd3c57
poetry cache ( #18479 )
...
* enable poetry mode for python package cache
* test the branch
* Revert "test the branch"
This reverts commit d785413ede .
2024-08-19 23:53:39 +08:00
dependabot[bot]
eeaeedcd50
build(deps): bump black from 24.4.2 to 24.8.0 ( #18462 )
...
Bumps [black](https://github.com/psf/black ) from 24.4.2 to 24.8.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 23:53:07 +08:00
Kyle Altendorf
1bebbdc688
simplify the concurrency group ( #18309 )
...
* simplify the concurrency group
* empty
2024-08-19 23:52:51 +08:00
matt-o-how
0a76e22489
Replace get_flags_for_height_and_constants() with Rust version ( #18435 )
...
* replace get_flags_for_height_and_constants with rust version
* remove unused imports
* isort
2024-08-17 00:26:17 +08:00
Gene Hoffman
bd022b0c9b
Timelord logging: Updated peak to hex from bytestring ( #18467 )
...
* Timelord logging: Updated peak to hex from bytestring
* Use bytes.hex instead of unsupported .hex
* Use .hex the right way and remember Earle is almost always right
2024-08-15 09:08:10 -07:00
Matt Hauff
126a8a2d83
[CHIA-1115] Optimize create_coins_with_amounts a bit ( #18470 )
...
* Optimize `create_coins_with_amounts` a bit
* Just generate new for each conflicting amount
2024-08-15 09:07:49 -07:00
Arvid Norberg
7596d71f8e
bump chia_rs to 0.12.0 ( #18473 )
...
* bump chia_rs to 0.12.0
* ENABLE_MESSAGE_CONDITIONS has been removed and is enabled unconditionally
* update the name of Spend -> SpendConditions
2024-08-15 09:07:35 -07:00
Kyle Altendorf
7d88089e8f
more bytes32.from_hexstr() ( #18446 )
2024-08-14 15:05:41 -07:00
Matt Hauff
6f72c9aa5f
[CHIA-1068] Utilize streamable for WalletSideEffects serialization ( #18415 )
...
Utilize streamable for WalletSideEffects serialization
2024-08-14 15:05:17 -07:00
Kyle Altendorf
11123f85f7
refine streamable field typing to avoid an ignore ( #18445 )
...
* refine streamable field typing to avoid an ignore
* try again
* tidy
* maybe more
* overload
* non-overload
* typing_extensions
2024-08-14 15:04:49 -07:00
Amine Khaldi
18134d68b5
CHIA-1122 Simplify validate_block_body ( #18468 )
...
Simplify validate_block_body.
2024-08-14 15:04:27 -07:00
Matt Hauff
2c79776971
Deduplicate keychain code a bit ( #18471 )
2024-08-14 15:03:56 -07:00
Kyle Altendorf
25f22c8015
CHIA-420 remove Backend* warning ignores ( #18112 )
...
* remove `Backend*` warning ignores
* just tools on windows
* try again
* -k
* trigger but unhandled
* use my pywin32-ctypes branch
* all windows stuff
* less
* pywin32-ctypes==0.2.3
* back
* back
2024-08-14 09:27:11 -07:00
matt-o-how
b1893c7f8d
Rename Spend to SpendConditions ( #18438 )
...
* initial commit
* more test fixes
* avoid using try except
* black
* isort tests
* fix line endings
* only support current version of chia_rs
2024-08-14 09:25:49 -07:00
Matt Hauff and Amine Khaldi
723636b471
[CHIA-1092] Port test_cat_wallet.py to WalletTestFramework ( #18439 )
...
* temp
* Port `test_cat_creation`
* Port `test_cat_creation_unique_lineage_store`
* Delete `...reuse_address` test
* Port `test_get_wallet_for_asset_id`
* Port `test_cat_doesnt_see_eve`
* Port `test_cat_max_amount_send`
* Port `test_cat_hint`
* Port `test_cat_change_detection`
* Name test amount and fees in test_cat_creation.
* Use set_remainder for first test
* Match the ValueError we're expecting in test_cat_max_amount_send.
* Comment.
---------
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org >
2024-08-14 09:25:01 -07:00
Arvid Norberg
da01437b00
CHIA-1087: log the rate at which blocks are added during long sync ( #18442 )
...
log the rate at which blocks are added during long sync
2024-08-14 09:24:47 -07:00
Kyle Altendorf
5df8e81134
wait for it ( #18459 )
2024-08-14 09:24:03 -07:00
Arvid Norberg
6aa8c789da
remove soft-fork 4 special cases ( #18407 )
...
now that soft-fork 4 has activated, we can enable all its features by default and remove the activation height and tests
2024-08-13 13:23:35 -07:00
Starttoaster
6252540913
checkpoint: into main from release/2.4.3 @ 30e59a6d0e ( #18450 )
...
Source hash: 30e59a6d0e
Remaining commits: 0
2024-08-12 15:29:10 -07:00
Amine Khaldi
2b340da1f4
Merge commit '30e59a6d0ee517cdbb4a5a44ed51c4afe9ee61a4' into checkpoint/main_from_release_2.4.3_30e59a6d0ee517cdbb4a5a44ed51c4afe9ee61a4
2024-08-12 20:23:52 +01:00
Izumi Hoshino
30e59a6d0e
Bump the GUI submodule ref ( #18428 )
...
Updated GUI pin
2.4.3-rc3
2024-08-12 12:11:57 -07:00
Starttoaster
c251fabf7f
checkpoint: into main from release/2.4.3 @ 3d0bc95341 ( #18444 )
...
Source hash: 3d0bc95341
Remaining commits: 0
2024-08-12 11:19:29 -07:00
Amine Khaldi
b4375e2f7a
Merge commit '3d0bc95341fe56f8e37f8ed3194f63c176b598f6' into checkpoint/main_from_release_2.4.3_3d0bc95341fe56f8e37f8ed3194f63c176b598f6
2024-08-12 16:39:39 +01:00
Earle Lowe
3d0bc95341
CHIA-1084: Address some problems launching the daemon from the GUI on Windows ( #18427 )
...
* Add some prints to launch_start_daemon
* don't use shutil.which when already have file extension
* bad code is bad
* Adjust prints
* black fix
* Cleanup code with single print
2024-08-12 08:35:37 -07:00
dependabot[bot] and Earle Lowe
495593089b
build(deps): bump mypy from 1.10.0 to 1.11.1 ( #18412 )
...
* build(deps): bump mypy from 1.10.0 to 1.11.1
Bumps [mypy](https://github.com/python/mypy ) from 1.10.0 to 1.11.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Updates for new mypy
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net >
2024-08-11 23:20:56 -07:00
Starttoaster
89e2c76210
checkpoint: into main from release/2.4.3 @ d1464da947 ( #18430 )
...
Source hash: d1464da947
Remaining commits: 0
2024-08-09 00:23:37 -07:00
Amine Khaldi
a712409bbc
Merge commit 'd1464da947f04554e8680009539b80723c65cef7' into checkpoint/main_from_release_2.4.3_d1464da947f04554e8680009539b80723c65cef7
2024-08-08 17:05:23 +01:00
Arvid Norberg
8d8cd5816e
bump chia_rs to 0.11.0 ( #18429 )
...
bump chia_rs to 0.11.0. This version removes a few flags that are now enabled by default
2024-08-08 08:52:00 -07:00
Arvid Norberg
9273a61459
CHIA-902 make Program.run() and Program.run_with_cost() default to enabling all the most recent features ( #18370 )
...
address Richard's review comments on the recent Program.run() changes
2024-08-08 00:58:32 -07:00
Starttoaster
47457c5bf8
checkpoint: into main from release/2.4.3 @ 9c49b1e61e ( #18425 )
...
Source hash: 9c49b1e61e
Remaining commits: 0
2024-08-07 15:43:32 -07:00
Matt Hauff
5761229f1b
Remove unused (kinda) functionality ( #18408 )
2024-08-07 15:03:30 -07:00
dependabot[bot]
6da47c26a2
build(deps): bump coverage from 7.5.3 to 7.6.1 ( #18414 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 7.5.3 to 7.6.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.5.3...7.6.1 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 11:58:37 -07:00
Earle Lowe
d1464da947
CHIA-783: Stop auto-subscribing to local stores ( #18166 )
...
* less auto-subscribing
* Make sure to include owned stores in the managed data loop
* Rearrange flaky test
* trying out flaky and increase timeout
* Test adjustments
* Change to not actually subscribing to owned stores
* Fix up typo
* More test adjustments
* return error when unsubscribing from not-subscribed store
* Add flaky
* flaky is optional dependency
* Increase timeout testing
* Ignore errors in getting owned stores during data loop
* Undo changes to test code
* Need to self-subscribe in unsub tests
* Add tests for auto_subscribe_to_local_stores
* Add negative test and remove flaky
* Linting
* Some test adjustments
* Linting fixes
* updates per PR comments
2.4.3-rc2
2024-08-07 11:54:45 -07:00
Amine Khaldi
792978acf2
Merge commit '9c49b1e61e6095758d5f1793cebdade06ad9ac6a' into checkpoint/main_from_release_2.4.3_9c49b1e61e6095758d5f1793cebdade06ad9ac6a
2024-08-07 19:31:07 +01:00
Starttoaster
3bbd3a0401
checkpoint: into main from release/2.4.3 @ fd5f794e2d ( #18423 )
...
Source hash: fd5f794e2d
Remaining commits: 1
2024-08-07 11:27:31 -07:00
Matt Hauff
8bc332f95e
[CHIA-1037] Add TXConfig to action scopes ( #18406 )
...
* Add TXConfig to action scopes
* Fix DID test
* Fix CR-CAT method
* Fix NFT offer test
2024-08-07 11:27:13 -07:00
Adam Kelly
3200e6b7eb
Make 'chia plotnft -f fingerprint -i wallet_id' output JSON ( #18387 )
2024-08-07 11:26:53 -07:00
Amine Khaldi
182f3ce420
Merge commit 'fd5f794e2de54681a5e9df6a621fd7a7dc0a760e' into checkpoint/main_from_release_2.4.3_fd5f794e2de54681a5e9df6a621fd7a7dc0a760e
2024-08-07 17:15:47 +01:00