Commit Graph

12156 Commits

Author SHA1 Message Date
Arvid Norberg
9a6de18394
fix typo in logging (#17401) 2024-01-25 10:14:11 -08:00
Izumi Hoshino
927ea40f53
Warn if running install-plotter.sh as root (#16206)
* Removed root user requirement

* Warn when `install-plotter.sh` is run by root user
2024-01-25 10:00:18 -08:00
Amine Khaldi
8eb6d6aa5a
Explore looking beyond mempool items that hit the maximum cost limit (#17346)
Explore looking beyond mempool items that hit the maximum cost/fee limits.
2024-01-25 09:59:53 -08:00
Amine Khaldi
41a09e92f0
Annotate singleton_top_layer.py (#17358)
Annotate singleton_top_layer.py.
2024-01-25 09:59:33 -08:00
Amine Khaldi
a3099b03c4
Remove no longer needed remove_singleton_truth_wrapper (#17383)
Remove no longer needed remove_singleton_truth_wrapper.
2024-01-24 13:09:06 -08:00
Mike White
d5188c75b5
Add additions and removals to get_offer_summary API response (#17333)
Add additions and removals to offer summary rpc
2024-01-24 13:08:48 -08:00
Kyle Altendorf
61055edac5
add test that chia is installed when in ci (#17223)
* add test that chia is installed when in ci

* Update test_installed.py
2024-01-23 14:50:16 -08:00
Arvid Norberg
68e2afae21
improve mempool reorg logic when the peak is a non-transaction block (#17370) 2024-01-23 11:03:41 -08:00
Arvid Norberg
0bf842cdef
undo BlockRecord cache insert, when DB fails (#16909)
* when we fail to insert a block in the DB, we undo the insertion into the block cache in BlockStore, but we currently don't undo the insertion of the block record into the block-record cache in Blockchain.

* roll back fork-info in case we fail to add a block to the DB

* improve logging
2024-01-23 10:56:24 -08:00
Amine Khaldi
a2162903a6
Annotate nft_puzzles.py (#17356)
Annotate nft_puzzles.py.
2024-01-23 10:09:21 -08:00
Matt Hauff
aac1792192
Port get_notifications RPC to RPC marshaller (#17283)
* Port get_notifications RPC to RPC marshaller

* Fix test (I hate this)

* Don't use string formatting in SQL query

* rename notification member variable

* Missed a couple?

* Suggestion by @altendky (w/ black fix >:( )
2024-01-23 10:05:39 -08:00
Rigidity
f742e4e515
Add way to get coin states in batches (#17300)
* Add way to get coin states in batches

* Remove partial blocks from coin state batches

* Fix logic and improve tests

* Change state batching to have fixed limit of 15,000 and test more

* Remove unnecessary parens

* Simplify batch finalization logic

* Improve filter query logic

* Improve feature test coverage

* Cleanup code and simplify finished logic

* Fix many coin states test

* Parametrize tests

* Sort by height and ensure results are in order

* Remove unnecessary test function

* Use if instead of elif

* Improve test

* Test fixture for random coin data

* Add comment explaining 15000 limit
2024-01-23 10:05:10 -08:00
Amine Khaldi
35bffc58b4
Remove unused ignore_size_limit from get_nft_info_from_puzzle (#17355)
Remove unused ignore_size_limit from get_nft_info_from_puzzle.
2024-01-23 10:02:41 -08:00
Amine Khaldi
bec2c39107
Remove confusing claim_coinsol value in spend_to_delayed_puzzle (#17357)
Remove confusing claim_coinsol value in spend_to_delayed_puzzle.
2024-01-23 10:02:03 -08:00
Amine Khaldi
58bd2a90fb
Annotate test_simple_sync_protocol.py (#17364)
Annotate test_simple_sync_protocol.py.
2024-01-23 10:01:38 -08:00
Felix Brucker
82f3b06051
Add support for defining a list of full node peers to connect to (#17369) 2024-01-23 10:00:54 -08:00
Amine Khaldi
28aace130d
Annotate test_singleton_lifecycle_fast.py (#17362)
Annotate test_singleton_lifecycle_fast.py.
2024-01-22 09:34:28 -08:00
Matt Hauff
c0f7fd3e94
Remove duplicate short option from make_offer command (#17376)
Remove duplicate short option
2024-01-22 09:32:52 -08:00
Kyle Altendorf
4711c52fcd
fix duplicates file and upload name uniqueness (#17354)
* fix duplicates file name and upload artifact name uniqueness

* test it

* fix

* again

* Revert "test it"

This reverts commit b64956208d.

* add missing single quotes
2024-01-21 08:17:55 -06:00
Amine Khaldi
2c502dea95
Compute and reuse launcher_id (#17360)
Compute and reuse launcher_id.
2024-01-19 20:51:37 -06:00
wjblanke
4ec439f789
measured new_signage_point_harvester size with 100 pools for limit (#17350) 2024-01-19 20:51:23 -06:00
Chris Marslender
84f3e3d9f2
Pull smtools from downloads since digicert is being flaky (#17367)
* Pull smtools from downloads since digicert is being flaky

* Fix precommit
2024-01-19 16:15:06 -06:00
Arvid Norberg
28942934ff
extend Block validation timing logs to measure just the CLVM and conditions (#17275)
extend Block validation timing logs to measure just the CLVM and condition parsing
2024-01-19 14:12:44 -06:00
Amine Khaldi
e26c2de739
Parallelize tests up to 4 instead of 6 for Windows (#17365)
Parallelize tests up to 4 instead of 6 for Windows.
2024-01-19 14:07:34 -06:00
Arvid Norberg
42762bcb7c
use rust implementation of SerializedProgram (#17297) 2024-01-19 11:38:15 -06:00
Izumi Hoshino
d4ff6ef448
Fixed an issue where chia wallet did transfer command mistreats the type of fee (#15138)
* Fixed an issue where `did_tranfer_did` mistreated the unit of `--fee`

* Fixed test
2024-01-19 11:37:52 -06:00
Amine Khaldi
4922f975af
Simplify checking for all unspent coins' count in test_dusted_wallet (#17363)
Simplify checking for all unspent coins' count in test_dusted_wallet.
2024-01-19 11:00:09 -06:00
Amine Khaldi
4274e89328
Annotate test_wallet_blockchain.py (#17361)
Annotate test_wallet_blockchain.py.
2024-01-19 11:00:01 -06:00
Amine Khaldi
f1d8b77704
Remove no longer needed TestSimpleSyncProtocol class (#17359)
Remove no longer needed TestSimpleSyncProtocol class.
2024-01-19 10:59:51 -06:00
Amine Khaldi
71c8223f02
Use Monkeypatching for request_proof_of_weight and request_block_header in test_bad_peak_mismatch (#17311)
Use Monkeypatching for request_proof_of_weight and request_block_header in test_bad_peak_mismatch.
2024-01-18 12:41:10 -06:00
Amine Khaldi
a752d6d4cc
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_did_rpc_no_royalties (#17353)
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_did_rpc_no_royalties.
2024-01-18 11:51:10 -06:00
Amine Khaldi
a6add85264
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_did_rpc (#17352)
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_did_rpc.
2024-01-18 11:51:03 -06:00
Amine Khaldi
68ebec0efd
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_xch_rpc (#17351)
Wait for wallet_node_maker to sync before creating nft_wallet_maker in test_nft_mint_from_xch_rpc.
2024-01-18 11:50:51 -06:00
Earle Lowe
78a793e5f2
Increase to 6 pytest threads (#17349) 2024-01-18 08:16:43 -06:00
dependabot[bot]
af77c858d7
build(deps-dev): bump isort from 5.12.0 to 5.13.2 (#17345)
Bumps [isort](https://github.com/pycqa/isort) from 5.12.0 to 5.13.2.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.12.0...5.13.2)

---
updated-dependencies:
- dependency-name: isort
  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-17 17:02:02 -06:00
dependabot[bot]
dc9b5c425d
build(deps-dev): bump types-setuptools from 69.0.0.20240106 to 69.0.0.20240115 (#17343)
build(deps-dev): bump types-setuptools

Bumps [types-setuptools](https://github.com/python/typeshed) from 69.0.0.20240106 to 69.0.0.20240115.
- [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-17 15:40:49 -06:00
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