Commit Graph
12291 Commits
Author SHA1 Message Date
Kyle Altendorf 821910b1b3 avoid datalayer manage data loop delay for self subscriptions (#17536) 2024-02-16 10:16:23 -08:00
dependabot[bot] 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] 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] 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 Trepca 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
Earle Lowe 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 Walmsley 11455eef33 Fix DID update metadata bug #17412 (#17527)
* Fix DID update metadata bug #17412

* coverage
2024-02-15 09:40:49 -08:00
Arvid Norberg 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 Lowe 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 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
Amine Khaldi 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 Khaldi 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 Khaldi 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
StartToaster 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
Florin ChiricaandKyle Altendorf 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
Matt HauffandAmine Khaldi e2abe186b2 Fix flaky trade test (#17507)
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-02-13 13:17:25 -08:00
Amine Khaldi 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
Amine Khaldi 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 Khaldi 48586364e0 Speedup WalletTransactionStore's add_transaction_record (#17528)
Speedup WalletTransactionStore's add_transaction_record.
2024-02-12 10:04:51 -08:00
Amine Khaldi 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 Khaldi 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 Lowe 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 Khaldi 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 Khaldi 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
StartToaster 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 Khaldi 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
StartToaster 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
StartToaster 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 Norberg 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
Matt HauffandAmine Khaldi 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
Arvid Norberg 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
Kyle Altendorf 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 Hauff fce56b9457 Fix flaky DID test (#17509) 2024-02-07 12:26:48 -08:00
Matt Hauff 7747a0ddd1 Fix flaky trade test (#17508) 2024-02-07 12:26:30 -08:00
Kyle Altendorf 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
StartToaster 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 Khaldi 07fcecd02d Remove no longer used dataclasses import (#17495)
Remove no longer used dataclasses import.
2024-02-05 13:17:54 -08:00
Matt Hauff 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 Khaldi 2d4583b6e7 Speedup test_almost_recent (#17465)
Speedup test_almost_recent.
2024-02-05 09:43:55 -08:00
Amine Khaldi 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 Khaldi 5de7e4a338 Speedup TradeStore's add_trade_record (#17491)
Speedup TradeStore's add_trade_record.
2024-02-05 08:47:05 -08:00
Amine Khaldi 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 Khaldi 210ba9692a Speedup test_large_trade_record_query (#17493)
Speedup test_large_trade_record_query.
2024-02-05 08:46:29 -08:00
Arvid Norberg 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 Khaldi a0c2b7490f Speedup test_get_balance (#17473)
Speedup test_get_balance.
2024-02-05 08:44:12 -08:00