Commit Graph

10895 Commits

Author SHA1 Message Date
dustinface
bddcc8f3a8
wallet: Fix missing hint in GenesisById.generate_issuance_bundle (#15424)
* wallet: Fix missing hint in `GenesisById.generate_issuance_bundle`

* Call `get_tree_hash` only once
2023-06-06 12:39:56 -05:00
dustinface
b2cbea84d9
wallet: Hint puzzle_utils.py (#15422) 2023-06-06 12:39:15 -05:00
dustinface
ebc5f3c124
util: Improve list_to_batches (#15415)
* Make `list_to_batches` work with collections instead of lists only

* Move `to_batches` into `chia.util.misc`

* Only support `set` and `list`

* Drop `tests.generator.test_to_batches` exclusion

* Improve type restrictions and be more coverage friendly in tests
2023-06-06 12:00:07 -05:00
William Allen
5ad78bd669
checkpoint: into main from release/1.8.2 @ ec28f76463 (#15448)
Source hash: ec28f76463
Remaining commits: 1
2023-06-06 00:36:20 -05:00
Amine Khaldi
8db38be33e
Merge commit 'ec28f764632b6c77d35b5720c258d20b7bfdd788' into checkpoint/main_from_release_1.8.2_ec28f764632b6c77d35b5720c258d20b7bfdd788 2023-06-05 17:25:05 +01:00
William Allen
349f87facf
checkpoint: into main from release/1.8.2 @ ef68bf76c1 (#15431)
Source hash: ef68bf76c1
Remaining commits: 0
2023-06-05 11:23:15 -05:00
Sebastjan Trepca
330c75022a
reduce the resend timeout to fix flakiness (#15435)
reduce the resend timeout
2023-06-05 10:54:03 -05:00
Jeff
ec28f76463
remove unnecessary filtering of state_changed messages for the UI (#15437) 2023-06-03 09:56:45 -05:00
Matt Hauff
201f4e459d
Fix vcs get command when no proofs exist yet (#15432) 2023-06-02 17:54:31 -05:00
Matt Hauff
5dd204a001
Fix .get_next_from_coin_spend on VerifiedCredential and test new puzhashes (#15423)
Fix .get_next_from_coin_spend on VCWallet and test new puzhashes
2023-06-02 17:54:04 -05:00
Arvid Norberg
ae0939af79
bump SOFT_FORK3_HEIGHT to align with the next release cycle (#15428) 2023-06-01 21:48:01 -05:00
Amine Khaldi
88f2121791
Merge commit 'ef68bf76c1c72302a198888780a19698684b6666' into checkpoint/main_from_release_1.8.2_ef68bf76c1c72302a198888780a19698684b6666 2023-06-01 20:34:41 +01:00
dustinface
93af781b4e
wallet: Drop unused conditions helper/parameter (#15421) 2023-06-01 14:27:35 -05:00
William Allen
b4a22b9be9
checkpoint: into main from release/1.8.2 @ bcead6a600 (#15419)
Source hash: bcead6a600
Remaining commits: 0
2023-06-01 14:25:41 -05:00
Kronus91
ef68bf76c1
Add confirmed filter for get_transactions (#15374)
* Add confirmed filter

* resolve comment
2023-06-01 11:53:59 -05:00
Amine Khaldi
18a08f90cf
Merge commit 'bcead6a60077e8ceee7c8dccef15dde1252787f4' into checkpoint/main_from_release_1.8.2_bcead6a60077e8ceee7c8dccef15dde1252787f4 2023-06-01 11:39:26 +01:00
Jeff
bcead6a600
Bump chia-blockchain-gui to 1.8.2-rc1 (#15416)
Bump chia-blockchain-gui to 0c583e2d247192e3da4471da202814c09902a358

* remove Keybase as an offer sharing option by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1777
* remove unused squirrel handler from the old Windows installer code by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1787
* [Snyk] Upgrade @mui/material from 5.10.0 to 5.12.2 by @ChiaAutomation in https://github.com/Chia-Network/chia-blockchain-gui/pull/1778
* fix loading of some audio NFTs by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1789
* Rifeljm/#1699 verifiable credentials by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1785
* fix createOfferForIds when called from WalletConnect by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1793
* WC notifications by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1801

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/2.0.0-b2...1.8.2-rc1
2023-05-31 18:51:03 -05:00
Kyle Altendorf
70a8874ba5
copy connection set to iterate while pinging (#15407) 2023-05-31 11:34:30 -05:00
Sebastjan Trepca
f4204de752
get_wallet_balances (#15367)
* added get_wallet_balances rpc api

* whitespace

* get_wallet_balances for GUI convenience

* test for specified ids

* wait for bundles to get into mempool
2023-05-31 11:28:40 -05:00
github-actions[bot]
d36703337a
CA Cert updates (#15397)
adding ca updates

Co-authored-by: ChiaAutomation <automation@chia.net>
2023-05-30 15:18:01 -05:00
Chris Marslender
35e55bd970
Add timelord_launcher to the pyinstaller.spec (#15094)
* Add timelord_launcher to the pyinstaller.spec

* Update to just timelord_launcher
2023-05-30 12:50:31 -05:00
Amine Khaldi
fbe7daa32e
Convert blockchain_constants's consensus_mode param into a fixture and use it to skip some simulation related tests in HARD_FORK_2_0 mode (#15384)
* Convert blockchain_constants's consensus_mode param into a fixture and use it to run daemon_simulation one at a time.

* Simulation test seems to support only one running at a time too.
2023-05-26 11:31:14 -05:00
Arvid Norberg
6effab5dd2
remove unused test functions (#15375)
Mariano removed the test using these functions a long time ago
2023-05-25 14:05:08 -05:00
Adam Kelly
60d11a435f
Type hint (#15357)
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-24 19:05:36 -05:00
Matt Hauff
1fa1f52c11
Use spendable instead of confirmed balance for offers (#15352) 2023-05-24 16:51:07 -05:00
dependabot[bot]
6507177d5a
build(deps): bump typing-extensions from 4.5.0 to 4.6.0 (#15373)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.5.0 to 4.6.0.
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.5.0...4.6.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  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>
2023-05-24 16:50:30 -05:00
dependabot[bot]
f64d1ff0f9
build(deps): bump concurrent-log-handler from 0.9.23 to 0.9.24 (#15307)
Bumps [concurrent-log-handler](https://github.com/Preston-Landers/concurrent-log-handler) from 0.9.23 to 0.9.24.
- [Release notes](https://github.com/Preston-Landers/concurrent-log-handler/releases)
- [Changelog](https://github.com/Preston-Landers/concurrent-log-handler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Preston-Landers/concurrent-log-handler/compare/0.9.23...0.9.24)

---
updated-dependencies:
- dependency-name: concurrent-log-handler
  dependency-type: direct:production
  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>
2023-05-24 16:50:19 -05:00
Amine Khaldi
2abc0e44ce
Annotate harvester_rpc_api.py (#15378)
* Annotate harvester_rpc_api.py.

* We no longer need to exclude chia.server.start_harvester.
2023-05-24 16:50:06 -05:00
Amine Khaldi
36bc639ed9
Annotate test_farmer_harvester_rpc.py (#15377)
Annotate test_farmer_harvester_rpc.py.
2023-05-24 16:49:53 -05:00
dustinface
1141f1cdbd
wallet: Refactor WalletStateManager.get_keys (#15361)
* wallet: Refactor `WalletStateManager.get_keys`

* Test `WalletStateManager.get_private_key`
2023-05-24 16:49:36 -05:00
Adam Kelly
7f591890af
Give a type to tuple representing peak (height and block hash) of peer (#14853)
* Give a type to  tuple representing peak (height and block hash) of peer

* Update chia/wallet/wallet_node.py

Co-authored-by: Kyle Altendorf <sda@fstab.net>

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 19:53:32 -05:00
Adam Kelly
e2ed6a4833
Typecheck tests/tools/test_full_sync.py (#14947)
* Typecheck tests/tools/test_full_sync.py

* Merge remote-tracking branch 'origin/main' into ak.typecheck-test_full_sync

* typecheck test_full_sync.py

* Revert "typecheck test_full_sync.py"

This reverts commit e5c0d9d565.

* Revert "Merge remote-tracking branch 'origin/main' into ak.typecheck-test_full_sync"

This reverts commit e5d0e57000.

* typecheck tests.toos.test_full_sync

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 19:53:20 -05:00
Adam Kelly
337cb312e1
Typecheck chia/wallet/secret_key_store.py (#14945)
* Typecheck chia/wallet/secret_key_store.py

* typecheck secret_key_store.py

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 19:53:01 -05:00
Adam Kelly
41e17cdec9
Typecheck node_height.py (#14940)
* Typecheck node_height.py

* typecheck node_height

* return false if peak is none per code review

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 19:52:49 -05:00
Arvid Norberg
ae934ec0a9
update build_network_protocol_files.py (#15345)
* update build_network_protocol_files.py to generate the mypy-compatible files (which were fixed already, but the generator script was not). Specifically, tests/util/test_network_protocol_files.py was changed manually. This makes it possible to rerun the generation without breaking mypy

* run build_network_protocol_files.py in CI to ensure its generated files are up-to-date

* fixup mypy exclusions
2023-05-23 14:30:07 -05:00
dependabot[bot]
6742167424
build(deps-dev): bump pyinstaller from 5.10.1 to 5.11.0 (#15306)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.10.1 to 5.11.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.10.1...v5.11.0)

---
updated-dependencies:
- dependency-name: pyinstaller
  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>
2023-05-23 14:28:07 -05:00
dependabot[bot]
648bc83f08
Bump cryptography from 39.0.1 to 40.0.2 (#15072)
Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.1 to 40.0.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/39.0.1...40.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  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>
2023-05-23 14:27:55 -05:00
dustinface
92e10951b2
pools: Drop PoolWallet.get_next_interesting_coin (#15273) 2023-05-23 14:27:43 -05:00
Kyle Altendorf
18f5a3c7d3
actions/git-mark-workspace-safe in upload-pypi-source.yml (#15369) 2023-05-23 14:27:23 -05:00
Kyle Altendorf
5d14f0a208
add test coverage for starting a node with an existing db (#15338)
* add test coverage for starting a node with an existing db

* Update chia/simulator/setup_services.py
2023-05-23 14:27:10 -05:00
Kyle Altendorf
6e92b06912
always report coverage diff (#15354) 2023-05-23 14:25:30 -05:00
Adam Kelly
d1e10ea920
Remove test_setproctitle.py from mypy exclusions (#14939)
* Remove test_setproctitle.py from mypy exclusions

* typecheck test_setproctitle.py

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 14:25:08 -05:00
Adam Kelly
30cfca9589
Typecheck log_exceptions.py (#14941)
* Typecheck log_exceptions.py

* typecheck log_exceptions

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 14:24:56 -05:00
Adam Kelly
696eb6c6d6
Typecheck chia/util/safe_cancel_task.py (#14943)
* Typecheck chia/util/safe_cancel_task.py

* typecheck safe_cancel_task.py

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 14:24:44 -05:00
Arvid Norberg
ff226e8cb7
make sure tests that use BlockTools use a single source of consensus constants (#15364)
make sure tests that use BlockTools use a single source of consensus constants. This is in preparations for being able to run tests with different sets of constants, e.g. the hard-fork constants
2023-05-23 12:02:28 -05:00
Amine Khaldi
ef613df2f0
Annotate chia/plotters/chiapos.py (#15363)
Annotate chia/plotters/chiapos.py.
2023-05-23 12:01:37 -05:00
Amine Khaldi
5473c94a6b
Annotate chia/simulator/block_tools.py (#15349) 2023-05-23 10:09:45 -05:00
Amine Khaldi
37d87c99c1
Annotate test_farmer_harvester.py (#15350) 2023-05-23 06:08:12 -05:00
Amine Khaldi
cf4fffdbea
Annotate farmer/farmer_api.py (#15347)
Annotate farmer/farmer_api.py.
2023-05-23 05:34:53 -05:00
Roy Natian
eae562bde3
Wording change for fix ssl - Update ssl_check.py (#15358)
To make it easier for people to copy-paste the command, I put it at the end of the sentence.
2023-05-23 05:00:22 -05:00