Commit Graph
13765 Commits
Author SHA1 Message Date
Kyle Altendorf ed20dd60ed Merge commit '99448387ada5dd492d06261ab823c59c2a55b231' into catchup/long_lived_datalayer_merkle_blob_from_main_99448387ada5dd492d06261ab823c59c2a55b231 2025-03-24 17:44:35 -04:00
Kyle AltendorfandGitHub 99448387ad add the keys root path to ChiaCliContext (#19420)
* add the keys root path to `ChiaCliContext`

* tidy
2025-03-24 14:41:06 -07:00
Amine KhaldiandGitHub b900985ddf CHIA-2580 Significantly speedup mempool manager tests by not forcing them to request unneeded fixtures (#19414)
Don't force all mempool manager tests to request test_wallet and transactions_1000 fixtures.
2025-03-24 14:40:45 -07:00
Kyle AltendorfandGitHub e647f5ea82 avoid unneeded conversion to bytearray (#19422) 2025-03-23 15:48:35 -04:00
Kyle AltendorfandGitHub e8ed86d0fd datalayer compress for db (#19421)
compress the merkle blobs in the db
2025-03-22 11:41:51 -04:00
Kyle AltendorfandGitHub 26fcbe70e6 subdirectory for chia dev commands (#19418)
* move `chia dev` to its own subdirectory

* rename `dev.py` to `main.py`

* fixup

* more
2025-03-21 14:31:13 -07:00
Kyle AltendorfandGitHub bbb65220f1 simplify chia command key root path handling (#19419) 2025-03-21 14:30:10 -07:00
Kyle AltendorfandGitHub 43f053927a pass around some connections (#19415) 2025-03-21 14:51:27 -04:00
Kyle AltendorfandGitHub 0c40219a57 add CHIA_DATA_LAYER_STOP_AFTER_GENERATION env var for timing tests (#19417) 2025-03-21 14:38:04 -04:00
Kyle AltendorfandGitHub f19db97dc5 log exceptions while inserting from delta file (#19416) 2025-03-21 14:37:46 -04:00
Almog De PazandGitHub 05e9706c13 Check full node state in tl tests (#19392)
* fix tl node peak sync

* revert pytest change

* add weight check, rearrange cases

* comments, logs

* logs

* fix condition

* add full node validations to tl test

* add block
2025-03-20 10:39:22 -07:00
Amine KhaldiandGitHub e91335eff4 CHIA-2570 Adapt to requiring the same amount across singleton fast forward versions (#19398)
Adapt to requiring the same amount across singleton fast forward versions.
2025-03-19 19:30:45 -07:00
Kyle AltendorfandGitHub a2880ea87b correct sql limit to match batch length (#19407)
<!-- 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-03-19 21:17:04 -04:00
Kyle AltendorfandGitHub b59607daa0 less unneeded bytes32ing (#19410)
* less unneeded `bytes32`ing

* a bit more
2025-03-19 19:41:07 -04:00
Kyle AltendorfandGitHub 9b545932d9 combine adding node hashes into single .executemany() call (#19408)
* combine adding node hashes into single `.executemany()` call

* format

* refactor correction
2025-03-19 16:34:47 -04:00
Kyle AltendorfandGitHub 8a8636b28b catchup: into long_lived/datalayer_merkle_blob from main @ 885107b787 (#19411)
Source hash: 885107b787
Remaining commits: 0
2025-03-19 16:29:18 -04:00
Arvid NorbergandGitHub 9147629b78 NewBlockGenerator as an extension of BlockGenerator (#19390) 2025-03-19 11:37:16 -07:00
Kyle AltendorfandGitHub 5582261d45 breakdown DataStore.insert_into_data_store_from_file() (#19409) 2025-03-19 14:27:49 -04:00
Kyle Altendorf 4ab8cee0e7 Merge commit '885107b78761b38beef94427eca51d062c289645' into catchup/long_lived_datalayer_merkle_blob_from_main_885107b78761b38beef94427eca51d062c289645 2025-03-19 14:24:48 -04:00
Zachary BrownandGitHub 885107b787 checkpoint: into main from release/2.5.3 @ c9050689ed (#19400)
Source hash: c9050689ed
Remaining commits: 0
2025-03-19 09:20:24 -07:00
a194dd60e9 CHIA-2378: Add CLI commands to import, export, and benchmark the mempool (#19271)
* Add CLI commands to import and export the mempool, and benchmark block creation

* Unused import

* Remove old RPC

* Fix mypy

* Address some comments

* use create_block_generator()

* Ruff

* Address comments

---------

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2025-03-18 17:09:02 -07:00
Amine Khaldi 37decb8b5e Merge commit 'c9050689ed35ad159f9523cd4d9d7a8b31ef4379' into checkpoint/main_from_release_2.5.3_c9050689ed35ad159f9523cd4d9d7a8b31ef4379 2025-03-18 21:54:29 +01:00
Kyle AltendorfandGitHub c9050689ed stop forcing pyenv usage on macos intel in check_wheel_availability.yaml (#19396) 2025-03-18 13:35:30 -07:00
Zachary BrownandGitHub a108a7b454 checkpoint: into main from release/2.5.3 @ 1b75fbdaf4 (#19399)
Source hash: 1b75fbdaf4
Remaining commits: 0
2025-03-18 13:34:02 -07:00
Arvid NorbergandGitHub 894c68fb5c validate cached blockchains (#18527)
* when loading the cached test blockchains, check that the first few blocks match what we would have generated if it wasn't cached. This should make CI highlight whenever BlockTools changes some way of how chains are generated that alters the chain output. When this happens, we should also update the test-cache repo

* update test-cache version to use for CI

* exempt debug message from test coverage
2025-03-18 09:54:28 -07:00
Amine Khaldi 8f3b7364ab Merge commit '1b75fbdaf4bd0a30e0e2a7e8ff5d02b72581f27e' into checkpoint/main_from_release_2.5.3_1b75fbdaf4bd0a30e0e2a7e8ff5d02b72581f27e 2025-03-18 17:48:09 +01:00
Kyle AltendorfandGitHub 1b75fbdaf4 remove use of ppa provided git in test-install-scripts.yml (#19395)
* remove use of ppa provided git in `test-install-scripts.yml`

* Update test-install-scripts.yml
2025-03-18 09:46:05 -07:00
Zachary BrownandGitHub f6c42e9f76 checkpoint: into main from release/2.5.3 @ db440d9ded (#19394)
Source hash: db440d9ded
Remaining commits: 0
2025-03-17 13:38:09 -07:00
Amine Khaldi 91c9a77695 Merge commit 'db440d9dedb87b77f66efed5f3431e1758ac6fec' into checkpoint/main_from_release_2.5.3_db440d9dedb87b77f66efed5f3431e1758ac6fec 2025-03-17 18:47:40 +01:00
Amine KhaldiandGitHub f73564325c CHIA-2367 Separate height to hash and sub epoch summaries files by networks (#19262)
Separate height to hash and sub epoch summaries files by networks.
2025-03-17 09:53:02 -07:00
Almog De PazandGitHub 4dc7893bee fix tl node peak sync (#19389)
* fix tl node peak sync

* revert pytest change

* add weight check, rearrange cases

* comments, logs

* logs

* fix condition
2025-03-17 09:50:28 -07:00
Kyle AltendorfandGitHub db440d9ded bypass error while uninstalling gui on amazonlinux:2023 (#19387) 2025-03-17 09:41:04 -07:00
Florin ChiricaandGitHub 8a9bfafeb9 Add DL migration test. (#19384)
* Add a migration test.

* Revert gitignore.

* Lint.

* Use Kyle's version.

* Remove shutil.
2025-03-14 16:07:48 -04:00
Zachary BrownandGitHub b2735d7937 checkpoint: into main from release/2.5.3 @ 4ae44855b1 (#19386)
Source hash: 4ae44855b1
Remaining commits: 0
2025-03-14 11:47:26 -07:00
Amine Khaldi eeec2c348d Merge commit '4ae44855b12922df6bf9524e4c2bd431f9dcf54c' into checkpoint/main_from_release_2.5.3_4ae44855b12922df6bf9524e4c2bd431f9dcf54c 2025-03-14 10:52:12 +01:00
Amine KhaldiandGitHub 46d915d140 CHIA-2375 Remove no longer needed TestDIDWallet class (#19267)
Remove no longer needed TestDIDWallet class.
2025-03-13 11:52:07 -07:00
Amine KhaldiandGitHub 8b2b830da6 CHIA-2538 Remove no longer needed item_inclusion_filter in the mempool (#19367)
Remove no longer needed item_inclusion_filter in the mempool.
2025-03-13 11:51:23 -07:00
Kyle AltendorfandGitHub 338a295c80 use .writer_maybe_transaction() in DataStore.add_kvid() (#19382) 2025-03-12 21:37:54 -04:00
1be3c08f49 Add benchmark test. (#19379)
* Add benchmark test.

* Lint.

* Update chia/_tests/core/data_layer/test_data_store.py

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

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-03-12 16:24:29 -04:00
Kyle AltendorfandGitHub bd387f4a5a set then get on failure in DataStore.add_kvid() (#19380)
<!-- 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-03-12 16:24:01 -04:00
Kyle AltendorfandGitHub 9905a9387a drop the unneeded autoincrement on the datalayer ids table (#19381)
<!-- 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-03-12 16:03:33 -04:00
Kyle Altendorf 757cf40345 drop the unneeded autoincrement on the datalayer ids table 2025-03-12 14:47:50 -04:00
Kyle AltendorfandGitHub c399e1fa6e use .execute_insert() in DataStore.add_kvid() (#19376)
<!-- 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-03-12 14:39:52 -04:00
Zachary BrownandGitHub 8587f9e763 checkpoint: into main from release/2.5.3 @ 91b57a288e (#19374)
Source hash: 91b57a288e
Remaining commits: 1
2025-03-12 09:49:01 -07:00
Kyle AltendorfandGitHub ceff18cb2c correct tooling bugs i made (#19370)
* Update task_timing.py

* Update analyze_memory_profile.py
2025-03-12 09:48:31 -07:00
Kyle Altendorf 4e0db617dc use .execute_insert() in DataStore.add_kvid() 2025-03-12 11:35:39 -04:00
Amine Khaldi 6e1f2946a4 Merge commit '91b57a288edf6aa64453e291a2043a3e4b4af840' into checkpoint/main_from_release_2.5.3_91b57a288edf6aa64453e291a2043a3e4b4af840 2025-03-12 13:46:16 +01:00
Kyle AltendorfandGitHub 4841cf1fc2 just use latest chia_rs for datalayer (#19368)
<!-- 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-03-11 14:44:31 -04:00
RigidityandGitHub 4ae44855b1 Include removals in declare_proof_of_space (#19364) 2.5.3-rc2 2025-03-11 10:10:20 -07:00
wjblankeandGitHub 9fb36ef51c remove coin cache (#19353) 2025-03-11 09:56:35 -07:00