Commit Graph
5861 Commits
Author SHA1 Message Date
Kyle Altendorf 2277f50740 Merge branch 'long_lived/datalayer_merkle_blob' into streamable_for_merkle_blob_serialization 2025-01-22 16:57:46 -05:00
Kyle Altendorf dcf43f4224 Merge commit '115cba194f8860767c5a0b31742517577966bf8e' into catchup/long_lived_datalayer_merkle_blob_from_main_115cba194f8860767c5a0b31742517577966bf8e 2025-01-22 12:28:19 -05:00
Kyle Altendorf 26ae863fb5 correct test to avoid shared blob bytes (#19156)
<!-- 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:

<!-- Does this PR introduce a breaking change? -->

### Current Behavior:

### New Behavior:

<!-- As we aim for complete code coverage, please include details
regarding unit, and regression tests -->

### Testing Notes:

<!-- Attach any visual examples, or supporting evidence (attach any
.gif/video/console output below) -->
2025-01-21 12:59:37 -05:00
matt-o-how 8bb8a1b730 Migrate puzzles away from load_clvm to import from chia_puzzles_py (#19055)
* add dependency for chia_puzzles_py

* migrate cat and dao wallets to new repo

* migrate did wallet

* more migration and deduplication

* change singleton launcher hash import in rpc

* stop importing singleton launcher from nft_puzzles in nft_wallet

* remove SINGLETON_LAUNCHER_PUZZLE import from nft_puzzles

* remove unused import

* ruff check and fix

* use graftroot dl offers from chia_puzzles_py

* get rid of more non explicit exports

* remove circular dependency

* ruff check

* migrate py files in puzzles to use chia_puzzles_py

* fix import

* fix more imports

* migrate clawback wallet and fix typo (requires version update of chia_puzzles_py)

* delete puzzles and separate nft puzzles from puzzle_utils

* use 0.19.1 version of chia_puzzles_py

* more nft puzzle detangling

* use latest chia_puzzles_py and migrate pools

* ruff fixes

* delete pool puzzles folder

* remove load_clvm from test_singleton and test_singleton_lifecycle_fast

* mypy fixes

* ruff fixes

* remove manage_clvm check precommit hook

* update version

* update chia_puzzles dependency to 0.19.4

* remove full_node puzzles

* remove test for condition codes

* change generator type to SerializedProgram

* remove remaining load_clvms that can be factored out

* delete consensus puzzles

* fix test_singleton_lifecycle_fast

* cast debug_spend_bundle coin name to bytes32

* ruff debug_spend_bundle

* update chia-puzzles and fix typo

* fix line endings

* fix typo in ROM_BOOTSTRAP_GENERATOR references

* remove bytes32 cast from debug_spend_bundle

* update chia-puzzles-py dependency to version 0.20.1 and refactor ACS_TRANSFER_PROGRAM initialization

* remove unused puzzle files

* singleton_top_layer exports hashs now which are imported from chia_puzzles

* remove .get_tree_hash() in favor of importing the hash

* remaining hash imports

* regenerate poetry.lock and pyproject.toml from main

* import singleton launcher hash from explicit export

* import SINGLETON_LAUNCHER_HASH from chia.wallet.singleton in test_pool_rpc.py

* import SINGLETON_MOD_HASH from chia.wallet.puzzles.singleton_top_layer in test_pool_puzzles_lifecycle.py

* poetry lock --no-update post-rebase

* re-regenerate lock file --no-update

* fix rebased block_tools
2025-01-17 09:58:16 -07:00
Kyle Altendorf 1811171b60 Merge commit '27c34ec92c25b724827b6b1030d0a96e947a57e2' into catchup/long_lived_datalayer_merkle_blob_from_main_27c34ec92c25b724827b6b1030d0a96e947a57e2 2025-01-17 11:33:44 -05:00
Kyle Altendorf b168a94a21 Update test_merkle_blob.py 2025-01-16 15:27:51 -05:00
Kyle Altendorf c995cc015a correct test to avoid shared blob bytes 2025-01-16 15:05:25 -05:00
Kyle Altendorf 42c5020d1b wip 2025-01-16 13:55:32 -05:00
Kyle Altendorf 27c34ec92c check resolution of example.net more loosely (#19155) 2025-01-16 09:35:49 -07:00
Kyle Altendorf 7756bef1f5 wip 2025-01-15 11:04:03 -05:00
Kyle Altendorf f201873696 streamable for merkle blob serialization 2025-01-15 10:52:23 -05:00
Rigidity 8f484e6bc9 Name wallet protocol subscription messages consistently (#19132)
* Name wallet protocol subscription messages consistently

* fix changelog

* fix name in full_node_api

* missed a spot
2025-01-14 10:12:09 -07:00
Matt Hauff 4f06bee5c6 [CHIA-2198] Don't create zero amount royalty payments (#19120)
Dont create zero amount royalty payments
2025-01-14 09:49:32 -07:00
Florin Chirica 5ec12ce84d Disable foreign key in hashes table. 2025-01-14 17:40:58 +02:00
Arvid Norberg aff979242e bump chia_rs to 0.18.0 (#19133) 2025-01-14 08:26:34 -07:00
Arvid Norberg 7a643c6f32 add a time-out of adding more transactions to blocks (#19134) 2025-01-14 08:23:55 -07:00
Amine Khaldi ee11750a00 CHIA-2210 Remove no longer needed TestFullNodeBlockCompression and TestFullNodeProtocol classes (#19127)
Remove no longer needed TestFullNodeBlockCompression and TestFullNodeProtocol classes.
2025-01-13 13:58:12 -07:00
Izumi Hoshino 3e8b3b5999 Fixed an issue where cancelling NFT offer did not cancel other offers… (#19129)
Fixed an issue where cancelling NFT offer did not cancel other offers with the NFT
2025-01-13 11:46:26 -07:00
Steve Stepp 55028d3f44 Add seeder.xchseeder.com to dns_servers in config.yaml (#19125)
I am now running a seeder for Chia at `seeder.xchseeder.com`.  Full details are at [https://xchseeder.com](https://xchseeder.com).

### Purpose:
Add a new seeder into the options of seeder for the config.yaml file. The seeder is at `seeder.xchseeder.com` and was setup and is run by me. It does support both IPv4 and IPv6. I do have some monitors setup on Uptime Robot to ensure it stays healthy and provides a status page for the service. I do have a landing page at `xchseeder.com`.

### Current Behavior:
n/a

### New Behavior:
Another seeder option in the `config.yaml` file.

### Testing Notes:
2025-01-13 09:18:11 -07:00
Almog De Paz 1819a9f5ac clean overflow blocks moved to unfinished block cache on reset chain (#19106)
* clean overflow blocks moved to unfinished on reset chain

* refactor

* fix typo
2025-01-13 09:16:41 -07:00
Florin Chirica ca2ae585ad Fix import order. 2025-01-13 14:03:05 +02:00
Florin Chirica f1d33e5adb Apply review comments. 2025-01-13 13:51:56 +02:00
Florin Chirica 200cd1dd04 Ruff. 2025-01-13 11:09:38 +02:00
Florin Chirica 9fdf651201 Optimize missing hashes lookup. 2025-01-13 11:00:32 +02:00
Kyle Altendorf 91971aebb9 avoid a traceback on failure (#19121) 2025-01-10 14:27:02 -07:00
Kyle Altendorf 1062ab4ef2 move tx endpoint into wallet-specific code (#19116) 2025-01-10 10:21:18 -07:00
Florin Chirica 1882ac09ac ruff 2025-01-10 06:07:23 +02:00
Florin Chirica 89580493d9 Ruff. 2025-01-10 05:59:32 +02:00
Florin Chirica 0988c0a267 Move code into merkle blob. 2025-01-10 05:46:49 +02:00
Florin Chirica a8fc6781a0 Optimize insert from delta file. 2025-01-10 04:25:03 +02:00
Amine Khaldi 11d0dd9aef CHIA-2109 Clarify cases when transactions filter is computed with just reward coins (#19078)
Clarify cases when transactions filter is computed with just reward coins.
2025-01-09 06:50:12 -07:00
William Blanke 31f48b9153 sqlite cached_statements workaround 2025-01-08 20:52:11 -08:00
William Blanke 3ac345e34a fix postprocessing priority mutexes 2025-01-08 11:06:40 -08:00
Amine Khaldi 0b21fd1533 CHIA-2108 Cover computing transactions filter for transaction blocks with only reward coins (#19076)
Cover computing transactions filter for transaction blocks with only reward coins.
2025-01-07 10:00:52 -07:00
Florin ChiricaandKyle Altendorf 07480964ca Fix TL log spam. (#19032)
* Debug TL log spam.

* Update chia/timelord/timelord.py

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

* Add log.exception.

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-01-07 09:15:47 -07:00
Almog De Paz b6d5afcdce remove redundant block record conversion CHIA-1286 (#18930)
* propegate block record

* revert changes to pytest.ini

* comments
2025-01-06 11:22:20 -07:00
Kyle Altendorf 1cad89f47c Merge commit '2b1aef889b4412d9637d77ae238ed5f64f44f674' into catchup/long_lived_datalayer_merkle_blob_from_main_2b1aef889b4412d9637d77ae238ed5f64f44f674 2025-01-03 12:41:10 -05:00
Kyle Altendorf 67c56e4ca2 more 2025-01-02 13:26:25 -05:00
Kyle Altendorf 190222e307 re-enable 2025-01-02 13:21:34 -05:00
Kyle Altendorf 1ffa73e99e task referencer (#18914)
* put otherwise unheld tasks into the pit

* and the rest too

* cull less often

* task referencer

* private

* report unexpectedly unreferenced tasks

* also warn for automated catching in tests

* reporting task

* undo some

* fixup for 3.9

* ban asyncio.create_task

* oof

* simplify including using `Task.add_done_callback()` for culling
2025-01-02 10:13:51 -07:00
Kyle Altendorf 1d0df78bdd case insensitivy on the key already present errors 2025-01-02 11:14:29 -05:00
Jsewill a7bd676bea Minor grammatical correction in wallet_rpc_api.py (#18955)
changed "is not belong" to "does not belong" in the `did_find_lost_did` endpoint when `derivation_record is None`, in wallet_rpc_api.py.
2024-12-20 12:29:19 -07:00
Kyle Altendorf 69555bc5f4 to multiline string literal (#19075)
* convert a test reference string to a multiline string literal

* stop overwriting `sys.stdout`
2024-12-20 10:39:47 -07:00
Kyle Altendorf 0437c9f9a3 Merge branch 'long_lived/datalayer_merkle_blob' into add_rs_merkle_blob 2024-12-19 21:12:53 -05:00
Kyle Altendorf 4e6546cce9 Merge commit '49354dc8f7bf80ff43618954f4d78651f1b85ded' into catchup/long_lived_datalayer_merkle_blob_from_main_49354dc8f7bf80ff43618954f4d78651f1b85ded 2024-12-19 19:54:45 -05:00
Kyle Altendorf 49354dc8f7 fix gh command setup (#19073) 2024-12-19 17:20:01 -07:00
dependabot[bot]andKyle Altendorf 47ec6a05f1 build(deps): bump chia-rs from 0.16.0 to 0.17.0 (#19059)
* build(deps): bump chia-rs from 0.16.0 to 0.17.0

Bumps [chia-rs](https://github.com/Chia-Network/chia_rs) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/Chia-Network/chia_rs/releases)
- [Commits](https://github.com/Chia-Network/chia_rs/compare/0.16.0...0.17.0)

---
updated-dependencies:
- dependency-name: chia-rs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixup

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-12-19 14:55:19 -07:00
Matt Hauff 60b6224f0d Remove unnecessary action_scope edit (#19066)
* Remove unnecessary action_scope edit

* Actually pass selected coins through

* oops
2024-12-19 11:33:11 -07:00
Kyle Altendorf b6b4ea1c73 add chia dev gh test for launching configured test runs (#18922)
* add chia dev gh test for launching configured test runs

* empty again

* better

* use the actual authenticated username

* more output

* helpful errors for invalid --only value

* tidy short help

* add at least an invalid --only test case

* prepare a long help

* add gh api runner helper

* use the commit hash for the temporary branch

* and uuid too

* fix up os selection

* add `--remote`

* load a url for a specified `--ref` as well

* both helps

* show defaults in `--help`

* help touchup

* Revert "show defaults in `--help`"

This reverts commit 5d7f4868e0.

* r

* add an actual dispatch test skeleton

* do not conflict check `tmp/**`

* assert a bit more about the resulting run

* oops

* skip the test for now

* pre-commit
2024-12-19 11:32:56 -07:00
Kyle Altendorf 9a0b5728c5 use a class for the chia cli context data (#18919)
* use a class for the chia cli context data

* actually assign to the context properly...

* handle the not-present case

* catch up

* tidy

* more

* stuff

* ...

* more real

* expected address prefix
2024-12-19 10:44:48 -07:00