Commit Graph

12076 Commits

Author SHA1 Message Date
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
2024-01-10 11:13:03 -06:00
Rigidity
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
arty
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 Altendorf
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 Altendorf
09048aedc8
move run_json_block() to tests/ (#17269) 2024-01-10 09:30:27 -06:00
Kyle Altendorf
384c14615a
move benchmarks/util.py to tests/util/benchmarks.py (#17251) 2024-01-10 09:30:00 -06:00
matt-o-how
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 Khaldi
dfe909267e
Annotate test_wallet_node.py (#17254)
Annotate test_wallet_node.py.
2024-01-09 15:22:21 -06:00
Kyle Altendorf
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 Khaldi
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 Altendorf
86e4faf654
more pkg_resources in tests (#17225) 2024-01-09 09:09:07 -06:00
Amine Khaldi
4b9dbdad16
Remove no longer needed TestPuzzleStore class (#17216)
Remove no longer needed TestPuzzleStore class.
2024-01-09 09:08:23 -06:00
Amine Khaldi
c1c0e30237
Annotate test_bech32m.py (#17215)
Annotate test_bech32m.py.
2024-01-09 09:08:14 -06:00
Amine Khaldi
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
12ab2b8a2e
Remove unused wallet_height_at_least (#17213)
Remove unused wallet_height_at_least.
2024-01-09 09:07:49 -06:00
Amine Khaldi
f085e94dec
Import BetaMetricsLogger only when needed (#17240)
Import BetaMetricsLogger only when needed.
2024-01-08 10:39:28 -06:00
Chris Marslender
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
1557dcfe60
Annotate test_cat_wallet.py (#17146)
Annotate test_cat_wallet.py.
2024-01-08 08:36:38 -06:00
Rigidity
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
c9e33f0e30
simplify get_unfinished_blocks() (#17226) 2024-01-08 08:35:52 -06:00
wjblanke
101f1aa9e4
add measured sizes for plot check (#16830) 2024-01-05 16:13:16 -08:00
Arvid Norberg
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
c7c4c6b4b7
Fix endless recursion in list_to_binary_tree (#17219) 2024-01-05 12:22:34 -08:00
Matt Hauff
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
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
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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