Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle AltendorfandGitHub 5376d9e6ae maybe re-enable wallet ignore block validation autouse fixture (#18215) 2024-08-22 02:03:07 +08:00
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 NorbergandGitHub 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 AltendorfandGitHub ddfd1f9567 correct concurrency groups (#18498)
* correct concurrency groups

* ref
2024-08-19 15:27:05 -07:00
Matt HauffandGitHub 63027f5068 Source offer confirmed height from original coin state (#18494) 2024-08-19 09:32:06 -07:00
Matt HauffandGitHub 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 AltendorfandGitHub 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]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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 AltendorfandGitHub 1bebbdc688 simplify the concurrency group (#18309)
* simplify the concurrency group

* empty
2024-08-19 23:52:51 +08:00
Kyle Altendorf dda307a677 add c_profile fixture 2024-08-16 12:29:58 -04:00
Kyle Altendorf 90c37a84e4 ignore astuple mypy complaint 2024-08-16 12:28:35 -04:00
matt-o-howandGitHub 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
Florin ChiricaandGitHub 6094e0863f Lint. 2024-08-16 19:00:50 +03:00
Kyle Altendorf 96cb0a0ba4 Merge branch 'main' into fc.merkle_blob 2024-08-16 11:10:20 -04:00
Florin Chirica 827e86f137 Apply Kyle's change. 2024-08-16 17:56:01 +03:00
Florin ChiricaandGitHub d1a2092a1a Go with lower limits. 2024-08-16 05:23:23 +03:00
Gene HoffmanandGitHub 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 HauffandGitHub 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 NorbergandGitHub 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
Florin Chirica 5b764026c3 Add upsert. 2024-08-15 03:47:19 +03:00
Kyle AltendorfandGitHub 7d88089e8f more bytes32.from_hexstr() (#18446) 2024-08-14 15:05:41 -07:00
Matt HauffandGitHub 6f72c9aa5f [CHIA-1068] Utilize streamable for WalletSideEffects serialization (#18415)
Utilize streamable for WalletSideEffects serialization
2024-08-14 15:05:17 -07:00
Kyle AltendorfandGitHub 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 KhaldiandGitHub 18134d68b5 CHIA-1122 Simplify validate_block_body (#18468)
Simplify validate_block_body.
2024-08-14 15:04:27 -07:00
Matt HauffandGitHub 2c79776971 Deduplicate keychain code a bit (#18471) 2024-08-14 15:03:56 -07:00
Kyle AltendorfandGitHub 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-howandGitHub 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
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 NorbergandGitHub 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 AltendorfandGitHub 5df8e81134 wait for it (#18459) 2024-08-14 09:24:03 -07:00
Florin Chirica 64a4b94f79 Lint. 2024-08-14 04:56:03 +03:00
Florin Chirica 62973f7520 Lint.: 2024-08-14 04:45:54 +03:00
Florin Chirica f7bfa2c2d6 Improve test. 2024-08-14 04:37:00 +03:00
Arvid NorbergandGitHub 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
Florin Chirica 27b341e36b Lint. 2024-08-13 05:24:37 +03:00
Florin Chirica a78f0eda24 Add free positions. 2024-08-13 05:16:03 +03:00
StarttoasterandGitHub 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 HoshinoandGitHub 30e59a6d0e Bump the GUI submodule ref (#18428)
Updated GUI pin
2.4.3-rc3
2024-08-12 12:11:57 -07:00
StarttoasterandGitHub 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 LoweandGitHub 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]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>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
Florin Chirica 03f51197d6 Lint. 2024-08-10 03:48:04 +03:00
Florin Chirica 73e42221c5 Fix test. 2024-08-10 03:33:37 +03:00
Florin Chirica 8453b52421 Add proof of inclusion code. 2024-08-10 03:14:49 +03:00
StarttoasterandGitHub 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 NorbergandGitHub 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 NorbergandGitHub 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