Commit Graph
14659 Commits
Author SHA1 Message Date
RigidityandGitHub f742e4e515 Add way to get coin states in batches (#17300)
* Add way to get coin states in batches

* Remove partial blocks from coin state batches

* Fix logic and improve tests

* Change state batching to have fixed limit of 15,000 and test more

* Remove unnecessary parens

* Simplify batch finalization logic

* Improve filter query logic

* Improve feature test coverage

* Cleanup code and simplify finished logic

* Fix many coin states test

* Parametrize tests

* Sort by height and ensure results are in order

* Remove unnecessary test function

* Use if instead of elif

* Improve test

* Test fixture for random coin data

* Add comment explaining 15000 limit
2024-01-23 10:05:10 -08:00
Amine KhaldiandGitHub 35bffc58b4 Remove unused ignore_size_limit from get_nft_info_from_puzzle (#17355)
Remove unused ignore_size_limit from get_nft_info_from_puzzle.
2024-01-23 10:02:41 -08:00
Amine KhaldiandGitHub bec2c39107 Remove confusing claim_coinsol value in spend_to_delayed_puzzle (#17357)
Remove confusing claim_coinsol value in spend_to_delayed_puzzle.
2024-01-23 10:02:03 -08:00
Amine KhaldiandGitHub 58bd2a90fb Annotate test_simple_sync_protocol.py (#17364)
Annotate test_simple_sync_protocol.py.
2024-01-23 10:01:38 -08:00
Felix BruckerandGitHub 82f3b06051 Add support for defining a list of full node peers to connect to (#17369) 2024-01-23 10:00:54 -08:00
Matt 661475602d Some bad merge misses 2024-01-22 12:09:16 -08:00
Matt 2eb047aafc Merge remote-tracking branch 'origin/main' into quex.remove_announcement_main 2024-01-22 10:11:25 -08:00
Matt 9a44ca926d Merge commit 'f96aaee604072b83c9aae7bcb03a1e3856f4b4cc' into HEAD 2024-01-22 09:59:43 -08:00
Amine KhaldiandGitHub 28aace130d Annotate test_singleton_lifecycle_fast.py (#17362)
Annotate test_singleton_lifecycle_fast.py.
2024-01-22 09:34:28 -08:00
Matt HauffandGitHub c0f7fd3e94 Remove duplicate short option from make_offer command (#17376)
Remove duplicate short option
2024-01-22 09:32:52 -08:00
Kyle AltendorfandGitHub 4711c52fcd fix duplicates file and upload name uniqueness (#17354)
* fix duplicates file name and upload artifact name uniqueness

* test it

* fix

* again

* Revert "test it"

This reverts commit b64956208d.

* add missing single quotes
2024-01-21 08:17:55 -06:00
Amine KhaldiandGitHub 2c502dea95 Compute and reuse launcher_id (#17360)
Compute and reuse launcher_id.
2024-01-19 20:51:37 -06:00
wjblankeandGitHub 4ec439f789 measured new_signage_point_harvester size with 100 pools for limit (#17350) 2024-01-19 20:51:23 -06:00
Chris MarslenderandGitHub 84f3e3d9f2 Pull smtools from downloads since digicert is being flaky (#17367)
* Pull smtools from downloads since digicert is being flaky

* Fix precommit
2024-01-19 16:15:06 -06:00
Arvid NorbergandGitHub 28942934ff extend Block validation timing logs to measure just the CLVM and conditions (#17275)
extend Block validation timing logs to measure just the CLVM and condition parsing
2024-01-19 14:12:44 -06:00
Amine KhaldiandGitHub e26c2de739 Parallelize tests up to 4 instead of 6 for Windows (#17365)
Parallelize tests up to 4 instead of 6 for Windows.
2024-01-19 14:07:34 -06:00
Arvid NorbergandGitHub 42762bcb7c use rust implementation of SerializedProgram (#17297) 2024-01-19 11:38:15 -06:00
Izumi HoshinoandGitHub d4ff6ef448 Fixed an issue where chia wallet did transfer command mistreats the type of fee (#15138)
* Fixed an issue where `did_tranfer_did` mistreated the unit of `--fee`

* Fixed test
2024-01-19 11:37:52 -06:00
Amine KhaldiandGitHub 4922f975af Simplify checking for all unspent coins' count in test_dusted_wallet (#17363)
Simplify checking for all unspent coins' count in test_dusted_wallet.
2024-01-19 11:00:09 -06:00
Amine KhaldiandGitHub 4274e89328 Annotate test_wallet_blockchain.py (#17361)
Annotate test_wallet_blockchain.py.
2024-01-19 11:00:01 -06:00
Amine KhaldiandGitHub f1d8b77704 Remove no longer needed TestSimpleSyncProtocol class (#17359)
Remove no longer needed TestSimpleSyncProtocol class.
2024-01-19 10:59:51 -06:00
Amine KhaldiandGitHub 71c8223f02 Use Monkeypatching for request_proof_of_weight and request_block_header in test_bad_peak_mismatch (#17311)
Use Monkeypatching for request_proof_of_weight and request_block_header in test_bad_peak_mismatch.
2024-01-18 12:41:10 -06:00
Amine KhaldiandGitHub a752d6d4cc Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_did_rpc_no_royalties (#17353)
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_did_rpc_no_royalties.
2024-01-18 11:51:10 -06:00
Amine KhaldiandGitHub a6add85264 Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_did_rpc (#17352)
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_did_rpc.
2024-01-18 11:51:03 -06:00
Amine KhaldiandGitHub 68ebec0efd Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_xch_rpc (#17351)
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_xch_rpc.
2024-01-18 11:50:51 -06:00
Earle LoweandGitHub 78a793e5f2 Increase to 6 pytest threads (#17349) 2024-01-18 08:16:43 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
af77c858d7 build(deps-dev): bump isort from 5.12.0 to 5.13.2 (#17345)
Bumps [isort](https://github.com/pycqa/isort) from 5.12.0 to 5.13.2.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.12.0...5.13.2)

---
updated-dependencies:
- dependency-name: isort
  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>
2024-01-17 17:02:02 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dc9b5c425d build(deps-dev): bump types-setuptools from 69.0.0.20240106 to 69.0.0.20240115 (#17343)
build(deps-dev): bump types-setuptools

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

---
updated-dependencies:
- dependency-name: types-setuptools
  dependency-type: direct:development
  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-01-17 15:40:49 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1e69f2f5c4 build(deps): bump anyio from 4.1.0 to 4.2.0 (#17342)
Bumps [anyio](https://github.com/agronholm/anyio) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/anyio/compare/4.1.0...4.2.0)

---
updated-dependencies:
- dependency-name: anyio
  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-01-17 15:40:37 -06:00
Amine KhaldiandGitHub 68106521d2 Compute authorized providers list and pass it to construct_cr_layer (#17292) 2024-01-17 09:51:55 -06:00
Arvid NorbergandGitHub 79022312d3 bump chia_rs dependency to 0.4.0 (#17341) 2024-01-16 18:48:25 -06:00
Arvid NorbergandGitHub 45edd24f95 remove old work-around for a bug in version 1.1.4 and earlier (#17339) 2024-01-16 18:48:17 -06:00
Chris MarslenderandGitHub 763168167c Update default testnet to testnet11 (#17303) 2024-01-16 18:48:09 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ee9a8d0c39 build(deps-dev): bump py3createtorrent from 1.1.0 to 1.2.0 (#17265)
Bumps [py3createtorrent](https://github.com/rsnitsch/py3createtorrent) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/rsnitsch/py3createtorrent/releases)
- [Commits](https://github.com/rsnitsch/py3createtorrent/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: py3createtorrent
  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>
2024-01-16 18:47:57 -06:00
Arvid NorbergandGitHub c6d5f7fa1e use rust types for slots, SubEpochSummary and SubEpochData (#17298)
* use rust types for slots, SubEpochSummary and SubEpochData

* use rust type for EndOfSubSlotBundle

* use rust types for SubEpochChallengeSegment, SubEpochSegments and SubSlotData
2024-01-16 11:04:49 -06:00
Amine KhaldiandGitHub f483328276 Annotate wallet_rpc_client.py (#17316)
Annotate wallet_rpc_client.py.
2024-01-16 09:24:24 -06:00
Kyle AltendorfandGitHub 1a30c171ea remove unused chia.wallet.block_record module (#17325)
* remove unused `chia.wallet.block_record` module

* missed it
2024-01-16 09:24:05 -06:00
Amine KhaldiandGitHub f604e87bf1 Remove unneeded singleton_wallet in filter_p2_singleton (#17315)
Remove unneeded singleton_wallet in filter_p2_singleton.
2024-01-16 09:23:49 -06:00
Amine KhaldiandGitHub a2be9b7667 Clarify checking compute_memos results (#17312)
Clarify checking compute_memos results.
2024-01-16 09:23:18 -06:00
Amine KhaldiandGitHub aaa16865a6 Simplify getting wallet spendable coins' count in test_dusted_wallet (and correct its type) (#17310)
Simplify getting wallet spendable coins' count in test_dusted_wallet (and correct its type).
2024-01-16 09:22:56 -06:00
Kyle AltendorfandGitHub 78b7904fda switch transaction queue completion to a new ValuedEvent (#17305)
* switch transaction queue completion to a new `ValuedEvent`

* add tests
2024-01-16 09:22:42 -06:00
Amine KhaldiandGitHub 76ac3a8d2b Extract and reuse get_tx_count (#17309)
Extract and reuse get_tx_count.
2024-01-12 16:56:45 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e3c1aea64b build(deps-dev): bump mypy from 1.7.1 to 1.8.0 (#17264)
Bumps [mypy](https://github.com/python/mypy) from 1.7.1 to 1.8.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.7.1...v1.8.0)

---
updated-dependencies:
- dependency-name: mypy
  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>
2024-01-12 15:52:07 -06:00
Amine KhaldiandGitHub e7b41a6d73 find_interesting_singletons doesn't need to take puzzle_db (#17321)
find_interesting_singletons doesn't need to take puzzle_db.
2024-01-12 15:51:56 -06:00
Amine KhaldiandGitHub 40a7765b6a Reuse launcher_id in launcher_conditions_and_spend_bundle (#17322)
Reuse launcher_id in launcher_conditions_and_spend_bundle.
2024-01-12 15:16:00 -06:00
Amine KhaldiandGitHub c93e7ae672 Fetch only value in get_object (#17320)
Fetch only value in get_object.
2024-01-12 15:15:40 -06:00
Matt HauffandGitHub d677140632 Fix inaccurate test (#17319) 2024-01-12 15:15:28 -06:00
Amine KhaldiandGitHub 68ce8c527c Remove no longer needed TestWalletBlockchain class (#17317)
Remove no longer needed TestWalletBlockchain class.
2024-01-12 15:15:20 -06:00
Amine KhaldiandGitHub 9280862c86 Reuse zero_ph across tests (#17314)
Reuse zero_ph across tests.
2024-01-12 15:15:12 -06:00
Amine KhaldiandGitHub 0d98352088 No need to return lineage_proof from launcher_conditions_and_spend_bundle (#17313)
No need to return lineage_proof from launcher_conditions_and_spend_bundle.
2024-01-12 15:15:02 -06:00