Commit Graph
14659 Commits
Author SHA1 Message Date
a33f86bf11 Added: Support CLI NFT Pagination (#15342)
* first pass

first exposing `--num` and `--start-index` through to `nft_get_nfts` rpc call

* broke signature, fallback to defaults here

broke `list_nfts` signature for 1 test, supply defaults here like `vc_get_list` does (thinking `100_000` will revert back to `50` for count/num as well, but leaving it as-is for now)

* Update chia/cmds/wallet.py

Co-authored-by: Sebastjan Trepca <trepca@gmail.com>

* Update chia/rpc/wallet_rpc_client.py

use suggested default, `num=50`

Co-authored-by: Sebastjan Trepca <trepca@gmail.com>

* update `--start-index` help message for `nft list` cmd

* lost scope, fix indent on list_nft in wallet_rpc_client

* fix eager formatting

* missing annotations on signature

* black formatting

---------

Co-authored-by: Sebastjan Trepca <trepca@gmail.com>
2023-08-04 00:24:01 -05:00
Matt HauffandGitHub 289260c374 Credential Restricted CATs (#15411)
* Allow create_tandem_xch_tx to take a set of announcements

* Create potential announcement in correct arm of create_tandem_xch_tx

* Make does_coin_belong_to_wallet more robust

* Add match_hinted_coin to wallet protocol

* Add CROuterPuzzle

* Add conditions with fee announce.clsp

* Add CRCATWallet

* Add CLI support for CR-CATs

* Fix bug in CATOuterPuzzle

* Add SOFTFORK_HEIGHTS as an exportable variable from conftest

* Allow specifying num of blocks to farm to wallets_prefarm_services

* Add potential subclasses to cat wallet creation

* Integrate CR-CATs into offers

* Address comments by @geoffwalmsley

* Add CRCAT info to get_wallets

* Changes due to (#15846)
2023-08-03 19:36:21 -05:00
William AllenandGitHub ab9cda8baa checkpoint: into main from release/2.0.0 @ 957a73bf75 (#15927)
Source hash: 957a73bf75
Remaining commits: 9
2023-08-03 19:35:55 -05:00
Arvid NorbergandGitHub 1d8d476056 drop support for database schema v1 (#15895)
* don't run tests with database schema v1

* remove support for database schema v1 from BlockStore

* remove support for database schema v1 from CoinStore

* remove support for database schema v1 from HintStore

* remove support for v1 BlockStore schema from blockchain reorg logic

* remove support for database schema v1 from BlockHeightMap

* run block store tests both with and without the cache

* add test with empty blockchain for BlockHeightMap

* fix typo
2023-08-03 14:18:33 -05:00
Amine Khaldi ec517ddf5b Update the anchor to reflect the checkpoint. 2023-08-03 15:45:04 +01:00
Amine Khaldi 76b88bf4bf Merge commit '957a73bf75a0b7bdcb3153ea000c62c6c9e0491d' into checkpoint/main_from_release_2.0.0_957a73bf75a0b7bdcb3153ea000c62c6c9e0491d 2023-08-03 15:41:36 +01:00
William AllenandGitHub 0555ea2116 checkpoint: into main from release/2.0.0 @ e37bd47e64 (#15923)
Source hash: e37bd47e64
Remaining commits: 9
2023-08-03 09:25:11 -05:00
d1m1trusandGitHub 6dd3a4d740 Fixed python3-venv into install.sh (#15920)
* Fix python3.11-venv into install.sh

Fix Installation aborted due to not being able to install an older version of python3.10-venv

* Fixed python3.11-venv into install.sh rev2

Fixed Installation aborted due to not being able to install an older version of python3.10-venv

* Fixed python3.11-venv into install.sh rev3

Fixed Installation aborted due to not being able to install an older version of python3.10-venv
2023-08-03 09:24:34 -05:00
Izumi HoshinoandGitHub a5a988c320 Fixed an issue where insufficient block interval was used to calculate average block time (#15921) 2023-08-03 09:23:33 -05:00
Amine Khaldi b664f5ee44 Merge commit 'e37bd47e6457ade1087db975e53d1686ea4c1b86' into checkpoint/main_from_release_2.0.0_e37bd47e6457ade1087db975e53d1686ea4c1b86 2023-08-03 11:11:49 +01:00
Izumi HoshinoandGitHub d13538d025 Fixed chia plotnft show command (#15918) 2023-08-03 05:03:40 -05:00
Matt HauffandGitHub fe9b4aa318 Add condition opcodes for agg sigs to condition_codes.clib (#15889)
* Add condition opcodes for agg sigs to condition_codes.clib

* Add comment about hard fork

* pylint
2023-08-03 03:05:37 -05:00
Kyle AltendorfandGitHub f42394d736 allow _ProactorBasePipeTransport.__del__ failures in tests (#15908) 2023-08-03 03:01:59 -05:00
William AllenandGitHub 0fa98d43ed checkpoint: into main from release/2.0.0 @ e5431cf91e (#15909)
Source hash: e5431cf91e
Remaining commits: 8
2023-08-03 01:11:01 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f3ce122514 build(deps): bump dnspython from 2.3.0 to 2.4.1 (#15913)
Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.3.0 to 2.4.1.
- [Changelog](https://github.com/rthalley/dnspython/blob/master/doc/whatsnew.rst)
- [Commits](https://github.com/rthalley/dnspython/compare/v2.3.0...v2.4.1)

---
updated-dependencies:
- dependency-name: dnspython
  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>
2023-08-03 01:01:27 -05:00
William AllenandGitHub 547deccfe7 Update README badges (#14877)
* Update README badges

* Oops

* Adding samples

* Adding discord badge

* pre-release is broken, and I faked youtube subs

* Fix table

* Added Coverage

* Update badges

* fixing badge

* center badges

* Final badge layout
2023-08-03 00:40:01 -05:00
Arvid NorbergandGitHub f0ea0be1fd disable running benchmarks on CI (#15919) 2023-08-02 15:07:57 -05:00
Izumi HoshinoandGitHub 51d3a5a7f6 cudaplot fix (#15892)
Fixed an issue where cudaplot failed
2023-08-01 14:01:19 -05:00
Arvid NorbergandGitHub f0cb47baef remove softfork2 logic (#15793) 2023-08-01 11:28:16 -05:00
Amine Khaldi f0acccdb0a Merge commit 'e5431cf91e3c4bcf01120933aeb43425a87bc4d2' into checkpoint/main_from_release_2.0.0_e5431cf91e3c4bcf01120933aeb43425a87bc4d2 2023-08-01 14:55:11 +01:00
William AllenandGitHub a9d2b97955 Rework Bladebit artifact logic, CI cleanup, release simulation (#15887)
* Rework Bladebit artifact logic, CI cleanup

* Fixing input indentation

* Extra quote

* Fix linting on windows, and OSX conditionals

* Using bladebit suffix

* removed extra quote

* Fixed inputs name

* adding blank option
2023-07-31 18:56:41 -05:00
c20bf49e28 William's PR #15887 (Rework Bladebit artifact logic, CI cleanup, release simulation) against main (#15893)
* Rework Bladebit artifact logic, CI cleanup

* Fixing input indentation

* Extra quote

* Fix linting on windows, and OSX conditionals

* Using bladebit suffix

* removed extra quote

* Fixed inputs name

* adding blank option (#4)

---------

Co-authored-by: William Allen <wallentx@users.noreply.github.com>
2023-07-31 18:20:03 -05:00
Matt HauffandGitHub 226c601764 Remove hack_populate'ing secret keys (#15846)
* Remove hack_populate'ing secret keys

* Add an optional version of get_private_key

* test fixes

* remove pool wallet's sign method

* Move sign_transaction to wallet_state_manager

* Add test coverage

* Fix PoolWallet

* Test coverage

* remove e_msg
2023-07-31 11:16:21 -05:00
Arvid NorbergandGitHub 57d1974ef3 fix flake8 warnings (#15897) 2023-07-31 09:46:49 -05:00
39dc201564 Arvid's fix flake8 warnings (PR #15897) (#15900)
fix flake8 warnings

Co-authored-by: arvidn <arvid@libtorrent.org>
2023-07-30 22:10:16 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a05ed38099 build(deps-dev): bump black from 23.3.0 to 23.7.0 (#15744)
Bumps [black](https://github.com/psf/black) from 23.3.0 to 23.7.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.3.0...23.7.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  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>
2023-07-28 22:47:14 -05:00
William AllenandGitHub 2aa1f8641e checkpoint: into main from release/2.0.0 @ 643b3e9b72 (#15891)
Source hash: 643b3e9b72
Remaining commits: 7
2023-07-28 18:23:15 -05:00
Amine Khaldi 0043d4bc16 Merge commit '643b3e9b727f2ce689c834096a3a8281014b7aef' into checkpoint/main_from_release_2.0.0_643b3e9b727f2ce689c834096a3a8281014b7aef 2023-07-28 20:49:25 +01:00
Felix BruckerandGitHub c5ca0978f6 Add support for multi node farmers (#15444)
* Extract `respond_signatures` logic

* Add `call_api_of_specific` method to `ChiaServer`

* Fix typehint for test fixture `farmer_one_harvester`

* Make test helper `add_dummy_connection` work with any node type

* Add `reply_types` to `request_signatures` of harvester

* Fix duplicate SP processing with multiple nodes

* Handle state in `request_signed_values`

* Add set typehint

* Add comment re `_process_respond_signatures()` usage

* Fix imports

* Fix wording to not confuse with SignedValues message
2023-07-28 14:48:32 -05:00
William AllenandGitHub de2ab88883 checkpoint: into main from release/2.0.0 @ 3a3b7e5ac2 (#15881)
Source hash: 3a3b7e5ac2
Remaining commits: 8
2023-07-28 14:21:00 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
88a692666d build(deps): bump aiohttp from 3.8.4 to 3.8.5 (#15819)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.4 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.4...v3.8.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 17:03:07 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
006b86c7d1 build(deps): bump cryptography from 41.0.1 to 41.0.2 (#15780)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.1 to 41.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.1...41.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 17:02:57 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ca19563abb build(deps): bump anyio from 3.7.0 to 3.7.1 (#15745)
Bumps [anyio](https://github.com/agronholm/anyio) from 3.7.0 to 3.7.1.
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/anyio/compare/3.7.0...3.7.1)

---
updated-dependencies:
- dependency-name: anyio
  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>
2023-07-27 17:02:48 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3ed0b07d52 build(deps): bump typing-extensions from 4.6.3 to 4.7.1 (#15683)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.6.3 to 4.7.1.
- [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.6.3...4.7.1)

---
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>
2023-07-27 17:02:33 -05:00
UncertainBadg3randGitHub 146dc8fc20 Fix a typo in code style documentation (#15877)
Fix typo in documentation file
2023-07-27 16:17:28 -05:00
Arvid NorbergandGitHub cb4bade2fe dataclasses does not allow mutable member initializers (#15879) 2023-07-27 16:05:32 -05:00
Amine Khaldi 6a14873655 Merge commit '3a3b7e5ac21467e51ed0875e37ef45d17c99c63e' into checkpoint/main_from_release_2.0.0_3a3b7e5ac21467e51ed0875e37ef45d17c99c63e 2023-07-27 22:02:58 +01:00
William AllenandGitHub 13843bfe65 checkpoint: into main from release/2.0.0 @ d7539b14c6 (#15878)
Source hash: d7539b14c6
Remaining commits: 9
2023-07-27 15:39:06 -05:00
Earle LoweandGitHub 23058e6878 Set minimum macOS version to macOS 11 for Chia.app (#15880)
* Attempt to fix minimum OS version for DMG

* Update build_macos-2-installer.sh
2023-07-27 15:15:02 -05:00
29c1e1c380 Drop macos-10.14 support (#15862)
* Mojave is dead

* Update check_wheel_availability.yaml

* Update build-macos-installers.yml

Set MACOSX_DEPLOYMENT_TARGET=11 when building installer

* Fix up yaml

---------

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-07-27 12:53:52 -05:00
Kronus91andGitHub 9022a101cf Add force option for spend_clawback_coin (#15832) 2023-07-27 12:31:31 -05:00
Amine Khaldi bd246a8828 Merge commit 'd7539b14c6ba2e1144e0fe1e5b0fd41353bb3448' into checkpoint/main_from_release_2.0.0_d7539b14c6ba2e1144e0fe1e5b0fd41353bb3448 2023-07-27 18:28:29 +01:00
William AllenandGitHub 544d0bbbd3 checkpoint: into main from release/2.0.0 @ 1fed854268 (#15875)
Source hash: 1fed854268
Remaining commits: 10
2023-07-27 12:27:19 -05:00
Amine Khaldi cfe4711415 Make this a no-op to reflect changes in main (PR #15872). 2023-07-27 11:32:01 +01:00
Amine Khaldi 166246eb00 Merge commit '1fed85426880912959c720a24b7f587ca57ef073' into checkpoint/main_from_release_2.0.0_1fed85426880912959c720a24b7f587ca57ef073 2023-07-27 11:29:50 +01:00
40134512c0 remove chip13 (#15871)
* remove chip13

* flake8

* flake8

* flake8

* isort

* Remove chip-13 test

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2.0.0-rc2
2023-07-26 21:00:55 -05:00
Arvid NorbergandGitHub 99e4d5b412 bump softfork3 activation by about 2 weeks (#15861) 2023-07-26 20:26:21 -05:00
Arvid NorbergandGitHub ce8b1d43c8 fix initial-config for testnet fork points heights (#15873) 2023-07-26 19:23:31 -05:00
William AllenandGitHub cfd666bea7 checkpoint: into main from release/2.0.0 @ 2d65fc7114 (#15869)
Source hash: 2d65fc7114
Remaining commits: 7
2023-07-26 18:18:01 -05:00
Earle LoweandGitHub 3a81506dc7 Update soft for height in main for testnet to 2997292 (#15872)
* Update soft for height in main for testnet

* More updates to SOFT_FORK3_HEIGHT
2023-07-26 17:52:46 -05:00