Commit Graph
13214 Commits
Author SHA1 Message Date
Kyle Altendorf 65dc231332 less DEFAULT_ROOT_PATH for farm commands (#18982) 2024-12-04 14:58:29 -07:00
Kyle Altendorf 0e7dc95d8f less DEFAULT_ROOT_PATH for base chia command (#18985) 2024-12-04 14:57:59 -07:00
dependabot[bot] 76e4ea6b86 build(deps): bump chiapos from 2.0.7 to 2.0.8 (#18976)
Bumps [chiapos](https://github.com/Chia-Network/chiapos) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/Chia-Network/chiapos/releases)
- [Commits](https://github.com/Chia-Network/chiapos/compare/2.0.7...2.0.8)

---
updated-dependencies:
- dependency-name: chiapos
  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>
2024-12-04 12:39:03 -07:00
dependabot[bot]andEarle Lowe d673e54458 build(deps): bump watchdog from 4.0.1 to 6.0.0 (#18945)
* build(deps): bump watchdog from 4.0.1 to 6.0.0

Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 4.0.1 to 6.0.0.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v4.0.1...v6.0.0)

---
updated-dependencies:
- dependency-name: watchdog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Fix up ignores and hints for new watchdog version

---------

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>
2024-12-04 12:38:52 -07:00
github-actions[bot]andChiaAutomation d0c3609083 CA Cert updates (#18946)
adding ca updates

Co-authored-by: ChiaAutomation <automation@chia.net>
2024-12-04 12:37:40 -07:00
dependabot[bot] 5f5f433994 build(deps): bump packaging from 24.0 to 24.2 (#18977)
Bumps [packaging](https://github.com/pypa/packaging) from 24.0 to 24.2.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/24.0...24.2)

---
updated-dependencies:
- dependency-name: packaging
  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>
2024-12-04 11:21:46 -07:00
Matt Hauff 0cda424fc2 [CHIA-1934] Remove get_new_* from DIDWallet (#18968)
* remove `get_new_*` from `DIDWallet`

* remove `get_puzzle` entirely
2024-12-04 11:21:14 -07:00
Matt Hauff 215327a6f7 [CHIA-1933] Remove get_new methods from CATWallet (#18965)
* Remove `get_new` methods from cat wallet

* Fix an instance in `tails.py`

* Fix an instance in `tails.py`

* Fix `test_dao_wallets.py`

* Test coverage
2024-12-04 11:20:57 -07:00
Matt Hauff 40614d5bed [CHIA-1659] Delete unnecessary TODO in auto_claim_coins (#18957)
Delete unnecessary `TODO` in `auto_claim_coins`
2024-12-04 11:18:28 -07:00
Matt Hauff 197ea79f48 [CHIA-1787] Add ergonomic message condition drivers (#18931)
* Add ergonomic message condition drivers

* Add test coverage (and fix some bugs!)
2024-12-04 11:17:38 -07:00
dependabot[bot] 1154879d24 build(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /build_scripts/npm_windows (#18891)
build(deps): bump cross-spawn in /build_scripts/npm_windows

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-04 11:17:19 -07:00
dependabot[bot] 3d1bace8f0 build(deps): bump types-setuptools from 75.5.0.20241122 to 75.6.0.20241126 (#18975)
build(deps): bump types-setuptools

Bumps [types-setuptools](https://github.com/python/typeshed) from 75.5.0.20241122 to 75.6.0.20241126.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-setuptools
  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>
2024-12-04 10:00:03 -07:00
dependabot[bot] f96e5bd239 build(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /build_scripts/npm_macos (#18892)
build(deps): bump cross-spawn in /build_scripts/npm_macos

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-04 09:53:55 -07:00
Almog De PazandArvid Norberg fe9eb677a0 fix short_sync_backtrack (#18951)
* fix short_sync_backtrack

* add test for a 1-block reorg in short_sync_backtrack() (#18966)

---------

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
2024-12-04 09:50:44 -07:00
29d2eedd3c build(deps): bump ruff from 0.7.1 to 0.8.1 (#18973)
* build(deps): bump ruff from 0.7.1 to 0.8.1

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.1 to 0.8.1.
- [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.7.1...0.8.1)

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

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

* Fix ruff issues

* >-

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt <quexington@gmail.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-12-04 08:59:18 -07:00
dependabot[bot] 419000ea0d build(deps): bump aiohttp from 3.10.4 to 3.11.9 (#18972)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.10.4 to 3.11.9.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.4...v3.11.9)

---
updated-dependencies:
- dependency-name: aiohttp
  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>
2024-12-04 08:54:00 -07:00
dependabot[bot] 0f2f1b8d7d build(deps): bump clvm-tools from 0.4.9 to 0.4.10 (#18900)
Bumps [clvm-tools](https://github.com/Chia-Network/clvm_tools) from 0.4.9 to 0.4.10.
- [Release notes](https://github.com/Chia-Network/clvm_tools/releases)
- [Commits](https://github.com/Chia-Network/clvm_tools/compare/0.4.9...0.4.10)

---
updated-dependencies:
- dependency-name: clvm-tools
  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>
2024-12-04 08:53:34 -07:00
dependabot[bot] c56c4e14ff build(deps): bump pre-commit from 3.7.1 to 4.0.1 (#18858)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.7.1 to 4.0.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.7.1...v4.0.1)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-04 08:53:18 -07:00
Kyle Altendorf e7d12c7cb1 add root_path parameter to initialize_service_logging() (#18961) 2024-12-03 14:32:34 -07:00
Kyle Altendorf aa1beb4f45 no more pre-commit conditional versioning (#18938) 2024-12-03 14:32:10 -07:00
Kyle Altendorf 9dacf09bbf fixup dont_prompt (#18974) 2024-12-03 14:31:17 -07:00
dependabot[bot] 5ae3659c4f build(deps): bump boto3 from 1.35.43 to 1.35.73 (#18971)
Bumps [boto3](https://github.com/boto/boto3) from 1.35.43 to 1.35.73.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.35.43...1.35.73)

---
updated-dependencies:
- dependency-name: boto3
  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>
2024-12-03 12:34:38 -07:00
dependabot[bot] fc77df84f0 build(deps): bump cryptography from 43.0.1 to 43.0.3 (#18944)
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.1 to 43.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/43.0.1...43.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  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>
2024-12-03 12:34:07 -07:00
Earle Lowe 7c01e3c483 CHIA-1730: port chia plotnft to @chia_commands framework (#18833)
* chia plotnft CLI improvements

* use CliRpcConnectionError

* add check to show

* fix typo

* Update plotnft CLI to newer framework

* Fix help cut-paste error

* add test using new framework

* some minor fixes

* use click.Choice for pool/local option

* some click options

* Some more plotnft cli tests

* drop test_pool_cmdline from mypy-exclusions

* mypy fixes

* several fixes

* Add leave test

* join tests

* more join tests

* missing await

* Try setting config

* use root_path from NeedsWalletRPC

* linting

* Some cleanup

* Add claim tests

* Improved tests

* refactor some test code

* Add inspect tests

* Skip bad test for now

* Add in change payout tests

* quoting error

* Add test for get_login_link

* Add in a few negative tests for join

* Few more tests

* Experment with clirunner env overrides

* put back chia_root into context dict

* Some cleanup and one more test

* maybe final test

* some updates

* some dedup and reorg of test code

* run trusted and untrusted paramertization

* make reuse puzhash stuff work

* Add in required mock object for test_update_pool_config_new_config

* rearrange code per review comment - limit use of NeedsWalletRPC to chia_command

* Add in plotnft click parsing tests

* added ability to pass in obj to runner invoke

* Add in some more test cases

* fix up create issues with config

* Add in couple more test cases for error conditions

* Minor code cleanup

* Use long options for readability, minor code cleanup

* Use config file for farmer rpc port

* simplify code

* Add testing for prompt cases

* Add mocking for default_root_path

* context cleanup

* temp debugging output

* patch the proper object

* move some wallet fixtures into top level conftest and remove conftest import

* merge to origin/main
2024-12-03 12:33:52 -07:00
dependabot[bot] 64586631d0 build(deps): bump lxml from 5.2.2 to 5.3.0 (#18599)
Bumps [lxml](https://github.com/lxml/lxml) from 5.2.2 to 5.3.0.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.2.2...lxml-5.3.0)

---
updated-dependencies:
- dependency-name: lxml
  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>
2024-12-03 12:33:20 -07:00
Kyle Altendorf 9cebffdbdb actionlint without VALIDATE_GITHUB_ACTIONS: true (#18962)
* `VALIDATE_GITHUB_ACTIONS: true`

* fixups

* there

* and the config...

* wrong way, back again

* shellcheck

* tweak

* wrong place

* see ya super-linter

* Revert "wrong place"

This reverts commit 478fde7b2e.

* -shellcheck

* reintroduce actionlint/shellcheck issue to show failure

* Revert "reintroduce actionlint/shellcheck issue to show failure"

This reverts commit 24b034522f.

* blech
2024-12-03 10:30:20 -07:00
Matt Hauff 8dd76e5d1c [CHIA-1731] Add comments about PLR6201 (#18963)
* Add comments about PLR6201

* Change comment

* Change comment
2024-12-03 09:45:57 -07:00
Kyle Altendorf 2fe179c975 use poetry 1.8.3 (#18960) 2024-12-03 09:22:07 -07:00
Arvid Norberg df52ee6a57 add in_main_chain=1 to the SQL query, that just asks for heights (#18932)
extend unit test for BlockStore and add in_main_chain=1 to the SQL query, that just asks for heights
2024-12-03 09:21:29 -07:00
Arvid Norberg 98f7f8824c add new configuration option to log the first 6 hex digits of coins (#18893)
add new configuration option to log the first 6 hex digits of all coins added, removed and reorged (off by default)
2024-12-03 08:50:38 -07:00
dependabot[bot] 9b7bb5b36d build(deps): bump peter-evans/create-pull-request from 6 to 7 (#18553)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 08:50:23 -07:00
Chris Marslender ac45a37bd9 Add simulator to installers (#18964)
* Add start simulator to installers

* Point to correct path for start_simulator
2024-12-02 22:18:26 -06:00
Kyle Altendorf cf49d9c198 remove implementation from BlockRecordProtocol.is_transaction_block() (#18948) 2024-12-02 14:51:12 -07:00
Kyle Altendorf 3a54c5de53 remove dangling pylint comment reference (#18937) 2024-12-02 14:50:29 -07:00
Kyle Altendorf 3bfb4da50f explicitly set option parameter name based on field name for cmd classes (#18926) 2024-12-02 14:50:17 -07:00
Almog De Paz 61703ce09a fix trusted wallet sync on deep reorg (#18831)
* fix trusted wallet sync on deep reorg

* handle long sync exception case in finish sync

* fix_wallet_sync_test

* fix test_long_sync_wallet

* reconnect only untrusted node in test

* fix long_sync test, update only on finish_sync()

* revert add_blocks_in_batches

* types

* fix  flakey test_long_reorg_nodes_and_wallet
2024-12-02 11:22:55 -07:00
dependabot[bot] a33f40228d build(deps): bump github/super-linter from 6 to 7 (#18552)
Bumps [github/super-linter](https://github.com/github/super-linter) from 6 to 7.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/super-linter/compare/v6...v7)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 11:22:27 -07:00
Kyle Altendorf b93f300181 use the lock file for pinning dependencies, not the project definition (#18305)
* use the lock file for pinning dependencies, not the project definition

* fixup

* `>=`

* trying v4.3.3

* undo

* undo

* rebase-strategy: auto

* Revert "rebase-strategy: auto"

This reverts commit 659eb4d043.

* Revert "Revert "rebase-strategy: auto""

This reverts commit bf8a5ff524.

* Revert "Revert "Revert "rebase-strategy: auto"""

This reverts commit 49e7d19a8d.
2024-12-02 11:21:44 -07:00
dependabot[bot] e5bf80e29f build(deps): bump importlib-resources from 6.4.0 to 6.4.5 (#18942)
Bumps [importlib-resources](https://github.com/python/importlib_resources) from 6.4.0 to 6.4.5.
- [Release notes](https://github.com/python/importlib_resources/releases)
- [Changelog](https://github.com/python/importlib_resources/blob/main/NEWS.rst)
- [Commits](https://github.com/python/importlib_resources/compare/v6.4.0...v6.4.5)

---
updated-dependencies:
- dependency-name: importlib-resources
  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>
2024-11-27 11:17:21 -07:00
Kyle Altendorf 4ea37f2a1c **/*.lock linguist-generated=false (#18939) 2024-11-27 09:18:14 -07:00
Kyle Altendorf bcf5a6580f squash emoji-suppressing typo (#18911) 2024-11-26 14:22:09 -07:00
Kyle Altendorf 7fe2373b16 show cli defaults by default (#18927) 2024-11-26 11:59:46 -07:00
dependabot[bot] 252c54eca9 build(deps): bump types-pyyaml from 6.0.12.20240311 to 6.0.12.20240917 (#18597)
Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.12.20240311 to 6.0.12.20240917.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pyyaml
  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>
2024-11-26 11:59:31 -07:00
Arvid Norberg 57048e318f [CHIA-1830] in deep-reorg tests, ensure the resulting coin set is correct (#18925)
in deep-reorg tests, ensure the resulting coin set is correct
2024-11-26 10:49:15 -07:00
dependabot[bot] f7897a6239 build(deps): bump typing-extensions from 4.11.0 to 4.12.2 (#18322)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.11.0 to 4.12.2.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.11.0...4.12.2)

---
updated-dependencies:
- dependency-name: typing-extensions
  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>
2024-11-25 19:50:04 -07:00
dependabot[bot] 0516e83628 build(deps): bump types-aiofiles from 23.2.0.20240311 to 24.1.0.20240626 (#18321)
Bumps [types-aiofiles](https://github.com/python/typeshed) from 23.2.0.20240311 to 24.1.0.20240626.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-aiofiles
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 11:22:52 -07:00
dependabot[bot] dfaf70895a build(deps): bump types-setuptools from 70.0.0.20240524 to 75.5.0.20241122 (#18924)
build(deps): bump types-setuptools

Bumps [types-setuptools](https://github.com/python/typeshed) from 70.0.0.20240524 to 75.5.0.20241122.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 13:05:42 -08:00
Matt Hauff 9755c46dec [CHIA-1773] Add better reuse_puzhash checking to WalletTestFramework (#18897)
* Add better reuse_puzhash checking to WalletTestFramework

* Do more sophisticated monkeypatching

* Fix `test_did_find_lost_did`

* Add ability to ignore reuse_puzhash enforcement

* Actually fix `test_did_find_lost_did`

* Fix `test_nft_with_did_wallet_creation`

* Fix `test_split_coins`

* Fix `test_did_attest_after_recovery`
2024-11-22 13:05:29 -08:00
Kyle Altendorf 30a83ce791 adjust cmd class help parameters (#18921) 2024-11-22 10:50:55 -08:00
Chris Marslender db2ddfe7ba Update systemd templates to check if RPCs are up by using the chia rpc commands instead of nc (#18920) 2024-11-22 08:57:45 -07:00