Skip to content

Conversation

altendky
Copy link
Contributor

Source hash: dac837e
Remaining commits: 0

Quexington and others added 30 commits June 24, 2025 11:04
* Port `nft_mint_nft`

* Fix tests

* More test fixes

* Port `nft_count_nfts`

* Port `nft_list_nfts`

* Fix tests

* Port `nft_set_nft_did`

* Fix tests

* Port `nft_set_did_bulk`

* Port `nft_transfer_bulk`

* Port `nft_get_by_did`

* Port `nft_get_wallet_did`

* fix tests

* Fix one more test

* Okay actually fix the test

* Port `nft_get_wallets_with_dids`

* Port `nft_set_nft_status`

* Port `nft_transfer_nft`

* Use kwargs

* Forgot default raise

* Port `nft_get_info`

* Port `nft_add_uri`

* d

* Port `nft_calculate_royalties`

* Fix tests

* Port `nft_mint_bulk`

* Add test coverage for cmd line offering CAT by asset ID

* Add test coverage for a more complex offer take

* Add test coverage for `NFTCalculateRoyalties.__post_init__()

* test coverage generally

* Actually dont commit puzzle hashes when push=False

* Inadvertent test breakage

* Fix tests

* Fix tests

* Fix test

* Fix hopefully one more test

* Comments by @altendky

* small improvement @altendky

Co-authored-by: Kyle Altendorf <[email protected]>

* small improvement @altendky

Co-authored-by: Kyle Altendorf <[email protected]>

---------

Co-authored-by: Kyle Altendorf <[email protected]>
* drop universal mypy ignore missing imports

* delete nor comment out

* ignore our use of the private `_overlapped`

* type...

* on same line. go me
* Port `pw_join_pool`

* fix tests

* fix moar tests

* Port `pw_self_pool`

* Fix test

* Port `pw_absorb_rewards`

* Port `pw_status`

* Simplifications.

---------

Co-authored-by: Amine Khaldi <[email protected]>
Simplify SpendSim's farm_block.
* bump chia_rs to 0.26.0

* review comments

* more review comments

* fix lockfile
* migrate casts to wallet util

* reset mempool_check_conditions

* ruff to re-order imports

* reset full_node_rpc_api

* add tests for casts

* ruff and type

* move to util to avoid consensus depending on wallet

* ruff again

* add a deterministic seed for random
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
…re'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.
…s include_spends and include_block (#19766)

Unify fork peak and reward coins handling between ForkInfo's include_spends and include_block.
* fix testnet11 plot size override as the constant has changed name

* correct overrides when starting the harvester as well

* update
* 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
…e` from `chia.consensus` (#19741)

* `CoinStoreProtocol`

* Remove `.get_all_coins`

* Apply suggestions from code review

Uses `...` instead of values.

Co-authored-by: Kyle Altendorf <[email protected]>

* Add `.is_empty` to protocol

* Improve test fixture stuff

---------

Co-authored-by: Kyle Altendorf <[email protected]>
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](aio-libs/aiohttp@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](Bachmann1234/diff_cover@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…9768)

unify test constants on the ones used by BlockTools
* 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
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](pytest-dev/pytest-mock@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](pytest-dev/pytest-cov@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](lxml/lxml@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [boto3](https://github.com/boto/boto3) from 1.38.34 to 1.39.1.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](boto/boto3@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…est (#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 <[email protected]>

---------

Co-authored-by: matt-o-how <[email protected]>
* 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 <[email protected]>
Quexington and others added 10 commits July 8, 2025 11:59
…9788)

* Replace `CATWallet.create_new_cat_wallet` in `test_cat_wallet.py`

* pre-commit

* change CRCATWallet as well
* 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 1416872.

* 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
Fast forward mempool optimization.
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](pytest-dev/pytest-xdist@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](nedbat/coveragepy@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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](pytest-dev/pytest@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 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 <[email protected]>
…long_lived_datalayer_merkle_blob_from_main_dac837e79961fa5ce9611d5531d789211031c465
@altendky altendky requested a review from a team as a code owner July 12, 2025 02:36
@altendky altendky added checkpoint_merge Changed Required label for PR that categorizes merge commit message as "Changed" for changelog labels Jul 12, 2025
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​aiohttp@​3.12.2 ⏵ 3.12.1397 +1100100100100
Updatedpypi/​botocore@​1.38.34 ⏵ 1.39.19810010010070
Updatedpypi/​diff-cover@​9.3.2 ⏵ 9.4.198 +110010010080
Updatedpypi/​boto3@​1.38.34 ⏵ 1.39.199100100100100

View full report

Copy link

Pull Request Test Coverage Report for Build 16233432773

Details

  • 2102 of 2185 (96.2%) changed or added relevant lines in 109 files are covered.
  • 50 unchanged lines in 15 files lost coverage.
  • Overall coverage increased (+0.09%) to 91.254%

Changes Missing Coverage Covered Lines Changed/Added Lines %
chia/_tests/wallet/nft_wallet/config.py 0 1 0.0%
chia/wallet/nft_wallet/ownership_outer_puzzle.py 2 3 66.67%
chia/wallet/wallet_request_types.py 455 456 99.78%
chia/_tests/core/custom_types/test_proof_of_space.py 28 30 93.33%
chia/cmds/dev/data.py 1 3 33.33%
chia/cmds/wallet_funcs.py 50 52 96.15%
chia/wallet/vc_wallet/vc_drivers.py 21 23 91.3%
chia/cmds/plotnft_funcs.py 17 20 85.0%
chia/data_layer/data_layer.py 29 32 90.63%
chia/wallet/cat_wallet/lineage_store.py 1 6 16.67%
Files with Coverage Reduction New Missed Lines %
chia/data_layer/data_layer.py 1 85.71%
chia/plotters/plotters.py 1 90.94%
chia/wallet/nft_wallet/transfer_program_puzzle.py 1 88.89%
chia/wallet/util/wallet_sync_utils.py 1 86.07%
chia/cmds/wallet_funcs.py 2 84.97%
chia/full_node/full_node_api.py 2 85.45%
chia/timelord/timelord_launcher.py 2 90.71%
chia/wallet/wallet_rpc_api.py 2 92.09%
chia/rpc/rpc_server.py 3 88.24%
chia/full_node/full_node.py 5 88.05%
Totals Coverage Status
Change from base Build 15856868378: 0.09%
Covered Lines: 102000
Relevant Lines: 111644

💛 - Coveralls

@altendky altendky removed the request for review from a team July 12, 2025 15:11
@altendky altendky merged commit 4d188e0 into long_lived/datalayer_merkle_blob Jul 14, 2025
296 of 298 checks passed
@altendky altendky deleted the catchup/long_lived_datalayer_merkle_blob_from_main_dac837e79961fa5ce9611d5531d789211031c465 branch July 14, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changed Required label for PR that categorizes merge commit message as "Changed" for changelog checkpoint_merge coverage-diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants