Commit Graph
15199 Commits
Author SHA1 Message Date
Matt Hauff ef090979ef Make all wallet commands use timelocks (#21347) 2026-09-02 18:07:27 -07:00
Matt Hauff 65cbd2c48c [LABS-485] Extract coin_state level try/catch to its own function (#21163)
* [LABS-485] Extract coin_state level try/catch to its own function

* Comments by @cursor

* Move peer.closed check into exception handler

* Comments by @cursor
2026-09-02 14:33:28 -07:00
Amine Khaldi 3e3be98758 CHIA-4405 Handle ConnectionError from send_bytes in test_large_message_disconnect_and_ban (#21333)
Handle ConnectionError from send_bytes in test_large_message_disconnect_and_ban.
2026-09-01 09:54:05 -07:00
dependabot[bot] c805d79d90 build(deps): bump github/codeql-action from 4.37.2 to 4.37.7 (#21314)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.37.2 to 4.37.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.37.2...v4.37.7)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.37.7
  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>
2026-09-01 08:50:00 -07:00
dependabot[bot]andEarle Lowe 2bb5e18515 build(deps): bump mypy from 2.1.0 to 2.3.0 (#21205)
* build(deps): bump mypy from 2.1.0 to 2.3.0

Bumps [mypy](https://github.com/python/mypy) from 2.1.0 to 2.3.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v2.1.0...v2.3.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* mypy updates

* add no coverage check for network family edge cases

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2026-09-01 08:12:30 -07:00
Matt Hauff d05681342c [CHIA-4363] Delete NFT Bulk Minting endpoints (#21298)
Delete NFT Bulk Minting endpoints
2026-08-31 14:39:08 -07:00
Amine Khaldi f8eb2009f5 CHIA-4400 Update GUI pin to e15a9c4876cad69de96455e765bfa134330f43bc (#21329)
Update GUI pin to e15a9c4876cad69de96455e765bfa134330f43bc.
2026-08-31 17:22:33 +02:00
Amine Khaldi b71640fc01 CHIA-4395 Improve singleton fast forward removals handling (#21326)
Improve singleton fast forward removals handling.
2026-08-31 08:15:34 -07:00
Earle Lowe 77397f7e42 Update GUI pin to d3f48d4fa8d56ea8070b96111af4b0fff94a4c3f (#21327)
Point chia-blockchain-gui at the head of release/2.7.4, including Checkpoint Merge #3045.
2.7.4-rc1
2026-08-27 13:53:02 -07:00
Arvid Norberg c801f4231d [CHIA-4394] improve mempool robustness (#21324)
improve mempool robustness
2026-08-27 07:49:31 -07:00
Arvid Norberg bedb4be4ad [CHIA-4378] improve atoms and pairs accounting in mempool (#21309)
* improve atoms and pairs accounting in mempool

* bump chia_rs to 0.48.0

* address review comments

* fix merge issue

* fixup
2026-08-26 17:05:11 +02:00
Arvid Norberg 4ffa22442c [CHIA-4369] transition to canonical CLVM serialization (#21308)
transition to canonical CLVM serialization
2026-08-26 09:03:01 +02:00
Amine Khaldi 3144b17924 CHIA-4387 Demote None challenge_root log line in make_sub_epoch_summary (#21313)
Demote None challenge_root log line in make_sub_epoch_summary.
2026-08-26 08:41:53 +02:00
Amine Khaldi c308bd4a27 CHIA-4386 Respect the threshold after which we stop including mempool items with fast forward or dedup spends in create_block_generator2 (#21312)
Respect the threshold after which we stop including mempool items with fast forward or dedup spends in create_block_generator2.
2026-08-26 08:41:31 +02:00
Arvid Norberg bf2a246d00 [CHIA-4367] improve UnfinishedBlock cache (#21302)
improve UnfinishedBlock cache
2026-08-25 08:33:23 -07:00
Earle Lowe 418bd0a441 [LABS-483] Move wallet specific coin handlers out of WSM (#21162)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Refactor of wallet coin identification used during sync. Logic is
relocated rather than redesigned, but mistakes in wiring could mis-route
CAT/DID/NFT/clawback coins.
> 
> **Overview**
> Moves coin-type identification out of `WalletStateManager` into the
wallets that own that logic. `determine_coin_type` still classifies
spends, then delegates to classmethod `identify` on CAT, DID, NFT,
PlotNFT, and VC wallets, plus `ClawbackManager.identify`.
> 
> WSM drops `handle_cat` / `handle_did` / `handle_nft` /
`handle_clawback` / `handle_vc` and the PlotNFT matching block. Behavior
is intended to stay the same: auto-create/convert wallets, stray CAT
tracking, DID/NFT caps, clawback records. Clawback identification now
takes `add_interested_coin_ids` as a callback instead of calling WSM
directly.
> 
> NFT auto-add tests now patch and call `NFTWallet.identify`.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
f488a6b870. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-08-24 13:30:56 -07:00
Earle Lowe 54486cadc7 Remove actions reviewers requirement (#21310)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Low Risk**
> Governance-only change to review routing; no runtime or application
code is affected.
> 
> **Overview**
> Removes the **CODEOWNERS** entry that required
`@Chia-Network/actions-reviewers` on all paths under `.github/**/*`.
> 
> Workflow and GitHub config changes in `.github` will now follow only
the repo-wide `*` rule (`@Chia-Network/required-reviewers`), without an
extra mandatory actions team review.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
bbeb9da95a. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-08-24 13:30:24 -07:00
Earle Lowe 79fdd0da22 checkpoint: into main from release/2.7.3 @ ab5512dccf (#21311)
Source hash: ab5512dccf
Remaining commits: 0

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> The visible diff only updates the changelog; documented fixes touch
wallet GUI and offers but are typical release-integration scope for a
checkpoint merge.
> 
> **Overview**
> **Release checkpoint** merging `release/2.7.3` into `main` and adding
the **2.7.3** (2026-07-16) section to `CHANGELOG.md`.
> 
> **Changed:** Read-only WalletConnect calls `chia_getHeightInfo` and
`chia_getCoinRecordsByNames` no longer require confirmation prompts.
> 
> **Fixed:** Linux/Wayland wallet GUI confirmation dialogs when
`ready-to-show` never fires; Plot NFT key assignment via `launcherId`
hex normalization; reference wallet log viewer (Electron main-process
imports); NFT sell offer confirmation (“Asset type is not valid”).
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
6e8d74ff50. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-08-24 12:40:48 -07:00
Amine Khaldi 6e8d74ff50 Merge commit 'ab5512dccffca4775aac7c8447f3e6a230812db7' into checkpoint/main_from_release_2.7.3_ab5512dccffca4775aac7c8447f3e6a230812db7 2026-08-24 19:33:52 +01:00
Chris Marslender bbeb9da95a Remove actions reviewers requirement 2026-08-24 13:21:37 -05:00
Amine Khaldi e55bf78faf [CHIA-4245 CHIA-4345] Add request_transaction and respond_transaction to rate limits v3 (#21252)
Add request_transaction and respond_transaction to rate limits v3.
2026-08-24 10:31:10 -07:00
Amine Khaldi a8c8fcf7f3 CHIA-4365 Allow at most one fast forward spend per singleton per spend bundle (#21305)
Allow at most one fast forward spend per singleton per spend bundle.
2026-08-24 08:36:51 -05:00
Richard KissandCursor b8beca685c Remove dead code with no remaining callers (#21277)
Deletes five functions/classes with zero references (verified repo-wide
including tests) and the test-only FullNodeStore.remove_unfinished_block,
whose own TODO asked for its removal. The one test caller now exercises
the production cleanup method clear_unfinished_blocks_below instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 08:36:32 -05:00
Matt f488a6b870 Merge remote-tracking branch 'origin/main' into quex.wsm.extract_sync_handlers 2026-08-24 08:58:09 +12:00
Izumi Hoshino d61ed07dee [CHIA-4294] Fixed Electron source install not working (#21105)
Fixed Electron source install not working
2026-08-21 10:06:52 -07:00
Starttoaster 4b16648106 checkpoint: into main from release/2.7.3 @ 8732aad658 (#21304) 2026-08-21 09:00:48 -07:00
Amine Khaldi 87695b54f4 Merge commit '8732aad658d9147cb056e3a2d85c9319c238ab8c' into checkpoint/main_from_release_2.7.3_8732aad658d9147cb056e3a2d85c9319c238ab8c 2026-08-21 16:28:01 +01:00
Matt Hauff 9492119b2f [LABS-490] Extract coin splitting functionality into its own module (#21161)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> Refactors wallet coin split/combine paths used by RPC; behavior should
be equivalent but touches core transaction construction and coin
selection.
> 
> **Overview**
> Moves **split** and **combine** coin logic out of `WalletStateManager`
into a new **`FungibilityManager`**, wired on the state manager at
startup and used by the wallet RPC for `split_coins` / `combine_coins`.
> 
> RPC handlers now resolve a fungible wallet via `get_fungible_wallet`
(standard or CAT only) and call the manager instead of
`wallet_state_manager.split_coins` / `combine_coins`. Invalid wallet
types raise **`Wallet {id} is not eligible for coin splitting`** (tests
updated for split and combine RPC paths). **`coin_num_limit`** is no
longer forwarded into the combine implementation; limits still apply via
`CombineCoins` request validation.
> 
> Behavior of coin selection, fees, and transaction building is intended
to stay the same—this is primarily structural cleanup for LABS-490.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
28e52c2070. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-08-20 14:04:50 -07:00
Starttoaster d75e404650 checkpoint: into main from release/2.7.3 @ bd9d8b74c7 (#21299)
Source hash: bd9d8b74c7
Remaining commits: 2

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> <sup>[Cursor Bugbot](https://cursor.com/bugbot) is generating a
summary for commit f322e8f899. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-08-20 11:18:56 -07:00
Amine Khaldi 283f44940a Update the GUI anchor. 2026-08-20 14:59:53 +01:00
Amine Khaldi f322e8f899 Merge commit 'bd9d8b74c700b09c1251c3ce89298116c072062d' into checkpoint/main_from_release_2.7.3_bd9d8b74c700b09c1251c3ce89298116c072062d 2026-08-20 14:58:59 +01:00
github-actions[bot]andChiaAutomation 29e386aec2 Update cacert.pem from Mozilla CA bundle (#21273)
Co-authored-by: ChiaAutomation <automation@chia.net>
2026-08-19 13:38:18 -07:00
Arvid Norberg 433424f4ab [CHIA-4356] New full block format and cost model (#21249) 2026-08-19 07:51:29 -07:00
Zachary Brown 33c8674fda CHIA-4218 Return None when anchored wallet timestamp lookup misses the peak header (#21274)
* Treat missing anchored peak header as not-synced in wallet timestamp lookup

Follow-up to the wallet timestamp backtracking bound. When
get_timestamp_for_height_from_peer runs in anchored mode (an
expected_header_hash supplied by new_peak_wallet) and the peer returns no
header block for the starting peak height, the loop previously decremented
the height without advancing the anchor and then validated lower heights
against the stale peak hash. Return None (peer treated as not synced)
instead, so the anchor chain is never extended from a missing block.

Non-anchored lookups (get_timestamp_for_height) are unchanged and still
backtrack past a missing peak height.

* Clarify anchored timestamp lookup comment
2026-08-18 10:01:21 -07:00
Amine Khaldi 0ab01dc336 CHIA-4350 Make sure coins aren't being spent by any other spends in the spend bundle immediately after fast forward (#21275) 2026-08-18 09:00:31 -07:00
Arvid Norberg 37f65e04ca [CHIA-4344] improve mempool's atom- and pair-count awareness (#21276)
* improve mempool's atom- and pair-count awareness

* address review comments
2026-08-17 11:34:46 -07:00
Matt Hauff 0b88565359 [LABS-193] Port chia wallet ... to @chia_command (#21131) 2026-08-13 16:04:03 -07:00
Matt Hauff 8fab035ed5 Identify DL singletons in determine_coin_type (and save computation) (#21271) 2026-08-13 16:03:22 -07:00
Matt Hauff 18286c3992 Remove obsolete add_condition_to_solution (#21272) 2026-08-13 16:02:16 -07:00
ChiaAutomation d462449dc9 Update Managed Files (#21269)
Update commit-signing
2026-08-13 10:59:25 -07:00
dependabot[bot] 76e89d94d9 build(deps): bump brace-expansion from 1.1.16 to 1.1.18 in /build_scripts/npm_linux (#21267)
build(deps): bump brace-expansion in /build_scripts/npm_linux

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.16 to 1.1.18.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.16...v1.1.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-12 15:05:43 -07:00
Zachary Brown edcea17789 Add DataLayer self-heal for blobless stores (#21050)
* Add DataLayer self-heal for blobless stores

Reset stores with missing committed Merkle blobs to a clean empty root before sync so already-corrupted subscriptions can recover instead of remaining falsely synced.

* Clear Merkle cache when resetting DataLayer stores

Invalidate cached Merkle blobs during store reset so recovery cannot keep serving stale in-memory blobs after the corresponding file has gone missing.

* Fix DataLayer reset helper formatting.
2026-08-12 15:05:14 -07:00
dependabot[bot] 432ae4cc5c build(deps): bump undici from 6.27.0 to 6.28.0 in /build_scripts/npm_linux (#21266)
build(deps): bump undici in /build_scripts/npm_linux

Bumps [undici](https://github.com/nodejs/undici) from 6.27.0 to 6.28.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.27.0...v6.28.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.28.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-12 14:00:58 -07:00
Zachary Brown c42aa19d91 [CHIA-4251] Release the batch_syncing slot on every short_sync_batch exit path (#21270) 2026-08-12 13:17:07 -07:00
dependabot[bot] 344c4d205f build(deps): bump fast-uri from 3.1.3 to 3.1.5 in /build_scripts/npm_linux (#21268)
build(deps): bump fast-uri in /build_scripts/npm_linux

Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.3 to 3.1.5.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.3...v3.1.5)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-12 12:36:29 -07:00
Almog De Paz efc13fa8ca Block validation fast fail (#21213) 2026-08-12 08:46:12 -07:00
dependabot[bot] 5592015c47 build(deps): bump js-yaml from 4.3.0 to 4.3.1 in /build_scripts/npm_macos (#21250) 2026-08-12 08:32:02 -07:00
dependabot[bot] 925e4faa1d build(deps): bump undici from 6.27.0 to 6.28.0 in /build_scripts/npm_macos (#21263) 2026-08-12 08:31:43 -07:00
dependabot[bot] 8463ac89ec build(deps): bump brace-expansion from 1.1.16 to 1.1.18 in /build_scripts/npm_macos (#21264) 2026-08-12 08:31:22 -07:00
dependabot[bot] 0844d164c4 build(deps): bump fast-uri from 3.1.3 to 3.1.5 in /build_scripts/npm_macos (#21265) 2026-08-12 08:30:35 -07:00