Commit Graph
14659 Commits
Author SHA1 Message Date
Arvid NorbergandGitHub c932324ec0 Bump chia rs 0.5.2 (#17505)
* bump chia_rs to 0.5.2

* specify the correct fixed-width integer types for rust bindings
2024-02-08 09:04:26 -08:00
Amine KhaldiandGitHub 654d327729 Instruct the use of coin_puzzle_hash index to get_unspent_lineage_info_for_puzzle_hash (#17512)
Instruct the use of coin_puzzle_hash index to get_unspent_lineage_info_for_puzzle_hash.
2.2.0-rc2
2024-02-07 12:29:14 -08:00
Kyle AltendorfandGitHub 9ed9abe1d7 allow non-ssl rpc clients (2) (#17510)
* allow non-ssl rpc clients (2)

* add missing tests

* another test
2024-02-07 12:28:37 -08:00
Matt HauffandGitHub fce56b9457 Fix flaky DID test (#17509) 2024-02-07 12:26:48 -08:00
Matt HauffandGitHub 7747a0ddd1 Fix flaky trade test (#17508) 2024-02-07 12:26:30 -08:00
Kyle AltendorfandGitHub a64aafae6d add time out assert data collection and presentation (#16831)
* add tests.ether

* add new tests/ether.py

* go time out assert

* remove unused JunitPropertyName

* rename to `tests/process_junit.py`

* fixup

* hinting and pylint

* fixup

* after install

* handle skipped tests

* --only plot_sync/

* better relative paths

* better relative paths

* todos

* todos

* tidy

* back to full test run

* add markdown headings

* just make results an artifact

$GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 6067k.

* also output the top 50 to the step summary

* Update process_junit.py

* Update process_junit.py
2024-02-06 11:19:02 -08:00
Amine Khaldi 8e7eafa934 Merge commit 'cbf3d7f252e93dcb8f02c2184931f257dce4656a' into checkpoint/main_from_release_2.2.0_cbf3d7f252e93dcb8f02c2184931f257dce4656a 2024-02-06 16:35:55 +01:00
StartToasterandGitHub e553c45485 checkpoint: into main from release/2.2.0 @ 63417e765a (#17494)
Source hash: 63417e765a
Remaining commits: 2
2024-02-05 15:28:36 -08:00
Amine KhaldiandGitHub 07fcecd02d Remove no longer used dataclasses import (#17495)
Remove no longer used dataclasses import.
2024-02-05 13:17:54 -08:00
Matt HauffandGitHub c6f1a57c56 Unify transaction pushing (#17458)
* 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

* Inadvertent changes

* Test fixes

* Inadvertent change

* Bad import?

* Inadvertent changes?

* readd missing test
2024-02-05 10:34:47 -08:00
Amine Khaldi f8777ed559 Merge commit '63417e765aaff91fb30485577f86a4af55aba029' into checkpoint/main_from_release_2.2.0_63417e765aaff91fb30485577f86a4af55aba029 2024-02-05 18:47:03 +01:00
Amine KhaldiandGitHub 2d4583b6e7 Speedup test_almost_recent (#17465)
Speedup test_almost_recent.
2024-02-05 09:43:55 -08:00
Amine KhaldiandGitHub 35ab75309e Set 10 as the maximum number of items that get skipped if they won't fit in the block we're trying to create (#17489)
Set 10 as the maximum number of items that get skipped if they won't fit in the block we're trying to create.
2024-02-05 09:43:28 -08:00
Amine KhaldiandGitHub 5de7e4a338 Speedup TradeStore's add_trade_record (#17491)
Speedup TradeStore's add_trade_record.
2024-02-05 08:47:05 -08:00
Amine KhaldiandGitHub a3f2f8f0d4 Speedup TradeStore's _get_new_trade_records_from_old (#17492)
Speedup TradeStore's _get_new_trade_records_from_old.
2024-02-05 08:46:50 -08:00
Amine KhaldiandGitHub 210ba9692a Speedup test_large_trade_record_query (#17493)
Speedup test_large_trade_record_query.
2024-02-05 08:46:29 -08:00
Arvid NorbergandGitHub cbf3d7f252 bump farmer block fill rate to 60% (#17477)
* bump farmer block fill rate to 60%

* Amine's patch to fixup test_create_bundle_from_mempool_on_max_cost
2024-02-05 08:44:20 -08:00
Amine KhaldiandGitHub a0c2b7490f Speedup test_get_balance (#17473)
Speedup test_get_balance.
2024-02-05 08:44:12 -08:00
Amine KhaldiandGitHub 25d23b82c9 Speedup test_wallet_blockchain (#17472)
Speedup test_wallet_blockchain.
2024-02-05 08:44:04 -08:00
Amine KhaldiandGitHub 1a65b73844 Speedup test_subscribe_for_hint_long_sync (#17471)
Speedup test_subscribe_for_hint_long_sync.
2024-02-05 08:42:52 -08:00
Amine KhaldiandGitHub 9527bbb54a Speedup test_request_block_headers_rejected (#17470)
Speedup test_request_block_headers_rejected.
2024-02-05 08:42:46 -08:00
Amine KhaldiandGitHub 7a83265035 Speedup test_short_batch_sync_wallet (#17469)
Speedup test_short_batch_sync_wallet.
2024-02-05 08:42:36 -08:00
Amine KhaldiandGitHub f919533b7a Speedup test_wallet_reorg_sync (#17468)
Speedup test_wallet_reorg_sync.
2024-02-05 08:42:25 -08:00
Amine KhaldiandGitHub daccbdf803 Speedup test_long_sync_untrusted_break (#17467)
Speedup test_long_sync_untrusted_break.
2024-02-05 08:42:11 -08:00
Amine KhaldiandGitHub 2e3a0cdc4c Speedup test_request_block_headers (#17466)
Speedup test_request_block_headers.
2024-02-05 08:42:00 -08:00
Amine KhaldiandGitHub 28ea0338da Speedup test_wallet_reorg_get_coinbase (#17464)
Speedup test_wallet_reorg_get_coinbase.
2024-02-05 08:41:22 -08:00
Kyle AltendorfandGitHub 4068f5c83a enable compression for cli rpm (#16985)
* enable compression for cli rpm

* actually apply to the cli

* Update build_linux_rpm-2-installer.sh

* compression level 6
2024-02-05 08:38:57 -08:00
63417e765a Add support for generating and verifying DataLayer Proofs of Inclusions (#16845)
* initial implementaion of get_proof and verify_proof for datalayer

* Add wallet RPC and stop using offer blobs

* Don't require DL wallet to validate DL proof

* Convert to dl_verify_proof to free function

* More updates to DL proofs get/verify

* More updates to DL proofs get/verify

* More updates to DL proofs get/verify

* remove some unused verification functions

* oops deleted some important things

* fix type

* Add tests for DL proofs

* WIP using streamable classes for RPC

* Tests pass with new serializable classes

* use clvm tree hash calls instead of magic numbers and std_hash

* expanded tests to include more ways to call the same thing

* minor tests updates from feedback

* add in CLI tests

* Add separate create_multiple_keys_option

* Add helper and fixup key option

* Update tests/core/data_layer/test_data_rpc.py

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

* Add layer of indirection for the proof response

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-02-05 08:35:28 -08:00
Kyle AltendorfandGitHub bdb038401d move RecordingWebServer to tests.util.misc (#17480) 2024-02-02 09:26:26 -08:00
Earle LoweandGitHub 5d3eb6cc43 Daemon: use msg queue and specific task for handling status messages (#17411)
* Add msg queue for status messages

* Add some tests for keyring status messages

* Address some comments
2024-02-01 22:57:09 -08:00
Felix BruckerandGitHub 23e003aaae Fix negative plot sync durations not crashing the harvester (#17444)
* Fix negative plot sync durations

* Remove unnecessary try/except
2024-02-01 22:56:49 -08:00
Amine KhaldiandGitHub 87dc2cfb2b DAOWallet creation functions do not return optional values (#17453)
DAOWallet creation functions do not return optional values.
2024-02-01 22:55:21 -08:00
Amine KhaldiandGitHub 16c88222d6 Speedup test_long_sync_wallet (#17461)
Speedup test_long_sync_wallet.
2024-02-01 22:55:08 -08:00
Amine KhaldiandGitHub 1843375fcf Speedup test_basic_sync_wallet (#17462)
Speedup test_basic_sync_wallet.
2024-02-01 22:55:00 -08:00
Amine KhaldiandGitHub bf9e159ca8 Speedup test_bad_peak_mismatch (#17463)
Speedup test_bad_peak_mismatch.
2024-02-01 22:54:50 -08:00
Florin ChiricaandGitHub 221dab4f8a Improve timelord skip peak logic. (#17302) 2024-01-31 17:28:36 -08:00
Amine KhaldiandGitHub 29aab0026f Convert a get_name() call and some asserts on string and bytes32 values into actual checks in test_dao_creation (#17454)
Convert a get_name() call and some asserts on string and bytes32 values into actual checks in test_dao_creation.
2024-01-31 17:28:14 -08:00
Amine KhaldiandGitHub b846816f26 Don't convert serialized programs to programs before passing them to get_inner_puzzle_from_singleton (#17452)
Don't convert serialized programs to programs before passing them to get_inner_puzzle_from_singleton.
2024-01-31 17:28:01 -08:00
Amine KhaldiandGitHub 1977c2d7c1 Augment conditions_dict_for_solution and conditions_for_solution to accept both types of programs (#17451)
Augment conditions_dict_for_solution and conditions_for_solution to accept both programs and serialized programs.

This allows us to use serialized programs without the need to convert them into programs.
2024-01-31 17:27:49 -08:00
Amine KhaldiandGitHub b6b7cef855 Remove no longer needed TestTaproot class (#17449)
Remove no longer needed TestTaproot class.
2024-01-31 17:27:37 -08:00
Amine KhaldiandGitHub bac103286a Annotate test_wallet_sync.py (#17446)
Annotate test_wallet_sync.py.
2024-01-31 17:27:27 -08:00
Kyle AltendorfandGitHub 2dd45157d3 ensure signal objects for signal handlers (#17123)
* ensure signal objects for signal handlers

* Update misc.py

* black
2024-01-31 13:37:10 -08:00
9bdc17868d Stop automatic transaction pushing by wallets (#17436)
* 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

* Address offline comments by @emlowe

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

* merge fixes

* Inadvertent diffs

* Inadvertent change

* Inadvertent diff.

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-01-31 12:33:41 -08:00
Amine KhaldiandGitHub 3f8248275d Improve Offer's from_spend_bundle (#17450)
Improve Offer's from_spend_bundle.

* Improve constructing nonce.
* Remove incorrect annotation for payment_args_list (it's an iterator not a list).
2024-01-31 12:33:35 -08:00
StartToasterandGitHub 792c327521 checkpoint: into main from release/2.2.0 @ 1070ce8c36 (#17448)
Source hash: 1070ce8c36
Remaining commits: 0
2024-01-31 12:33:17 -08:00
Kyle AltendorfandGitHub 6fe2c9c58a use psutil.cpu_affinity() instead of os.cpu_count() (#17409)
* use `psutil.cpu_affinity()` instead of `os.cpu_count()`

* go simple for darwin

* assert, yay!
2024-01-31 09:28:37 -08:00
Felix BruckerandGitHub 728f956804 Update pool url on redirect (#17384)
* Update pool url on redirect

* Add tests

* Only persist the new url when it's a permanent redirect

* Remove unused pool_info overrides
2024-01-31 09:28:06 -08:00
Amine Khaldi cb3fdf1f3f Merge commit '1070ce8c363709c3f62ef32c92a6b81e6318d4ea' into checkpoint/main_from_release_2.2.0_1070ce8c363709c3f62ef32c92a6b81e6318d4ea 2024-01-31 18:27:17 +01:00
Gene HoffmanandGitHub 8baead2d7a Update "Could not find parent coin" error log to print hex and not bytes (#17373)
Update "can not find parent coin" error log
2024-01-31 09:27:02 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020a820bd build(deps-dev): bump pytest from 7.4.4 to 8.0.0 (#17438)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.0)

---
updated-dependencies:
- dependency-name: pytest
  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-01-31 09:26:40 -08:00