Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle Altendorf d4dc7b237a only precommit poetry for relevant changes 2025-07-16 19:35:47 -04:00
Kyle AltendorfandGitHub 13917fcb89 update zstd to 1.5.7.2 (#19804)
* update zstd to 1.5.7.2

* Update poetry.lock
2025-07-16 16:31:10 -07:00
Kyle Altendorf eccba6dd56 do a poetry lock in pre-commit poetry check 2025-07-16 19:27:57 -04:00
Kyle AltendorfandGitHub d352be14f3 use logical core count for batch size when lazy building dl cache (#19834) 2025-07-16 15:50:54 -04:00
Amine Khaldi 0f0f2a05de Merge commit '590317c47fe5ef3406ee04835b7f730b80ce7fd0' into checkpoint/main_from_release_2.5.5_590317c47fe5ef3406ee04835b7f730b80ce7fd0 2025-07-16 18:15:20 +01:00
Matt HauffandGitHub 018c3fe46e [CHIA-3293] Port get_wallets to @marshal decorator (#19770)
* Port `get_wallets`

* Suggestion by @altendky
2025-07-16 09:07:56 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4ba3f00112 build(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /build_scripts/npm_linux (#19810)
build(deps): bump brace-expansion in /build_scripts/npm_linux

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-16 09:07:43 -07:00
github-actions[bot]andGitHub d3c165b1ff CA Cert updates (#19817)
Newest Mozilla CA cert
2025-07-16 09:07:29 -07:00
StarttoasterandGitHub 2757c59782 checkpoint: into main from release/2.5.5 @ 96aeaf3e68 (#19819)
Source hash: 96aeaf3e68
Remaining commits: 0
2025-07-16 09:07:14 -07:00
96d1356b65 [CHIA-3388] Port test_cat_endpoints in test_wallet_rpc.py to WalletTestFramework and R-CATs (#19818)
* Port `test_cat_endpoints` to `WalletTestFramework`

* Use mint_cat from cat tests

* Add RCAT parametrization

* Delete now unnecessary `from_zero`

* Minor clarification.

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2025-07-15 15:43:10 -07:00
Kyle AltendorfandGitHub 590317c47f recover chiabip tgz in poetry lock (#19806) 2025-07-15 15:21:38 -07:00
Florin ChiricaandGitHub ee589a6199 DL Check root hash in missing hashes. (#19797)
* DL Check root hash in missing hashes.

* Poetry.

* Send root hash param.

* Switch branch.

* Use correct branch name.
2025-07-15 14:09:58 -04:00
Amine Khaldi e6531709bf Merge commit '96aeaf3e685f51a3ef9901228005109fc97687ed' into checkpoint/main_from_release_2.5.5_96aeaf3e685f51a3ef9901228005109fc97687ed 2025-07-15 16:36:14 +01:00
matt-o-howandGitHub 9f8ba79ac8 Use chia_rs in API instead of clvm (#19803)
* initial commit

* fix precommit errors

* test passing

* ruff

* remove SpendInfo and mempool_check_conditions

* no need to call it _rust now

* fix mempool test

* fix precommit errors

* fix test generator tools

* add comment about impending chia_rs fix
2025-07-15 08:34:45 -07:00
Kyle AltendorfandGitHub 96aeaf3e68 our miniupnpc wheels (#19814)
* our miniupnpc_wheels

* Update poetry.lock
2025-07-15 08:33:17 -07:00
Florin ChiricaandGitHub 7d077cdc46 DL Code Cleanup (#19782)
* DL code cleanup

* Lint.
2025-07-14 22:25:57 -04:00
Kyle AltendorfandGitHub ab9e729513 fewer mutable defaults (#19800)
* fewer mutable defaults

* catchup
2025-07-14 14:42:22 -07:00
Richard KissandGitHub 7cee2b2b61 ruff issues (#19787) 2025-07-14 08:52:42 -05:00
Arvid NorbergandGitHub 46bc14b178 [CHIA-2827] simplify MempoolManager by removing EligibilityAndAdditions (#19801)
* simplify MempoolManager by removing EligibilityAndAdditions

* review comment

* review comments
2025-07-14 08:52:08 -05:00
Kyle AltendorfandGitHub 4d188e0a51 catchup: into long_lived/datalayer_merkle_blob from main @ dac837e799 (#19808)
Source hash: dac837e799
Remaining commits: 0
2025-07-14 09:13:36 -04:00
Kyle Altendorf fb8de7a1b3 Merge commit 'dac837e79961fa5ce9611d5531d789211031c465' into catchup/long_lived_datalayer_merkle_blob_from_main_dac837e79961fa5ce9611d5531d789211031c465 2025-07-11 22:35:57 -04:00
Richard KissandGitHub d01758f9c8 BlockHeightMapProtocol (#19798) 2025-07-11 19:38:14 -05:00
Arvid NorbergandGitHub dac837e799 bump chia_rs (#19802) 2.5.5-rc1 2025-07-10 16:12:29 -05:00
b9710b19a9 Add RCATs to wallet (#19795)
* Add RCATs to wallet

* undo outer puzzle changes and fix tests

* logging

* update testnet overrides in wallet

* some empirical debugging

* comments by @altendky

* fix an accident

* a bit better

* comment by @altendky

* Add RCAT to all relevant enumerations

* reorder

---------

Co-authored-by: arvidn <arvid@libtorrent.org>
2025-07-10 15:35:07 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1fba37e44d build(deps): bump pytest from 8.3.5 to 8.4.1 (#19751)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.5 to 8.4.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.5...8.4.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 8.4.1
  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>
2025-07-10 11:26:33 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
64702fe098 build(deps): bump coverage from 7.9.1 to 7.9.2 (#19789)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.9.1 to 7.9.2.
- [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.9.1...7.9.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.9.2
  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>
2025-07-09 20:50:27 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
33a74cd7f5 build(deps): bump pytest-xdist from 3.7.0 to 3.8.0 (#19777)
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.7.0...v3.8.0)

---
updated-dependencies:
- dependency-name: pytest-xdist
  dependency-version: 3.8.0
  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>
2025-07-09 20:50:15 -05:00
Amine KhaldiandGitHub c609d0bba1 CHIA-2900 Fast forward mempool optimization (#19713)
Fast forward mempool optimization.
2025-07-09 20:49:45 -05:00
Jack NelsonandGitHub 5c6c75c59d CHIA-2638 Full Node RPC Validation Tool (#19743)
* add rpc validation tool

still wip

* forgot to call function ....

* fix no sync error

* add comment

* Update validate_rpcs.py

* test slight modifications

* Update validate_rpcs.py

* try fixing time measuring

* fix stupidity

* make benchmark more precise

* fixes + optimizations

* Update validate_rpcs.py

* speed?

* Update validate_rpcs.py

* last tweak

* Address Minor Changes

renaming, simplifying loading

* change to task group

* Revert "change to task group"

This reverts commit 1416872bab.

* try super speedy code

(Pre commit isnt working)

* meant to remove

* add + rem seperate error cond

* loop through dropped blocks.

* rename to pipline and abandon retries

* revert changes to rpcs
2025-07-09 20:49:31 -05:00
Arvid NorbergandGitHub 37d0a3c724 update testnet overrides in wallet (#19796) 2025-07-09 20:49:10 -05:00
Matt HauffandGitHub 3eb47070a3 Replace CATWallet.create_new_cat_wallet in test_cat_wallet.py (#19788)
* Replace `CATWallet.create_new_cat_wallet` in `test_cat_wallet.py`

* pre-commit

* change CRCATWallet as well
2025-07-08 11:59:41 -05:00
13d9d62e41 [CHIA-1311] Port DID RPCs to @marshal decorator (#19708)
* Port `did_set_wallet_name`

* Port `did_get_wallet_name`

* Port `did_update_recovery_ids`

* Port `did_message_spend`

* Port `did_get_info`

* Port `did_find_lost_did`

* fix test

* Port `did_update_metadata`

* Port `did_get_did`

* Port `did_get_recovery_list`

* Port `did_get_metadata`

* Port `did_get_pubkey`

* Port `did_get_information_needed_for_recovery`

* Port `did_get_current_coin_info`

* Port `did_create_backup_file`

* Port `did_transfer_did`

* Add extra_conditions uniformly in CLI tests

* test coverage

* Minor changes.

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2025-07-08 11:57:58 -05:00
387d8073a4 [CHIA-2639] drop spends we can't serialize rather than the whole request (#19773)
* drop spends we can't serialize rather than the whole request, in get_spends_for_block() et. al.

* Update chia/_tests/core/full_node/test_generator_tools.py

Co-authored-by: matt-o-how <48453825+matt-o-how@users.noreply.github.com>

---------

Co-authored-by: matt-o-how <48453825+matt-o-how@users.noreply.github.com>
2025-07-07 09:14:44 -07:00
Arvid NorbergandGitHub 9ab42fb4d2 update constant testnet overrides for timelord (#19783) 2025-07-07 09:14:25 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3d4edb35d4 build(deps): bump boto3 from 1.38.34 to 1.39.1 (#19779)
Bumps [boto3](https://github.com/boto/boto3) from 1.38.34 to 1.39.1.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.38.34...1.39.1)

---
updated-dependencies:
- dependency-name: boto3
  dependency-version: 1.39.1
  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>
2025-07-03 09:22:13 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
af9ee104a8 build(deps): bump lxml from 5.4.0 to 6.0.0 (#19781)
Bumps [lxml](https://github.com/lxml/lxml) from 5.4.0 to 6.0.0.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.4.0...lxml-6.0.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-03 09:22:01 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
213fd8577e build(deps): bump pytest-cov from 6.1.1 to 6.2.1 (#19754)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 6.1.1 to 6.2.1.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v6.1.1...v6.2.1)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-version: 6.2.1
  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>
2025-07-03 09:21:37 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
77bfa9cc9f build(deps): bump pytest-mock from 3.14.0 to 3.14.1 (#19755)
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.14.0 to 3.14.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.14.0...v3.14.1)

---
updated-dependencies:
- dependency-name: pytest-mock
  dependency-version: 3.14.1
  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>
2025-07-03 09:21:18 -07:00
Arvid NorbergandGitHub 3491f1aeae Plot v2 quality string (#19769)
* add shortcuts for bytes32 and G1Element to test_proof_of_space.py to make it a bit easier to read

* introduce calculate_plot_difficulty(), for incrementing plot difficulty over time. Tweak the placeholder cut-over block heights to make it possible to test

* update verify_and_get_quality_string() to support more aspects of v2 plots. update the v2 proof verification stub to take plot difficulty. add plot filter test cases for v2 plots

* move some tests from weight-proof to proof-of-space
2025-07-03 09:21:07 -07:00
Arvid NorbergandGitHub 0864c34d5b [CHIA-3205] unify test constants on the ones used by BlockTools (#19768)
unify test constants on the ones used by BlockTools
2025-07-02 14:19:04 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
793303cc8f build(deps): bump diff-cover from 9.3.2 to 9.4.1 (#19756)
Bumps [diff-cover](https://github.com/Bachmann1234/diff-cover) from 9.3.2 to 9.4.1.
- [Release notes](https://github.com/Bachmann1234/diff-cover/releases)
- [Changelog](https://github.com/Bachmann1234/diff_cover/blob/main/CHANGELOG)
- [Commits](https://github.com/Bachmann1234/diff-cover/compare/v9.3.2...v9.4.1)

---
updated-dependencies:
- dependency-name: diff-cover
  dependency-version: 9.4.1
  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>
2025-06-30 16:08:51 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1d77f5abf6 build(deps): bump aiohttp from 3.12.2 to 3.12.13 (#19753)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.12.2 to 3.12.13.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.12.2...v3.12.13)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.12.13
  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>
2025-06-30 16:08:06 -07:00
a125e7b690 Create CoinStoreProtocol to remove a dependencies on chia.full_node from chia.consensus (#19741)
* `CoinStoreProtocol`

* Remove `.get_all_coins`

* Apply suggestions from code review

Uses `...` instead of values.

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Add `.is_empty` to protocol

* Improve test fixture stuff

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-06-30 16:05:40 -07:00
Kyle AltendorfandGitHub 47d5ce851e nft wallet job timeout reduced to 25 minutes (#19694)
https://github.com/Chia-Network/chia-blockchain/actions/runs/15542276957/usage
2025-06-27 13:54:21 -07:00
Matt HauffandGitHub f782fa8341 [CHIA-1315] Port (wallet) DataLayer endpoints to @marshal (#19689)
* Port `create_new_dl`

* Forgot default_raise

* Port `dl_track_new`

* Port `dl_stop_tracking`

* Port `dl_latest_singleton`

* Port `dl_singletons_by_root`

* fix test

* Port `dl_update_root`

* Port `dl_update_multiple`

* fix tests

* Port `dl_history`

* Port `dl_owned_singletons`

* Port `dl_get_mirrors`

* Make `Mirror` streamable (and fix test)

* Port `dl_new_mirror`

* push=True

* Port `dl_delete_mirror`

* Port `dl_verify_proof`

* Fix test

* fix import
2025-06-27 11:29:24 -07:00
Arvid NorbergandGitHub 9d8c170b1a Fix plot size override (#19771)
* fix testnet11 plot size override as the constant has changed name

* correct overrides when starting the harvester as well

* update
2025-06-27 11:29:07 -07:00
Amine KhaldiandGitHub 777884f3b7 CHIA-3250 Unify fork peak and reward coins handling between ForkInfo's include_spends and include_block (#19766)
Unify fork peak and reward coins handling between ForkInfo's include_spends and include_block.
2025-06-26 23:33:05 -07:00
Amine KhaldiandGitHub 91e4c16d25 CHIA-3207 Pass coin IDs from Blockchain's _reconsider_peak to CoinStore's new_block to avoid recomputing them (#19749)
Pass coin IDs from Blockchain's _reconsider_peak to CoinStore's new_block to avoid recomputing them.
2025-06-26 16:29:25 -07:00
Kyle AltendorfandGitHub 1fa28872e2 use poetry sync in install scripts (#19762) 2025-06-26 16:29:15 -07:00
Arvid NorbergandGitHub 8a874623ec compute plot filter on the harvester (#19765)
compute plot filter on the harvester instead of passing it in the NewSignagePointHarvester protocol message. With v2 plots the plot filter will differ, so it depends on which plot we find a proof in
2025-06-26 11:16:06 -07:00