Commit Graph
14659 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
987298bd36 build(deps-dev): bump types-setuptools from 69.0.0.0 to 69.0.0.20240106 (#17266)
Bumps [types-setuptools](https://github.com/python/typeshed) from 69.0.0.0 to 69.0.0.20240106.
- [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-12 12:16:05 -06:00
neurosis69andGitHub ffc11cd79c extend measured sizes for plot check with value for k39 (#17239)
added values for k39 plot size
2024-01-12 12:15:54 -06:00
Matt HauffandGitHub dd26d00e22 Fix sorted for dictionary keys of both bytes/xch (#17270)
* Fix sorted for dictionary keys of both bytes/xch

* Fix parameterizations
2024-01-12 10:39:09 -06:00
neurosis69andGitHub f85da250d9 replace hardcoded value for db_readers (#17195)
replace hardcoded value
2024-01-12 10:38:56 -06:00
Aurélien MoraandGitHub c05fd88913 Check dependencies to avoid a useless sudo on Archlinux (#17158) 2024-01-12 10:04:10 -06:00
Florin ChiricaandGitHub 17206eea2e Add DL mirrors test. (#17125) 2024-01-12 10:03:56 -06:00
Florin ChiricaandGitHub 38ff6657f4 Add test for DL kv_diff for upsert. (#17103) 2024-01-12 10:03:46 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
77aea35f43 build(deps-dev): bump types-aiofiles from 23.2.0.0 to 23.2.0.20240106 (#17267)
Bumps [types-aiofiles](https://github.com/python/typeshed) from 23.2.0.0 to 23.2.0.20240106.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-aiofiles
  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-12 09:41:37 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8d3a1a2e82 build(deps-dev): bump flake8 from 6.1.0 to 7.0.0 (#17263)
Bumps [flake8](https://github.com/pycqa/flake8) from 6.1.0 to 7.0.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0)

---
updated-dependencies:
- dependency-name: flake8
  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-12 09:41:23 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
977bcd7c73 build(deps-dev): bump pytest from 7.4.3 to 7.4.4 (#17262)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.3 to 7.4.4.
- [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.3...7.4.4)

---
updated-dependencies:
- dependency-name: pytest
  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-12 09:41:16 -06:00
Florin ChiricaandGitHub 41c69f5144 DL Compress get_keys_values output by hash. (#17243)
* DL Compress get_keys_values output by hash.

* Lint.

* Lint.

* Lint.

* Remove get_node from delete.
2024-01-12 09:41:00 -06:00
Matt HauffandGitHub b62d64d572 Subscribe to DIDs that come into wallet (#17299) 2024-01-12 09:40:34 -06:00
Arvid NorbergandGitHub 9f56124a94 add test for detecting clashing message IDs (#17307) 2024-01-12 09:40:20 -06:00
Gene HoffmanandGitHub fb2e8929cb Log string header_hash on long validation warnings (#17304)
* Log string header_hash on long validation warnings

We are logging the binary form of the header hash in the "WARNING Block validation time" is slow log entry. Instead log the human readable header hash.

* Catch another incorrect header_hash log event

* revert last commit

* revert -gui pin

* use .hex() instead
2024-01-11 20:46:35 -06:00
Amine KhaldiandGitHub a053e2f120 Annotate test_singleton.py (#17259)
Annotate test_singleton.py.
2024-01-11 16:02:11 -06:00
537b8864db Introduce and use LineageProof.from_program (#17301)
* Introduce and use LineageProof.from_program.

* tweak from_program and add tests

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-01-11 15:29:10 -06:00
Amine KhaldiandGitHub 856293d863 construct_exigent_metadata_layer's metadata is an optional Program (#17291)
construct_exigent_metadata_layer's metadata is an optional Program.
2024-01-11 10:12:54 -06:00
Amine KhaldiandGitHub 635805bfe1 Fix run_with_cost calls in benchmark_cost.py (#17295)
Fix run_with_cost calls in benchmark_cost.py.
2024-01-11 09:16:26 -06:00
Amine KhaldiandGitHub eadfad63c7 Return genesis_id instead of its bytes representation in GenesisByIdOrSingleton's match (#17294)
Return genesis_id instead of its bytes representation in GenesisByIdOrSingleton's match.
2024-01-11 09:16:11 -06:00
Amine KhaldiandGitHub e7200efe5a Clarify the inner solution's type in generate_secure_bundle (#17293)
Clarify the inner solution's type in generate_secure_bundle.
2024-01-11 09:15:58 -06:00
Amine KhaldiandGitHub ff3a1f61b5 Clarify to_program handling of args in UnknownCondition (#17285)
Clarify to_program handling of args in UnknownCondition.
2024-01-11 09:15:45 -06:00
Amine KhaldiandGitHub 20875b53ba Pass seconds_delay to create_p2_singleton_puzzle without converting it to bytes (#17282)
Pass seconds_delay to create_p2_singleton_puzzle without converting it to bytes.
2024-01-11 09:15:23 -06:00
Amine KhaldiandGitHub 08b65cd358 Pass the bytes32 representation of metadata_updater_hash to nft_puzzles.create_full_puzzle (#17284)
Pass the bytes32 representation of metadata_updater_hash to nft_puzzles.create_full_puzzle.
2024-01-10 15:51:57 -06:00
Chris MarslenderandGitHub da79f64b84 Add fork height & rolled_back_records to block event for metrics (#17276)
* Add fork height to block event

* Add rolled_back_records to the state change data as well

* Update default values for fork_height and rolled_back_records to be None
2024-01-10 15:51:48 -06:00
Arvid NorbergandGitHub 51808b4ef7 Rust proof-of-space, reward chain and foliage types (#17218)
* use rust type for ProofOfSpace

* use rust types for Foliage

* use rust types for reward chain blocks
2024-01-10 15:42:31 -06:00
Amine KhaldiandGitHub 90ae7ea285 Extract and reuse wallet_height_at_least (#17258)
Extract and reuse wallet_height_at_least.
2024-01-10 14:42:28 -06:00
Amine KhaldiandGitHub d08c0697a4 Don't needlessly call spend_bundle.additions() in test_subscribe_for_coin_id (#17255)
Don't needlessly call tx_record.spend_bundle.additions() in test_subscribe_for_coin_id.
2024-01-10 14:42:21 -06:00
Amine KhaldiandGitHub 001cccfffb Remove no longer needed TestWalletSync class (#17253)
Remove no longer needed TestWalletSync class.
2024-01-10 14:42:09 -06:00
Matt HauffandGitHub 9282bcaa14 Tweak wallet RPC test that wasn't working (#17278) 2024-01-10 14:38:47 -06:00
Amine KhaldiandGitHub b50bda4b06 Explicitly check that (optional) memos is not None in cat_spend (#17261)
Explicitly check that (optional) memos is not None in cat_spend.
2024-01-10 14:38:04 -06:00
Amine KhaldiandGitHub 80c8d7579d Annotate test_wallet_user_store.py (#17260)
Annotate test_wallet_user_store.py.
2024-01-10 14:37:55 -06:00
Amine KhaldiandGitHub 9926f26398 Fix wallet RPC client's get_transaction_count return type (#17257)
Fix wallet RPC client's get_transaction_count return type.
2024-01-10 14:37:28 -06:00
Amine KhaldiandGitHub d511e74e0e Annotate test_puzzle_store.py (#17256)
Annotate test_puzzle_store.py.
2024-01-10 14:37:13 -06:00
Chris MarslenderandGitHub 334bf5af83 checkpoint: into main from release/2.1.4 @ b5fe5020ec (#17286)
Source hash: b5fe5020ec
Remaining commits: 0
2024-01-10 13:33:17 -07:00
Amine Khaldi b0daf2fb5f Merge commit 'b5fe5020ec75b29e91a399b6648ff0a1a683ca04' into checkpoint/main_from_release_2.1.4_b5fe5020ec75b29e91a399b6648ff0a1a683ca04 2024-01-10 21:18:37 +01:00
Chris MarslenderandGitHub 9d0748fb98 checkpoint: into main from release/2.1.4 @ f6522969dd (#17280)
Source hash: f6522969dd
Remaining commits: 1
2024-01-10 13:13:40 -07:00
Amine Khaldi 28012ca03b Addendum. 2024-01-10 18:34:46 +01:00
Amine Khaldi 25daf7fa00 Merge commit 'f6522969dd6a4bc5a60bf000551a757b975659a7' into checkpoint/main_from_release_2.1.4_f6522969dd6a4bc5a60bf000551a757b975659a7 2024-01-10 18:15:47 +01:00
Earle LoweandGitHub b5fe5020ec Update CHANGELOG.md (#17271)
* Update CHANGELOG.md

* Fix trailing whitespace
2.1.4
2024-01-10 11:13:03 -06:00
RigidityandGitHub 0cafc83194 Refactor subscriptions and add remove functionality (#17249)
* Refactor PeerSubscriptions

* Rename ph to puzzle in subscriptions

* Add subscription list test

* Fix test

* Improve code quality and logging

* Remove redundant line
2024-01-10 10:52:37 -06:00
artyandGitHub f6522969dd This should ensure that the wallets are fully synced before and after the reorg test in the nft wallet. (#17272)
This should ensure that the wallets are fully synced before and after the reorg test in the nft wallet.  This should fully fix the test up.
2024-01-10 10:52:20 -06:00
Kyle AltendorfandGitHub 714c4d1985 move run_full_sync() to tests/ (#17268)
* move `run_full_sync()` to `tests/`

* update mypy exclusions
2024-01-10 09:32:04 -06:00
Kyle AltendorfandGitHub 09048aedc8 move run_json_block() to tests/ (#17269) 2024-01-10 09:30:27 -06:00
Kyle AltendorfandGitHub 384c14615a move benchmarks/util.py to tests/util/benchmarks.py (#17251) 2024-01-10 09:30:00 -06:00
matt-o-howandGitHub c4f2595e54 Add ability to get the aggsig additional data from full node RPC (#17241)
* add melting related function rpc api

* add rpc_client version of new functions

* add get_additional_data to rpc and test it

* remove melt_cats

* remove cat_set_tail

* black

* lint fix

* rpc_client returns bytes32

* black test file
2024-01-09 16:24:25 -06:00
Amine KhaldiandGitHub dfe909267e Annotate test_wallet_node.py (#17254)
Annotate test_wallet_node.py.
2024-01-09 15:22:21 -06:00
Kyle AltendorfandGitHub 04f59ff1dc move tools/legacy_keyring.py to chia/legacy/keyring.py (#17252)
* move `tools/legacy_keyring.py` to `chia/legacy/keyring.py`

* init
2024-01-09 14:09:56 -06:00
Amine KhaldiandGitHub bb81c0f65b Document the fact that we should be using tx_config and taking a fee in DID's create_attestment (#17212)
Document the fact that we should be using tx_config and taking a fee in DID's create_attestment.
2024-01-09 11:04:12 -06:00
Kyle AltendorfandGitHub 86e4faf654 more pkg_resources in tests (#17225) 2024-01-09 09:09:07 -06:00
Amine KhaldiandGitHub 4b9dbdad16 Remove no longer needed TestPuzzleStore class (#17216)
Remove no longer needed TestPuzzleStore class.
2024-01-09 09:08:23 -06:00