Commit Graph
12109 Commits
Author SHA1 Message Date
Amine Khaldi 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 Altendorf 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 Khaldi 76ac3a8d2b Extract and reuse get_tx_count (#17309)
Extract and reuse get_tx_count.
2024-01-12 16:56:45 -06:00
dependabot[bot] 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 Khaldi 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 Khaldi 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 Khaldi c93e7ae672 Fetch only value in get_object (#17320)
Fetch only value in get_object.
2024-01-12 15:15:40 -06:00
Matt Hauff d677140632 Fix inaccurate test (#17319) 2024-01-12 15:15:28 -06:00
Amine Khaldi 68ce8c527c Remove no longer needed TestWalletBlockchain class (#17317)
Remove no longer needed TestWalletBlockchain class.
2024-01-12 15:15:20 -06:00
Amine Khaldi 9280862c86 Reuse zero_ph across tests (#17314)
Reuse zero_ph across tests.
2024-01-12 15:15:12 -06:00
Amine Khaldi 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
dependabot[bot] 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
neurosis69 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 Hauff 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
neurosis69 f85da250d9 replace hardcoded value for db_readers (#17195)
replace hardcoded value
2024-01-12 10:38:56 -06:00
Aurélien Mora c05fd88913 Check dependencies to avoid a useless sudo on Archlinux (#17158) 2024-01-12 10:04:10 -06:00
Florin Chirica 17206eea2e Add DL mirrors test. (#17125) 2024-01-12 10:03:56 -06:00
Florin Chirica 38ff6657f4 Add test for DL kv_diff for upsert. (#17103) 2024-01-12 10:03:46 -06:00
dependabot[bot] 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] 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] 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 Chirica 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 Hauff b62d64d572 Subscribe to DIDs that come into wallet (#17299) 2024-01-12 09:40:34 -06:00
Arvid Norberg 9f56124a94 add test for detecting clashing message IDs (#17307) 2024-01-12 09:40:20 -06:00
Gene Hoffman 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 Khaldi a053e2f120 Annotate test_singleton.py (#17259)
Annotate test_singleton.py.
2024-01-11 16:02:11 -06:00
Matt HauffandAmine Khaldi 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 Khaldi 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 Khaldi 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 Khaldi 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 Khaldi 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 Khaldi 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 Khaldi 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 Khaldi 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 Marslender 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 Norberg 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 Khaldi 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 Khaldi 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 Khaldi 001cccfffb Remove no longer needed TestWalletSync class (#17253)
Remove no longer needed TestWalletSync class.
2024-01-10 14:42:09 -06:00
Matt Hauff 9282bcaa14 Tweak wallet RPC test that wasn't working (#17278) 2024-01-10 14:38:47 -06:00
Amine Khaldi 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 Khaldi 80c8d7579d Annotate test_wallet_user_store.py (#17260)
Annotate test_wallet_user_store.py.
2024-01-10 14:37:55 -06:00
Amine Khaldi 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 Khaldi d511e74e0e Annotate test_puzzle_store.py (#17256)
Annotate test_puzzle_store.py.
2024-01-10 14:37:13 -06:00
Chris Marslender 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 Marslender 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 Lowe b5fe5020ec Update CHANGELOG.md (#17271)
* Update CHANGELOG.md

* Fix trailing whitespace
2.1.4
2024-01-10 11:13:03 -06:00