Commit Graph
14659 Commits
Author SHA1 Message Date
Arvid NorbergandGitHub eb543fd888 transition FullBlock and BlockRecord to rust (#17525)
* use rust version of FullBlock and UnfinishedBlock

* use rust type for BlockRecord
2024-02-20 13:11:31 -08:00
Arvid NorbergandGitHub 036313fc7e remove support for migrating peers from legacy file format (#17517) 2024-02-20 13:11:00 -08:00
Kyle AltendorfandGitHub d75cf224ba test linux installers on arm (#17582)
* test linux installers on arm

* exclude arch arm

* also riscv

* Revert "also riscv"

This reverts commit d31cb68711.
2024-02-20 13:10:44 -08:00
Kyle AltendorfandGitHub b827f57924 clvm_tools==0.4.8 (#17575)
* `clvm_tools==0.4.8`

* remove type ignores
2024-02-20 09:31:28 -08:00
StartToasterandGitHub d9f5f3ec3f checkpoint: into main from release/2.2.0 @ 654d327729 (#17558)
Source hash: 654d327729
Remaining commits: 5
2024-02-16 10:17:23 -08:00
Kyle AltendorfandGitHub 1a71a77f62 remove config todo comment from a long time ago (#17566) 2024-02-16 10:17:00 -08:00
Arvid NorbergandGitHub a9ee02bd8e optimize validate_removals() (#17560)
* transition validate_removals() to use the fast function to compute a merkle tree root

* add type annotations to test_merkle_set.py

* add tests for validate_removals() and validate_additions(), just the case of including all items
2024-02-16 10:16:50 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
654cee7f0b build(deps): bump boto3 from 1.34.25 to 1.34.40 (#17556)
Bumps [boto3](https://github.com/boto/boto3) from 1.34.25 to 1.34.40.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/boto3/compare/1.34.25...1.34.40)

---
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-02-16 10:16:42 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
aab23b5700 build(deps-dev): bump twine from 4.0.2 to 5.0.0 (#17554)
Bumps [twine](https://github.com/pypa/twine) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/4.0.2...5.0.0)

---
updated-dependencies:
- dependency-name: twine
  dependency-type: direct:development
  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-02-16 10:16:34 -08:00
Kyle AltendorfandGitHub 821910b1b3 avoid datalayer manage data loop delay for self subscriptions (#17536) 2024-02-16 10:16:23 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e87bb45191 build(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /build_scripts/npm_linux (#17289)
build(deps): bump follow-redirects in /build_scripts/npm_linux

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 10:16:15 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6a4660921b build(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /build_scripts/npm_macos (#17288)
build(deps): bump follow-redirects in /build_scripts/npm_macos

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 10:16:06 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ee9c404f6e build(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /build_scripts/npm_windows (#17274)
build(deps): bump follow-redirects in /build_scripts/npm_windows

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 10:15:56 -08:00
Sebastjan TrepcaandGitHub b5146462eb Hint support for SpendSim (#17490)
* added support for hints

* test + mypy fix

* black fix and typo

* test coverage
2024-02-15 13:16:27 -08:00
Chris MarslenderandGitHub f499f9dd67 Add testnet11 constants to config if missing when configuring to run on testnet (#17568)
* If missing, add testnet11 constants to config file

* Run isort

* Be specific about which parts are missing when updating config

* Run black
2.2.0-rc3
2024-02-15 13:15:31 -08:00
Earle LoweandGitHub 063f55cb0f Handle when xch_target_address in config doesn't decode correctly (#17523)
* Handle when xch_target_address in config doesn't decode correctly in delete key flow

* change helper function name

* lint fix
2024-02-15 09:40:59 -08:00
Geoff WalmsleyandGitHub 11455eef33 Fix DID update metadata bug #17412 (#17527)
* Fix DID update metadata bug #17412

* coverage
2024-02-15 09:40:49 -08:00
Arvid NorbergandGitHub 3742b225ff bump chia_rs (#17559)
bump chia_rs to include a fix for the python binding of SerializedProgram.run_with_cost() to improve the conversion of EvalErr into ValueError
2024-02-15 09:40:38 -08:00
Arvid NorbergandGitHub 362414c226 remove old unhashable special case in Streamable (#17561)
remove old unhashable special case in Streamable. This simplifies the streamable implementation
2024-02-15 09:40:30 -08:00
Earle LoweandGitHub e50e1e6956 Remove all install.sh code that installs python and leave it to the user (#16000)
* Remove all install.sh code that installs python and leave it to the user to install as needed

* A little cleanup

* some install workflow updates

* install python for rocky

* cleanup some unused bits
2024-02-14 13:02:53 -08:00
Amine Khaldi 60248497e4 Merge commit '654d32772931851ba2814b13c705518c27b850a7' into checkpoint/main_from_release_2.2.0_654d32772931851ba2814b13c705518c27b850a7 2024-02-14 20:14:24 +01:00
Amine KhaldiandGitHub 0c5b4284bb Introduce satisfies_hint to check objects against type hints, use it in from_kwargs and fix all the incorrect and missing cases (#17375)
Introduce satisfies_hint to check objects against type hints, use it in from_kwargs and fix all the incorrect and missing cases.
2024-02-14 11:13:43 -08:00
320d881591 Send RewardChainBlockUnfinished to third-party harvesters (#17435)
* Send RewardChainBlockUnfinished to the harvester

- Simplify data pasing in request_signed_values

* Fix instances where the rc_block_unfinished must be sent

* Lint, fix test, generate protocol messages

* Rate Limit Adjustment for RequestSignedValues (#17481)

* Further bump request_signed_values rate limit

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
Co-authored-by: Luna <96448399+DaOneLuna@users.noreply.github.com>
2024-02-14 11:09:58 -08:00
Earle LoweandGitHub d3d0f1b981 Use Datalayer banning logic for HTTP download failures (#17515)
* use server_missed_file when http download fails

* Add test that we ban servers on http download failure
2024-02-14 11:09:46 -08:00
Amine KhaldiandGitHub 0ac4c7b08f Augment match_clawback_puzzle to accept both types of programs (#17519)
Augment match_clawback_puzzle to accept both programs and serialized programs for inner puzzle and solution.
2024-02-14 11:09:38 -08:00
Amine KhaldiandGitHub 63213f80a5 Add indices on used and hardened for derivation_paths, sort the others and remove a redundant one (#17532)
Add indices on used and hardened for derivation_paths, sort the others and remove a redundant one.
2024-02-14 11:09:28 -08:00
Amine KhaldiandGitHub 06e3caca6d Remove no longer needed index_for_puzzle_hash_and_wallet (#17541)
Remove no longer needed index_for_puzzle_hash_and_wallet.
2024-02-14 11:09:09 -08:00
StartToasterandGitHub a5478a3130 checkpoint: into main from release/2.2.0 @ fce56b9457 (#17543)
Source hash: fce56b9457
Remaining commits: 2
2024-02-14 11:08:44 -08:00
fa220629ec DL RPC pagination. (#17347)
* DL RPC pagination.

* Lint.

* Lint.

* Add RPCs.

* Lint.

* Lint.

* Add test.

* Lint.

* Add root_hash.

* Coverage.

* Fix bug.

* Update chia/cmds/data.py

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

* Dedupe.

* Lint.

* Add reference dict to test.

* Fix test.

* Fix test.

* Fix test.

* Fix test.

* Lint.

* Fix test

* Lint

* Remove short option.

* Add test.

* Lint.

* Update tests/core/data_layer/test_data_rpc.py

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

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-02-14 11:08:20 -08:00
Amine Khaldi bc8e8c142d Merge commit 'fce56b945752d426f75665e12806669358305ffd' into checkpoint/main_from_release_2.2.0_fce56b945752d426f75665e12806669358305ffd 2024-02-13 22:18:39 +01:00
e2abe186b2 Fix flaky trade test (#17507)
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-02-13 13:17:25 -08:00
Amine KhaldiandGitHub b99fdb3072 Kyle's add forced ruby dotenv version for arm64 installer build (#17553)
Kyle's add forced ruby dotenv version for arm64 installer build.
2024-02-13 13:14:18 -08:00
Kyle AltendorfandGitHub fc52015ded add forced ruby dotenv version for arm64 installer build (#17546)
* add forced ruby dotenv version for arm64 installer build

* Update build_linux_deb-2-installer.sh
2024-02-12 16:58:32 -08:00
Izumi HoshinoandGitHub 01deddf79d Fixed an issue where GUI could not shutdown background services (#17540) 2024-02-12 16:29:12 -08:00
Amine KhaldiandGitHub 71166f18c8 Augment match_dl_singleton to accept both types of puzzles (#17520)
Augment match_dl_singleton to accept both types of puzzles.

This allows us to use serialized programs without the need to convert them into programs.
2024-02-12 10:05:09 -08:00
Amine KhaldiandGitHub 48586364e0 Speedup WalletTransactionStore's add_transaction_record (#17528)
Speedup WalletTransactionStore's add_transaction_record.
2024-02-12 10:04:51 -08:00
Amine KhaldiandGitHub e47f531ff2 Remove redundant index on primary key in key_val_store (#17534)
Remove redundant index on primary key in key_val_store.
2024-02-12 10:04:17 -08:00
Amine KhaldiandGitHub 07aa94ebf7 Add missing index on transaction_record's trade_id for get_transactions_by_trade_id, sort the others and remove a redundant one (#17535)
Add missing index on transaction_record's trade_id for get_transactions_by_trade_id, sort the others and remove a redundant one.
2024-02-12 10:02:33 -08:00
Earle LoweandGitHub 59cbb96c56 use click.Path for make_offer command filename (#17538)
use click.Path for make_offer command
2024-02-10 13:18:52 -08:00
Amine KhaldiandGitHub 5dca50c259 Remove redundant index on primary key in trade_records (#17531)
Remove redundant index on primary key in trade_records.
2024-02-10 13:18:23 -08:00
Amine KhaldiandGitHub a07058cad1 Fix a typo in primary key creation in SpendSim's block_data (#17533)
Fix a typo in primary key creation in SpendSim's block_data.
2024-02-10 13:17:51 -08:00
StartToasterandGitHub 018ccad630 checkpoint: into main from release/2.2.0 @ 7747a0ddd1 (#17539)
Source hash: 7747a0ddd1
Remaining commits: 3
2024-02-10 13:16:37 -08:00
Amine Khaldi be3964b015 Merge commit '7747a0ddd1ca11085ed7cf67e2e2ea10e93df8a9' into checkpoint/main_from_release_2.2.0_7747a0ddd1ca11085ed7cf67e2e2ea10e93df8a9 2024-02-09 22:56:00 +01:00
Amine KhaldiandGitHub 8fcff28898 Speedup WalletTransactionStore's _get_new_tx_records_from_old (#17529)
Speedup WalletTransactionStore's _get_new_tx_records_from_old.
2024-02-09 13:39:17 -08:00
StartToasterandGitHub d207705d05 checkpoint: into main from release/2.2.0 @ 35ab75309e (#17537)
Source hash: 35ab75309e
Remaining commits: 4
2024-02-09 13:38:52 -08:00
Amine Khaldi 9be97306d2 Merge commit '35ab75309e901ad57e54b6256923f831c577d215' into checkpoint/main_from_release_2.2.0_35ab75309e901ad57e54b6256923f831c577d215 2024-02-09 20:52:23 +01:00
StartToasterandGitHub 11b41944cf checkpoint: into main from release/2.2.0 @ cbf3d7f252 (#17498)
Source hash: cbf3d7f252
Remaining commits: 1
2024-02-09 11:51:50 -08:00
Arvid NorbergandGitHub fe89b5b782 undo some unnecessary int type casts (#17521)
* undo redundant type-casts from slots, SubEpochSummary and SubEpochData

* undo redundant type-casts from proof-of-space, reward chain and foliage types

* undo redundant type-casts from VDFInfo, VDFProof and ClassgroupElement

* remove unnecessary type annotation
2024-02-08 15:29:33 -08:00
Chris MarslenderandGitHub 0e6e2b6ff0 Update the version formatting used for the cli .deb (#17518)
Update the version used for the cli .deb to match the UI .deb (and confirm to expected apt versioning)
2024-02-08 10:18:50 -08:00
76bb49c4fd Return TXs from CATWallet and Offer creation (#17506)
* Don't autopush transactions by default anywhere

* Remove ignore_max_send_amount

* Use TXConfig instead of pending_transactions for coin exclusion in spend_clawback_coins

* Unify transaction pushing into a single method

* Address offline comments by @emlowe

* Rework max send amount to be based on coin quantity rather than amount

* Return offer transactions from create_offer_for_ids

* Return transaction list from CATWallet.create_new_cat_wallet

* Missed an instance in a newer test

* Missed an instance in a newer test

* Simplify processing some transaction records.

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-02-08 09:04:49 -08:00