Commit Graph
15030 Commits
Author SHA1 Message Date
arvidn 2881767849 option to disable fast forward 2026-08-17 12:30:34 +02:00
ibutterbotandGitHub ab5512dccf Add 2.7.3 release notes (#21136) 2.7.3 2026-07-16 13:45:13 -07:00
wjblankeandGitHub 8732aad658 Updated gui to 9ab7ff987f148b959d1bfff94c46fdc65fcecffe (#21137)
updated gui to 9ab7ff987f148b959d1bfff94c46fdc65fcecffe
2.7.3-rc2
2026-07-16 10:47:18 -07:00
wjblankeandGitHub bd9d8b74c7 Update gui pin to 14d05ee1fc2093d7edabba88686629f0e02c657b (#21133)
update gui pin to 14d05ee1fc2093d7edabba88686629f0e02c657b
2.7.3-rc1
2026-07-15 11:48:55 -07:00
ibutterbotandGitHub 4f465365a2 Add 2.7.2 changelog entry (#21104)
* Add 2.7.2 changelog entry

* Clarify wallet fee estimation changelog entry

* Add Additional Notes section to 2.7.2 changelog

* Update 2.7.2 changelog date to 2026-07-09

* Fix prettier formatting in CHANGELOG.md
2.7.2
2026-07-09 12:33:00 -05:00
715953bc5a Checkpoint Merge (#21106)
Co-authored-by: Almog De Paz <almogdepaz@gmail.com>
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Zachary Brown <z.brown@chia.net>
2026-07-09 12:32:45 -05:00
Arvid NorbergandGitHub 8878b56ccb bump chia_rs to 0.45.1 (#21068)
* bump chia_rs to 0.45.1

* fix issue in test_spam_message_too_large

* allow a few more warnings that can be triggered because our tests leak aiohttp websocket clients

* fix flaky test: test_transaction_ack_duplicate_without_resend_ignored
2.7.2-rc2
2026-07-02 07:47:57 -07:00
Chris MarslenderandGitHub 49c105b889 Update GUI pin to release/2.7.2@8572ccd426 (#21047) 2.7.2-rc1 2026-06-25 17:51:29 -05:00
ChiaAutomationandGitHub e7af25c349 Update Managed Files (#20905)
* Update dep-review

* Update commit-signing

* Update dependency-cursor-review
2026-06-25 11:18:37 -05:00
Arvid NorbergandGitHub a8570da515 add configuration option to advertize rate limits v3 support (#21025) 2026-06-25 09:31:35 -05:00
Amine KhaldiandGitHub ad16f15d56 CHIA-4273 Annotate wallet_node_api.py (#21030)
Annotate wallet_node_api.py.
2026-06-25 07:53:36 -05:00
Matt HauffandGitHub 0d5a394cf9 [LABS-469] Sanity check that PlotNFT memos match actual inner puzzle (#21029)
Sanity check that PlotNFT memos match actual inner puzzle
2026-06-23 12:23:41 -05:00
Amine KhaldiandGitHub 99d4993306 CHIA-4253 Use bad_element in test_invalid_rc_sub_slot_vdf (#21004)
Use bad_element instead of the default element in test_invalid_rc_sub_slot_vdf.
2026-06-23 10:10:23 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Earle Lowe
50fc9105f7 build(deps): bump ruff from 0.15.13 to 0.15.16 (#21018)
* build(deps): bump ruff from 0.15.13 to 0.15.16

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.13 to 0.15.16.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.13...0.15.16)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Add PLW0717 too-many-statements-in-try-clause to the ruff ignore list; add fixes for RUF075 and ASYNC119

* targeted ignores for RUF075

* more targeted ignores for RUF075

* some code cleanup

---------

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-06-23 09:16:32 -05:00
4b7d8c45f7 Wallet fee estimation (#20454)
* initial commit

* tests

* fixes

* poetry fixes

* add another test

* undo init change as its in another branch

* delete uneccessary reimplementation

* raise errors correctly

* test error raising

* ruff

* re-fix new test of bad responses

* re-add accidental removal

* parameterize trusted in get_fee_estimate test

* add another failure test

* Update chia/wallet/wallet_rpc_api.py

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>

* pytest.mark.anyio

* ruff

* add coverage for respondfeeestimates in wallet node api

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2026-06-22 16:58:12 -05:00
Zachary BrownandGitHub c15435f8b8 Improve macOS Intel CI timeout headroom (#21010)
Give macOS Intel test jobs one retry and widen GitHub Actions timeout padding for Intel Darwin runners so slow hosts have more time without weakening test assertions.
2026-06-22 11:28:53 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7fb2719b79 build(deps): bump form-data from 4.0.5 to 4.0.6 in /build_scripts/npm_windows (#21013)
build(deps): bump form-data in /build_scripts/npm_windows

Bumps [form-data](https://github.com/form-data/form-data) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.5...v4.0.6)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 11:28:27 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
894bb4560e build(deps): bump tmp from 0.2.5 to 0.2.7 in /build_scripts/npm_windows (#20953)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.5 to 0.2.7.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.5...v0.2.7)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 11:28:14 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
06b54f8f85 build(deps): bump tmp from 0.2.5 to 0.2.7 in /build_scripts/npm_macos (#20961)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.5 to 0.2.7.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.5...v0.2.7)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 11:27:56 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6d4157a545 build(deps): bump tmp from 0.2.5 to 0.2.7 in /build_scripts/npm_linux (#20965)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.5 to 0.2.7.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.5...v0.2.7)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 11:27:35 -05:00
Amine KhaldiandGitHub 1b327da61a CHIA-4254 Do not require peer anymore for some wallet node APIs (#21005)
Do not require peer anymore for some wallet node APIs.
2026-06-22 11:26:38 -05:00
matt-o-howandGitHub d645adc448 Add get_full_node_peer_count as a function to wallet RPC (#20962)
* initial commit

* lint fixes

* inline check

* add route

* ruff

* exercise unsynced

* add coverage for early exit
2026-06-17 10:10:28 -05:00
Matt HauffandGitHub 56ecda7077 [LABS-359] PlotNFT Drivers (#20352)
* Use a separate config for pooling information

* New PlotNFT drivers

* Comment by @cursor

* whoops

* Comments by @cursor

* Comments by @cursor

* Comments by @cursor

* Some tidying

* fix test for memo adjustment

* tweak additional memos again

* Fix test for coverage

* Add `REMARK` option to `launch`

* fix custody architecture namespace

* Comments by @matt-o-how
2026-06-16 15:57:54 -05:00
Matt HauffandGitHub a0a4460b7f [CHIA-4255] Change how offer_only works on create_offer_for_id (#21001)
* Change how `offer_only` works on `create_offer_for_id`

* Change how `offer_only` works on `create_offer_for_id`
2026-06-16 09:56:50 -05:00
ibutterbotandGitHub f0fa6553ff build(deps): consolidated dependabot updates (2026-06-15) (#21011)
build(deps): consolidated dependabot updates

Updates poetry.lock only (pyproject.toml constraints unchanged):
- diff-cover → 10.3.0 (#21000)
- boto3-stubs → 1.43.19 (#20999)
- pip → 26.1.2 (#20997)
- boto3 → 1.43.20 (#20996)
- coverage → 7.14.1 (#20978)
- click → 8.4.1 (#20976)
2026-06-16 07:54:34 -05:00
Zachary BrownandGitHub 7e50336484 Skip DataLayer upload/cleanup for stores with no committed data (#20992)
* Skip DataLayer upload/cleanup for stores with no committed data

For a store whose on-chain singleton is still at generation 0 (created but
no data committed yet) there is no local tree, so get_tree_root raised
"No generations found". upload_files and clean_old_full_tree_files both hit
this, and update_subscription caught it and logged an ERROR with a full
traceback every management cycle for every such store.

Add the same generation-0 early return that fetch_and_validate already uses
to both upload_files and clean_old_full_tree_files, so an empty store is a
quiet no-op instead of recurring error spam.

* Clarify DataLayer empty-store log message
2026-06-16 07:53:46 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6d2d13cfb0 build(deps): bump aws-actions/configure-aws-credentials from 6.1.3 to 6.2.0 (#20994)
build(deps): bump aws-actions/configure-aws-credentials

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 6.1.3 to 6.2.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v6.1.3...v6.2.0)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 6.2.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>
2026-06-16 07:53:31 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5d706de511 build(deps): bump github/codeql-action from 4.36.0 to 4.36.1 (#20995)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.36.0 to 4.36.1.
- [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.36.0...v4.36.1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.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>
2026-06-16 07:53:15 -05:00
Amine KhaldiandGitHub 70d21ac534 [CHIA-4172 CHIA-4252] Improve validate_additions (#21002)
Improve validate_additions.
2026-06-11 19:10:15 +01:00
Earle LoweandGitHub 14afbde1ce [CHIA-4232] Update mypy 2.1 and handle strict bytes with exclusions (#20959) 2026-06-11 11:31:26 +01:00
wjblankeandGitHub 7eef85c3a7 [CHIA-4002] Fix off by one in cleanup (Thanks roopd3v) (#20993)
* fix off by one in cleanup

* ruff
2026-06-11 10:24:03 +01:00
Zachary BrownandGitHub af81194343 Set testneta MIN_PLOT_SIZE_V1 to 18 for initial sync (#21003)
Set testneta MIN_PLOT_SIZE_V1 to 18 for sync from height 0

Testneta shares early chain history with testnet11 where smaller v1 plots
are valid. New installs and existing nodes without a config override were
using the mainnet default of 32 and failing INVALID_POSPACE during initial
sync.
2026-06-11 09:53:01 +01:00
Zachary BrownandGitHub 8891d107e5 Isolate per-subscription failures in the DataLayer management loop (#20975)
* Isolate per-subscription failures in the DataLayer management loop

A single invalid subscription (e.g. a launcher whose coin can't be found
on chain, surfaced as a ResponseFailureError from dl_track_new) used to
abort the initial wallet-tracking loop before its break, which retried the
whole subscription list forever and never entered the main management loop.
That starved every store of fetch/validate and permanently broke unsubscribe
processing, unrecoverable across restarts.

Fold wallet tracking into the main loop per-subscription with isolation: one
failing dl_track_new is logged (throttled) and skipped, connectivity errors
are retried next cycle, and fetch/validate plus the unsubscribe-queue drain
always run. The drain now tolerates a failing process_unsubscribe (retrying
it rather than killing the loop), and process_unsubscribe is idempotent for
an already-removed store.

* Remove subscription tracking log throttling

Keep the DataLayer fault-isolation behavior simple by logging each per-subscription tracking failure directly instead of maintaining custom in-memory throttle state.

* Lighten DataLayer fault-isolation tests

Use a focused wallet RPC fake for DataLayer management-loop regressions so the tests avoid unnecessary wallet/full-node startup while still exercising shutdown and liveness contracts.

* Flatten DataLayer fault-isolation test fakes

Replace ad hoc wallet RPC monkeypatch helpers with a small test client and split invalid-subscription liveness from unsubscribe processing for easier review.
2026-06-11 09:52:12 +01:00
Earle LoweandGitHub 7e426c03ba Fix chia peer errors for invalid or missing services (#20973)
* Fix unhandled errors for invalid or missing chia peer services.

Replace KeyError tracebacks with click.UsageError for unknown config sections, remove the legacy base mapping, and resolve config via node_config_section_names so simulator and similar names work correctly.

Fixes #20963

* address some coverage gaps
2026-06-11 09:46:16 +01:00
Izumi HoshinoandGitHub 911152906a [CHIA-4226] Fix apparmor profile (#20990)
* Install bundled AppArmor profile in Linux deb/rpm packaging

* Updated GUI pin

* Verify apparmor_parser exists
2026-06-11 09:41:44 +01:00
Zachary BrownandGitHub 2468708adb full_node: explicit None check in short_sync_batch instead of naked assert (#20991)
full_node: return False instead of asserting on disconnected first block in short_sync_batch

Replace `assert prev_b is not None` in short_sync_batch with an explicit None check that
returns False, matching the documented fallback-to-long-sync behavior and mirroring the
explicit check already used in add_block.
2026-06-10 10:12:17 +01:00
Izumi HoshinoandGitHub 850cbf53bb [CHIA-4224] Added offer_only option to create_offer_for_ids (#18680)
* Added `offer_only` option to `create_offer_for_ids`

* Added a test

* Addressed review comment

* Fixed CI error

* Increased test coverage
2026-06-09 11:39:04 -07:00
Amine KhaldiandGitHub cfd9a4b607 CHIA-4243 Annotate wallet_user_store.py (#20985)
Annotate wallet_user_store.py.
2026-06-09 16:40:13 +01:00
Arvid NorbergandGitHub b53f6c7942 Bump chia rs 0.45.0 (#20988)
* bump chia_rs to 0.45.0

* support parsing limited lists for rust types, using the new truncate() feature

* use the new, explicit, function to print private keys

* review comment

* review comments

* fix python import
2026-06-09 16:39:53 +01:00
Amine KhaldiandGitHub 4e555bb45d CHIA-4248 Improve fetch_coin_spend (#20987)
Improve fetch_coin_spend.
2026-06-05 09:28:43 -05:00
816d66fd16 remove did wallet duplicate code (#20575)
* remove did wallet duplicate code

* add test cases for orphan did wallet check

* fix format issue

* Fix DID wallet orphan cleanup path and strengthen regressions.

Move wallet creation inside guarded exception handling so cleanup only runs when a wallet row exists, and add regression coverage that asserts DB wallet rows are unchanged on failed creation paths.

Made-with: Cursor

* Address review feedback for DID orphan regression handling.

Combine failure-path DID wallet regression checks into one test, use wallet_environments.tx_config, and simplify cleanup to always delete by wallet_id on generation failure.

Made-with: Cursor

---------

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2026-06-04 18:12:53 -05:00
Almog De PazandGitHub b2b9830c11 [CHIA-4231] Fix stale overflow (#20924)
* regression test and fix

* lint

* simplify code

* cleaner

* refactor
2026-06-04 14:56:27 -05:00
Amine KhaldiandGitHub 28c7f5c3f6 CHIA-4237 Annotate server.py (#20968)
Annotate server.py.
2026-06-04 12:01:00 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6ed0ef4013 build(deps): bump github/codeql-action from 4.35.5 to 4.36.0 (#20979)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.5 to 4.36.0.
- [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.35.5...v4.36.0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.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>
2026-06-04 10:56:12 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1674f939fa build(deps): bump aws-actions/configure-aws-credentials from 6.1.1 to 6.1.3 (#20981)
build(deps): bump aws-actions/configure-aws-credentials

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 6.1.1 to 6.1.3.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v6.1.1...v6.1.3)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 6.1.3
  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-06-04 10:54:13 -05:00
Earle LoweandGitHub de520177c7 pass in unresolved name for use as servername in ws_connect (#20349)
* pass in unresolved name for use as servername in ws_connect

* apply some bugbot comments

* avoid setting server hostname when it's actually the ip address

* different strategy for when to not use server_hostname
2026-06-03 14:05:08 -05:00
Earle LoweandGitHub bd08dd5352 Type stubs for boto3 and sortedcontainers (#20966)
* Add boto3 stubs and fix typing

* Add sortedcontainers stubs - no code changes required

* cleanup use of asserts
2026-06-03 14:04:39 -05:00
Amine KhaldiandGitHub e4a620bacc CHIA-4238 Avoid recomputing peak header block in WalletNode's wallet_short_sync_backtrack (#20970)
Avoid recomputing peak header block in WalletNode's wallet_short_sync_backtrack.
2026-06-03 09:44:52 -05:00
f7682c8a52 Bump aiohttp to 3.14.0 to fix blockchain sync on slow links like Starlink Standby mode (#20967)
* Bump aiohttp to 3.14.0

Require the aiohttp release that fixes false websocket heartbeat timeouts while receiving slow large frames.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix aiohttp websocket typing

Set explicit text decoding on websocket clients so aiohttp 3.14 keeps the existing decoded-message type contract.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix aiohttp typing on Python 3.10

Centralize the decoded websocket type narrowing so aiohttp 3.14 type checks consistently across supported Python versions.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Widen aiohttp websocket type boundary

Let Chia accept aiohttp websocket responses with either text-decoding mode instead of relying on a post-hoc narrowing helper.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Document aiohttp typing cleanup

Note that the widened websocket type boundary can be revisited after Python 3.10 support is dropped.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Test slow websocket frame heartbeat

Cover the aiohttp 3.14 heartbeat reset behavior that keeps large frames alive while bytes continue arriving slowly.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Assert slow frame exceeds heartbeat window

Make the aiohttp websocket regression test prove its throttled frame crosses the heartbeat timeout boundary.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix server test import order

Apply the ruff import ordering fix for the aiohttp websocket regression test.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 10:13:15 -07:00
Earle LoweandGitHub 78264f49ab Add types-colorama and drop mypy ignore for colorama (#20940)
Add types-colorama and remove mypy ignore for colorama imports.
2026-06-02 08:24:11 -05:00