Amine Khaldi and GitHub
c1c0e30237
Annotate test_bech32m.py ( #17215 )
...
Annotate test_bech32m.py.
2024-01-09 09:08:14 -06:00
Amine Khaldi and GitHub
b6a9c1d6d6
Simplify updates construction in dl_update_multiple ( #17214 )
...
Simplify updates construction in dl_update_multiple.
2024-01-09 09:08:05 -06:00
Amine Khaldi and GitHub
12ab2b8a2e
Remove unused wallet_height_at_least ( #17213 )
...
Remove unused wallet_height_at_least.
2024-01-09 09:07:49 -06:00
Amine Khaldi and GitHub
f085e94dec
Import BetaMetricsLogger only when needed ( #17240 )
...
Import BetaMetricsLogger only when needed.
2024-01-08 10:39:28 -06:00
Chris Marslender and GitHub
9adb0e49bf
checkpoint: into main from release/2.1.4 @ 66683b957d ( #17217 )
...
Source hash: 66683b957d
Remaining commits: 0
2024-01-08 08:14:46 -07:00
Amine Khaldi and GitHub
1557dcfe60
Annotate test_cat_wallet.py ( #17146 )
...
Annotate test_cat_wallet.py.
2024-01-08 08:36:38 -06:00
3e6e08732f
Add a few missing type annotations ( #17043 )
...
* Add a few missing type annotations
* Update chia/util/struct_stream.py
Co-authored-by: Kyle Altendorf <sda@fstab.net >
* Update chia/util/keyring_wrapper.py
Co-authored-by: Kyle Altendorf <sda@fstab.net >
* add `ClassVar` import
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2024-01-08 08:36:13 -06:00
Arvid Norberg and GitHub
c9e33f0e30
simplify get_unfinished_blocks() ( #17226 )
2024-01-08 08:35:52 -06:00
wjblanke and GitHub
101f1aa9e4
add measured sizes for plot check ( #16830 )
2024-01-05 16:13:16 -08:00
Arvid Norberg and GitHub
41b9d02669
evict entries continuously from seen_unfinished_blocks ( #17207 )
...
remove entries from the seen-unfinished-blocks cache continuously, rather than emptying it periodically
2024-01-05 12:23:03 -08:00
Matt Hauff and GitHub
c7c4c6b4b7
Fix endless recursion in list_to_binary_tree ( #17219 )
2024-01-05 12:22:34 -08:00
Matt Hauff and GitHub
1a33cfdecc
Add --override flage to make_offer ( #17220 )
2024-01-05 12:22:06 -08:00
Amine Khaldi
7e8df4bdef
Merge commit '66683b957d24b4fc7a44da3e6df63536fd19da41' into checkpoint/main_from_release_2.1.4_66683b957d24b4fc7a44da3e6df63536fd19da41
2024-01-04 20:37:22 +01:00
Arvid Norberg and GitHub
92499b64a2
use rust types for VDFInfo, VDFProof and ClassgroupElement ( #17102 )
...
* use rust types for VDFInfo, VDFProof and ClassgroupElement. Since these types aren't dataclasses, the dataclass.replace() is changed to method replace()
* add test for recursive_replace()
* add comment in recursive_replace() hack
2024-01-04 10:54:21 -08:00
Arvid Norberg and GitHub
cc4e2d83a1
add feature to profile just the block validation ( #17168 )
...
add feature to profile just the block validation. This exposes what is actually going on while we validate blocks. Sometimes the block validation times are affected by other tasks that hog the CPU, blocking the main co-routine from being scheduled
2024-01-04 10:53:13 -08:00
9c33f8c141
build(deps-dev): bump pyinstaller from 5.13.0 to 6.3.0 ( #17051 )
...
* build(deps-dev): bump pyinstaller from 5.13.0 to 6.3.0
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.13.0 to 6.3.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.13.0...v6.3.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* uses module paths instead of filesystem paths for pyinstaller data targets
* Revert "uses module paths instead of filesystem paths for pyinstaller data targets"
This reverts commit 279f81193a .
* remove hack
* tidy
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2024-01-04 10:18:25 -08:00
14160b17cc
build(deps): bump actions/upload-artifact from 3 to 4 ( #17096 )
...
* build(deps): bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fixup
* install action too
* pattern not name
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2024-01-04 10:18:10 -08:00
5f48037626
build(deps): bump github/codeql-action from 2 to 3 ( #17097 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
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>
2024-01-04 10:17:53 -08:00
7080d464da
build(deps): bump typing-extensions from 4.8.0 to 4.9.0 ( #17099 )
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/python/typing_extensions/releases )
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.8.0...4.9.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>
2024-01-04 10:17:44 -08:00
31d175c2b1
build(deps-dev): bump pylint from 3.0.2 to 3.0.3 ( #17100 )
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.0.2...v3.0.3 )
---
updated-dependencies:
- dependency-name: pylint
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-04 10:17:29 -08:00
c448bff3ce
build(deps-dev): bump black from 23.11.0 to 23.12.1 ( #17169 )
...
Bumps [black](https://github.com/psf/black ) from 23.11.0 to 23.12.1.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.11.0...23.12.1 )
---
updated-dependencies:
- dependency-name: black
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-04 10:17:14 -08:00
4ef4111db4
build(deps): bump boto3 from 1.34.0 to 1.34.11 ( #17193 )
...
Bumps [boto3](https://github.com/boto/boto3 ) from 1.34.0 to 1.34.11.
- [Release notes](https://github.com/boto/boto3/releases )
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst )
- [Commits](https://github.com/boto/boto3/compare/1.34.0...1.34.11 )
---
updated-dependencies:
- dependency-name: boto3
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>
2024-01-04 10:17:01 -08:00
Amine Khaldi and GitHub
6d9f77ca1f
Annotate test_offer_lifecycle.py ( #17149 )
...
Annotate test_offer_lifecycle.py.
2024-01-04 10:15:58 -08:00
StartToaster and GitHub
a9e0d11438
cherry-pick: into main RPC marshaller ( #17201 )
...
Recreates #16865 targeting main
2024-01-04 10:15:20 -08:00
StartToaster and GitHub
2b19a48470
checkpoint: into main from release/2.1.4 @ 21e7e8d8fe ( #17204 )
...
Source hash: 21e7e8d8fe
Remaining commits: 0
2024-01-04 10:14:21 -08:00
Amine Khaldi and GitHub
72abf2f30b
Annotate test_nft_wallet.py ( #17210 )
...
Annotate test_nft_wallet.py.
2024-01-04 10:13:51 -08:00
Earle Lowe and GitHub
66683b957d
Skip flaky test on windows and python 3.8 ( #17202 )
2.1.4-rc2
2024-01-03 13:56:41 -08:00
Amine Khaldi and GitHub
f113aa4359
Annotate did_wallet_puzzles.py ( #17153 )
...
Annotate did_wallet_puzzles.py.
2024-01-03 12:59:32 -08:00
Amine Khaldi and GitHub
eb17963b31
Remove no longer needed TestCATWallet class ( #17188 )
...
Remove no longer needed TestCATWallet class.
2024-01-03 12:53:42 -08:00
Amine Khaldi
6e0c7d35bc
Merge commit '21e7e8d8fee52c5c64ba4818029a2ab2e86383a3' into checkpoint/main_from_release_2.1.4_21e7e8d8fee52c5c64ba4818029a2ab2e86383a3
2024-01-03 21:39:24 +01:00
Earle Lowe and GitHub
21e7e8d8fe
Update chia_rs to 0.2.15 for AMD K10 fix ( #17197 )
...
* Update chia_rs to 0.2.15 for AMD K10 fix
* increase NFT timeout for test_nft_wallet_creation_and_transfer
* increase NFT timeout for test_nft_wallet_creation_and_transfer
* Set timeout back to 30s
2024-01-03 12:37:19 -08:00
Amine Khaldi and GitHub
03d927b36b
No need to return None in dl_track_new and dl_stop_tracking ( #17145 )
...
No need to return None in dl_track_new and dl_stop_tracking.
2024-01-03 12:25:19 -08:00
Amine Khaldi and GitHub
1bc5e0039a
Remove leftover None prints in test_trade_bad_spend ( #17147 )
...
Remove leftover None prints in test_trade_bad_spend.
2024-01-03 12:24:45 -08:00
Amine Khaldi and GitHub
d317b47575
Simplify get_new_did_innerpuz ( #17148 )
...
Simplify get_new_did_innerpuz.
2024-01-03 12:23:55 -08:00
Amine Khaldi and GitHub
6d1898ce12
Remove DID wallet's get_frozen_amount ( #17151 )
...
Remove DID wallet's get_frozen_amount.
It's not referenced anywhere, and it relies on get_frozen_balance from WSM which doesn't exist.
2024-01-03 12:22:39 -08:00
Amine Khaldi and GitHub
456d98b22c
Remove debug prints from DID's test_creation_from_coin_spend and test_create_did_with_recovery_list ( #17152 )
...
Remove debug prints from DID's test_creation_from_coin_spend and test_create_did_with_recovery_list.
2024-01-03 12:22:04 -08:00
Amine Khaldi and GitHub
0af602fe95
Remove no longer needed TestOfferLifecycle class ( #17189 )
...
Remove no longer needed TestOfferLifecycle class.
2024-01-03 12:21:03 -08:00
Amine Khaldi and GitHub
59f30d196b
Use self_hostname fixture in test_nft_bulk_transfer ( #17191 )
...
Use self_hostname fixture in test_nft_bulk_transfer.
2024-01-03 12:19:37 -08:00
Abachrombie and GitHub
f726905f3b
FIXED: Fixed old links that just linked to links, to the new direct links in… ( #17185 )
...
Fixed old links that just linked to links, to the new direct links in Chia Docs
2024-01-03 11:19:16 -08:00
Matt Hauff
abe5c99d4f
Add a marshaller for RPC APIs ( #16865 )
...
The handling of RPC requests and responses is pretty scattered and prone
to error right now. This change proposes a way to specify concrete types
for both the request and response of an RPC and have the parsing of
dictionaries occur auto-magically due to a decorator. Something similar
exists for data layer RPCs but this proposal tries to focus heavily on
the ergonomics of writing a new API and therefore handles more behavior
behind the scenes and leans on the `Streamable` library for the business
logic.
Writing a new RPC should now look like this:
```
<in some other file probably>
@streamable
@dataclass(frozen=True)
class MyNewRPCRequest(Streamable):
class_var_1: SomeType
@streamable
@dataclass(frozen=True)
class MyNewRPCResponse(Streamable):
class_var_2: SomeOtherType
<in *_rpc_api.py>
@marshal
async def new_rpc(self, request: MyNewRPCRequest) -> MyNewRPCResponse:
...
```
2024-01-03 10:50:10 -08:00
Arvid Norberg and GitHub
e80ab1c275
Mempool logging ( #17161 )
...
* name worker processes based on what they are used for
* log queue length of mempool spend bundle validation
* improve logging of block validation
* log spendbundle pre-validation time for individual bundles, not the time to drain the queue
2024-01-03 09:27:32 -08:00
Kyle Altendorf and GitHub
60d0106ef6
apply language labels to dependabot PRs ( #17199 )
2024-01-03 09:00:30 -08:00
StartToaster and GitHub
8d53d3f8b5
checkpoint: into main from release/2.1.4 @ 7d555feba3 ( #17194 )
...
Source hash: 7d555feba3
Remaining commits: 0
2024-01-02 17:08:38 -08:00
Kyle Altendorf and GitHub
b5a58e4998
enable ssl_context deprecation warning and fix it ( #17127 )
...
* enable ssl_context deprecation warning and fix it
* one case
* a few more
* yup
* one more
2024-01-02 17:07:31 -08:00
Kyle Altendorf and GitHub
512f7b9fc5
make sure keyring file gets closed ( #17126 )
...
* make sure keyring file gets closed
* Update file_keyring.py
2024-01-02 17:06:39 -08:00
Amine Khaldi
6f34720172
Merge commit '7d555feba3cb995124b9433c839ee0dc483b7e7e' into checkpoint/main_from_release_2.1.4_7d555feba3cb995124b9433c839ee0dc483b7e7e
2024-01-02 22:08:05 +01:00
Arvid Norberg and GitHub
7d555feba3
Spin slower send_transaction() ( #17166 )
...
we currenly spin-wait for hearing back whether a transaction made it into the mempool or not (in FullNodeAPI.send_transaction()). We currently spin in a very tight loop, which appears to hog a significant amount of CPU. Increase the sleep to spin slower
2024-01-02 14:05:10 -07:00
Kyle Altendorf and GitHub
99f44c9fd8
correct condition for coverage-diff label removal ( #17187 )
2024-01-02 12:03:55 -07:00
Matt Hauff and GitHub
fa02c05633
Remove coin_solutions from SpendBundle entirely ( #17140 )
...
* Remove coin_solutions from SpendBundle (nearly) entirely
* fix test
2024-01-02 10:46:12 -07:00
Arvid Norberg and GitHub
57a59abde0
remove redundant cost field in NPCResults ( #17167 )
2024-01-02 10:45:23 -07:00