Commit Graph

12120 Commits

Author SHA1 Message Date
dependabot[bot]
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 Khaldi
68106521d2
Compute authorized providers list and pass it to construct_cr_layer (#17292) 2024-01-17 09:51:55 -06:00
Arvid Norberg
79022312d3
bump chia_rs dependency to 0.4.0 (#17341) 2024-01-16 18:48:25 -06:00
Arvid Norberg
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 Marslender
763168167c
Update default testnet to testnet11 (#17303) 2024-01-16 18:48:09 -06:00
dependabot[bot]
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 Norberg
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 Khaldi
f483328276
Annotate wallet_rpc_client.py (#17316)
Annotate wallet_rpc_client.py.
2024-01-16 09:24:24 -06:00
Kyle Altendorf
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 Khaldi
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 Khaldi
a2be9b7667
Clarify checking compute_memos results (#17312)
Clarify checking compute_memos results.
2024-01-16 09:23:18 -06:00
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 Hauff
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