12485 Commits
Author SHA1 Message Date
Earle LoweandGitHub b29ae63674 Update changelog for 2.3.1 (#18070)
* Update changelog to 2.3.1

* Small fixups
2.3.1
2024-05-23 14:51:59 -05:00
Earle LoweandGitHub 9f207c2c2b [CHIA-593] - Add bridge CATs to known CAT list (#18064)
* [CHIA-593] - Add bridge CATs to known CAT list

* Fix typo
2.3.1-rc1
2024-05-23 11:05:38 -05:00
Kyle AltendorfandGitHub 8a7e023359 setuptools<70 for now (#18048) (#18066)
(cherry picked from commit 525d30a996)
2024-05-23 09:16:13 -05:00
4f2088d1ce Correct version numbers for dependant packages and add known issue (#17943) (#18067)
* Correct version numbers for dependant packages

* Include versions updates to dependant packages

* Added known issues

(cherry picked from commit 6d5eca2cff)

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2024-05-22 16:25:02 -05:00
Earle LoweandGitHub 5ec1416947 Update changelog for 2.3.0 (#17940)
2.3.0 Changelog
2.3.0
2024-05-01 07:21:54 -07:00
Chris MarslenderandGitHub 083e4824e1 Update gui pin to latest release/2.3.0 @ 34d2fdd25545e73e4578200de8cbaa6396f87ab3 (#17935) 2.3.0-rc4 2024-04-29 20:43:44 -07:00
Earle LoweandGitHub 11a2e29426 Change macos-latest to macos-12 in runners (#17936)
force use of macos-12
2024-04-29 18:30:14 -07:00
Izumi HoshinoandGitHub ddfcd77c88 Updated the GUI submodule ref (#17914) 2.3.0-rc3 2024-04-24 14:49:42 -07:00
Arvid NorbergandGitHub 861280f08c push out soft-fork 4 activation point to 5716000 (#17892)
push out soft-fork 4 activation point to 5716000 since the 2.3.0 release is slipping
2024-04-22 12:25:19 -07:00
Kyle AltendorfandGitHub f4d2d31646 update example.net IPs (release/2.3.0) (#17894)
* update `example.net` ip to `93.184.215.14`

* and v6
2024-04-19 12:45:18 -07:00
Izumi HoshinoandGitHub 71fcbf50b6 Updated the GUI submodule ref (#17862) 2024-04-18 14:25:53 -07:00
Izumi HoshinoandGitHub cfa218dd82 Added --skip-keyring option to chia start xxx command (#17857)
* Added `--skip-keyring` option to `chia start daemon` command

* Fixed a lint error and adopted review comments

* Fixed a lint error

* Fixed a test

* Fixed a test

* Added mocks to test

* Fixed a test

* Removed `bt: BlockTools` from the test case because it seemed to cause config file dead lock

* Removed unused mock method

* Set `parallel=False` to chia/_tests/cmds/config.py

* Set `parallel=False` to chia/_tests/core/util/config.py

* Added missing coverage

* Fixed mypy error
2024-04-17 10:02:42 -07:00
8b6f761791 Run core util tests sequential (#17871)
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2024-04-16 13:39:03 -07:00
Earle LoweandGitHub 9da7fd2980 Update GUI pin to release/2.3.0 (5b608f0c3) (#17854)
update GUI pin for 2.3.0
2.3.0-rc2
2024-04-10 15:21:54 -07:00
Florin ChiricaandGitHub a441eb1db7 DL migrate DB. (#17814)
* DL migrate DB.

* Add test.

* Add get_keys to the test.

* Skip mypy for dynamic classmember.

* Mypy.

* Black.

* Update data_store.py

* Add unknown version test.
2024-04-09 14:23:12 -07:00
Kyle AltendorfandGitHub 6c9636b2ad make junit collection optional and disable for now (#17828)
* make junit collection optional

* disable junit collection

* prettier

* no env

* no env

* one more
2024-04-05 12:28:38 -07:00
Arvid NorbergandGitHub 65ef0f4ec4 fix error codes and add more test coverage for message conditions (#17819) 2024-04-05 06:45:09 -07:00
Earle LoweandGitHub 7966d96b10 Add timeout for flaky test (#17823) 2024-04-04 11:36:50 -07:00
Patrick MaslanaandGitHub f1f4ab2f22 avoid 3.9+ type indexing in runtime code, relegate to hints (#17808)
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->
### Purpose:

Fix errors in release CI for older Python versions.

Slipped through nightly CI because we don't monitor it. Slipped through
Python 3.8 mypy checks because of
https://github.com/python/mypy/issues/15773.

<!-- Does this PR introduce a breaking change? -->
### Current Behavior:

Cast to `set`

### New Behavior:

Cast to `Set`
2024-04-02 07:37:00 -07:00
Kyle Altendorf 7c65c4363b fix other cases as well 2024-04-01 13:36:52 -04:00
Rigidity dd0c1751e7 Rename set to Set in cast 2024-04-01 11:36:19 -04:00
Patrick MaslanaandGitHub 07bc1f33e8 Fall back to default values for peer file path (#17802)
<!-- Merging Requirements:
- Please give your PR a title that is release-note friendly
- In order to be merged, you must add the most appropriate category
Label (Added, Changed, Fixed) to your PR
-->
<!-- Explain why this is an improvement (Does this add missing
functionality, improve performance, or reduce complexity?) -->
### Purpose:

Enhance backwards compatibility with this config option.

<!-- Does this PR introduce a breaking change? -->
### Current Behavior:

Would fail if peer file paths were not set.

### New Behavior:

Has a default value matching the initial config.
2024-03-30 12:14:39 -07:00
RigidityandGitHub 1ff7e09a5a Only log rollback if heights are actually deleted (#17803) 2024-03-30 10:48:05 -07:00
Rigidity 4e625a54d4 Fall back to default values for peer file path 2024-03-29 20:19:17 -04:00
Arvid NorbergandGitHub 23288e78b9 only print warnings about protocol mismatches for farmer and harvester (#17801)
only print warnings about protocol mismatches for farmer and harvester. In the future, maybe this should also include trusted wallets
2.3.0-rc1
2024-03-29 16:06:05 -07:00
Amine KhaldiandGitHub ec258d0ce6 Optimized v1 to v2 DB upgrade (#17793)
Optimized v1 to v2 DB upgrade.
2024-03-29 13:41:07 -07:00
RigidityandGitHub 23e88632d5 New subscription and wallet sync protocol (#17340)
* New wallet sync protocol

* New updates to protocol and initial tests

* Bump new message ids

* Bump protocol version

* Update existing messages

* Implementation of TransactionAddedUpdate

* Improve unit tests

* Update protocol and tests to use previous height

* Testing tweaks

* Remove transaction subscriptions

* Update protocol tests

* Fix request_coin_state test

* Improve test suite, add min_amount, fix bugs

* Update protocol message serialization tests

* Resolve conflicting file

* Remove old hint store code

* Remove transaction added protocol type

* Make height optional for genesis challenge

* Test subscribe after initial state and dedupe ids in that case

* Forcing an empty commit.

* Fix new protocol tests

* Improve performance of clearing subscriptions

* Add more amounts to coin store test

* Lower max items for coin store test

* Fix test coverage, set lower max response items

* Remove add_puzzle_subscriptions and remove_puzzle_subscriptions from protocol

* Update protocol message list test

* Fix valid reply len

* Fix performance issue in query and add error codes

* Add missing message to regression tes

* Add rate limits

* Add test for hint store get_coin_ids_multi

* Increase max puzzle hash batch size and make it a constant

* Use actual params on to_bytes

* Fix test

* Actually check output of no puzzle hash coin state test
2024-03-29 12:56:20 -07:00
Arvid NorbergandGitHub 4b90197eae Rename softfork (#17799)
* remove disabled tests from CHIP-13

* rename the new soft-fotk to soft-fork 4. We've already had soft-fork 3, but it's activated and its logic has been removed
2024-03-29 08:41:36 -07:00
f200fcf16b Separate protocol versions (#17791)
* use separate protocol versions for the different services

* Validate protocol version on handshake

* simplify checking protocol version for incoming connections

---------

Co-authored-by: Harold Brenes <h.brenes@chia.net>
2024-03-29 07:40:06 -07:00
Kyle AltendorfandGitHub 286726733f less order sensitivity in test_plotter_stop_plotting() (#17794) 2024-03-28 13:17:46 -07:00
Arvid NorbergandGitHub c67b8bbe5e message conditions (#17772)
* bump chia_rs to 0.6.1

* introduce soft-fork 3, to enable message conditions

* add wallet tests
2024-03-27 16:08:29 -07:00
Amine KhaldiandGitHub 105f07167a Speedup clean_node_table by leveraging relaxed foreign_keys (#17769)
* Speedup clean_node_table by leveraging relaxed foreign_keys.

* Present an attempt to address the delete_store_data scenario.
2024-03-27 12:39:54 -07:00
Felix BruckerandGitHub d09b61b72d Pass full version in Handshake (#15679)
* Pass full version in Handshake

* Move chia version conversion into crawler

* Rename to overloaded `chia_short_version` and always return str

* Ensure we extract major.minor.patch from invalid pep440 if available
2024-03-27 10:40:47 -07:00
Florin ChiricaandGitHub 1879faea40 Don't download DL existing DAT files. (#17730)
* Don't download DL existing DAT files.

* Lint.

* Try to improve coverage.
2024-03-27 09:33:26 -07:00
Matt HauffandGitHub 9bc137f0f8 Wait for synced in NFT test (#17790) 2024-03-27 09:16:11 -07:00
Amine KhaldiandGitHub 22608088e1 Optimize clean_node_table's query (#17779)
Optimize clean_node_table's query.
2024-03-27 09:15:43 -07:00
Kyle AltendorfandGitHub ed786e2f61 add foreign key delay (#17709)
* add foreign key delay

* handle non-`Row` foreign key error reports

* todos

* coverage

* rename to `foreign_key_enforcement_enabled=`
2024-03-27 09:14:57 -07:00
Earle LoweandGitHub 5dad9f2148 DL: stop using fee config setting and remove from initial config (#13374)
* DL: stop using fee config setting and remove from initial config

* Updates to set fee manually

* Set back explicit fee to original 0
2024-03-27 09:10:57 -07:00
Amine KhaldiandGitHub 97cd5a98b4 Improve get_seconds_and_delayed_puzhash_from_p2_singleton_puzzle (#17746)
Improve get_seconds_and_delayed_puzhash_from_p2_singleton_puzzle.

* Construct delayed_puzzle_hash as a proper bytes32 object.
* Mark unused values.
* Handle atom optionality before constructing return values.
2024-03-26 12:47:36 -07:00
Amine KhaldiandGitHub 3325046b16 Properly construct uint64 objects for LineageProof amounts in WalletSingletonStore's add_spend (#17747)
Properly construct uint64 objects for LineageProof amounts in WalletSingletonStore's add_spend.
2024-03-25 12:03:25 -07:00
Kyle AltendorfandGitHub 6adb099f9b switch to legacy-keyring as the extra name so it works (#17770) 2024-03-25 12:02:23 -07:00
Amine KhaldiandGitHub 57c9a7d387 Handle some atoms' optionality in WalletStateManager's determine_coin_type (#17748)
Handle some atoms' optionality in WalletStateManager's determine_coin_type.
2024-03-25 12:02:01 -07:00
Amine KhaldiandGitHub b1dd363256 Properly construct uint64 objects for Coin amounts (#17745)
Properly construct uint64 objects for Coin amounts.
2024-03-25 12:00:04 -07:00
Amine KhaldiandGitHub d4aa31ce73 Improve UncurriedNFT construction through uncurry (#17744)
Improve UncurriedNFT construction through uncurry.

* Handle optional atoms.
* Properly construct bytes32 objects.
* Mark unused values.
2024-03-25 11:59:50 -07:00
Amine KhaldiandGitHub d928ac0be7 Properly construct uint64 amounts for UnspentLineageInfo in get_unspent_lineage_info_for_puzzle_hash (#17743)
Properly construct uint64 amounts for UnspentLineageInfo in get_unspent_lineage_info_for_puzzle_hash.
2024-03-25 11:59:24 -07:00
Amine KhaldiandGitHub 19b823b57e Remove no longer needed consensus_mode limits (#17742)
Remove no longer needed consensus_mode limits.
2024-03-25 11:59:03 -07:00
Amine KhaldiandGitHub c40a508c9d Properly construct CATCoinData's mod and tail program hashes in CATWallet's coin_added (#17741)
Properly construct CATCoinData's mod and tail program hashes in CATWallet's coin_added.

This now handles optional values and constructs a bytes32 object on success.
2024-03-25 11:58:47 -07:00
Amine KhaldiandGitHub 763e01cc68 Correct launcher_id type in singleton_puzzle, p2_singleton_puzzle and their users (#17740)
Correct launcher_id type in singleton_puzzle, p2_singleton_puzzle and their users.
2024-03-25 11:58:32 -07:00
Kyle AltendorfandGitHub 6b42878ca2 update to aiohttp 3.9.2 (#17726)
* update to aiohttp 3.9.2

* correct testing of bans

* fixup

* again

* again (again)

* 🍌 ooh-ooh-aah-aah 🐒

* add back a test that banned host can not connect
2024-03-25 11:58:16 -07:00
Kyle AltendorfandGitHub def8661309 matrix pre-commit ci against python version (#17698)
* matrix pre-commit ci against python version

* name

* `.absolute()`
2024-03-25 11:58:04 -07:00