Matt Hauff and GitHub
40db4635a8
[LABS-245] Enable PEP604 Ruff rules ( #20269 )
...
* Enable PEP604 Ruff rules
* Fix harcoded signature in test
* Hack CLVMStreamable test with note to fast follow
2025-11-18 12:34:00 -08:00
Arvid Norberg and GitHub
5664516dda
Bump chia rs 0.34.0 ( #20226 )
...
bump chia_rs to 0.34.0
2025-11-10 17:02:10 -07:00
Arvid Norberg and GitHub
794cce7826
PoS2-prover ( #20159 )
...
* bump chia_rs to 0.31.0
* integrate new pos2 API from chia_rs into V2Prover
* fixup test_harvester_api mocking of Prover
* review-comments: rename get_quality() to get_string() on Quality protocol
* reivew comments
* fixup bump chia_rs
* restore quality string to bytes32
2025-10-22 15:40:25 -07:00
Arvid Norberg and GitHub
e4961d9ddf
[CHIA-3654] [CHIA-3537] [CHIA-3673] stub chiapos2 API ( #19969 )
...
* stub chiapos2 API
* update block tools to support v2 plots when generating chains, as well as using the solve_proof() stub in the solver
* review comments
2025-09-03 09:24:44 -07:00
52cd1086a7
[CHIA-3593] New solver service ( #19938 )
...
* add solver service
* lint
* wire service evrywhear
* prover protocol and v2Prover
* format name
* format
* refactor filename
* tests/raise unimplemented
* add get_filename_str to mock
* rename methods
* rename
* refactor
* improve coverage
* test from bytes
* harvester and farmer v2 support
* solver service, api, rpc
* clenup, add config to tests
* pre-commit
* remove mocks from test
* aync solver, fixtures, tests
* naming
* remove redundant farmer message
* solver fixtures and tests
* change quality_string to quality_chain
* fix service tests, cleanup
* name change, fix comments
* lint
* rename to partial proof
* network protocol test, use ThreadPoolExecutor
* naming and types
* check filter for both plot versions
* update network protocol tests
* more pr comments addressed
* fix rename
* fix network formatting error
* change to Assertion errors
* add todo
* remove strength from SolverInfo
* more pr comments, fix test to catch assertion
* revert strength
* test and comments
* rename to partial proof
---------
Co-authored-by: Arvid Norberg <arvid@libtorrent.org >
2025-08-22 15:26:09 -07:00
Arvid Norberg and GitHub
18fd65d13b
pass along plot format version from ProverProtocol into ProofOfSpace ( #19930 )
...
pass along plot format version from ProverProtocol into ProofOfSpace objects
2025-08-14 12:31:07 -07:00
Matt Hauff and GitHub
a803dc0fa6
[CHIA-3633] August 2025 pass of Ruff linting rules ( #19929 )
...
* Enable Ruff `PLR1704` (`redefined-argument-from-local`)
* Enable Ruff `PLR5501` (`collapsible-else-if`)
* Enable Ruff `PLW2901` (`redefined-loop-name`)
* bad change
* Enable Ruff `RUF043` (`pytest-raises-ambiguous-pattern`)
* Enable Ruff `RUF046` (`unnecessary-cast-to-int`)
* Enable Ruff `RUF052` (`used-dummy-variable`)
* Remove unused ignore `UP006`
* One mis-signaled regex
* Comments by @altendky
* bad change, my bad
2025-08-11 14:39:12 -07:00
Almog De Paz and GitHub
19a8329cbe
Plotmanager v2 ( #19832 )
...
* prover protocol and v2Prover
* format name
* format
* refactor filename
* tests/raise unimplemented
* add get_filename_str to mock
* rename methods
* rename
* refactor
* improve coverage
* test from bytes
2025-07-30 11:05:52 -07:00
Kyle Altendorf and GitHub
e446d6b726
use chia_rs directly for sized ints ( #19303 )
...
* use chia_rs directly for sized ints
* Update data_layer_rpc_api.py
2025-02-24 14:33:09 -08:00
6c90a76b56
Tighten up ruff ignore list ( #18837 )
...
* Tighten up ruff ignore list
* Okay that fix was indeed unsafe
* enable type-name-incorrect-variance
* enable literal-membership
* enable non-augmented-assignment
* enable useless-return
* enable global-variable-not-assigned
* -
* fixup
* Clean up roff.toml from annotations
* use ignore instead of explicit re-export
* use more descriptive names
---------
Co-authored-by: Kyle Altendorf <sda@fstab.net >
2024-11-12 12:19:31 -07:00
Earle Lowe and GitHub
61cf266e28
CHIA-1697: Add new flag to support recursively scanning and following links ( #18803 )
...
* Add new flag to support recurvely scanning and following links
* black fix
* hardlink_to only in python 3.10+
* Remove unneeded hardlink checks as hardlinks to directories aren't a thing
* Minor update per code review
* use boolean_datacases
* Add new flag to initial-config
2024-11-06 10:24:02 -07:00
Kyle Altendorf and GitHub
9c8557a1f8
Remove Python 3.8 support and update source to 3.9 standards ( #18687 )
...
* manual python 3.8 removals
* poetry
* pyupgrade
* black
* isort
* manually tidy imports
* work around shadowed type
* catch up build network protocol files for pyupgrade changes
* placate pylint
* re-enable 20.04
* placate flake8
2024-10-16 14:21:15 -07:00
Matt Hauff and GitHub
3637bd33c6
Delete chia.util.misc ( #18170 )
...
* Move VersionedBlob to chia.util.streamable
* Move format_bytes to chia.cmds.cmds_util
* Move format_minutes to chia.cmds.cmds_util
* Move prompt_yes_no to chia.cmds.cmds_util
* Move get_list_or_len to from chia.plot_sync.receiver
* Move validate_directory_writable to chia.cmds.cmds_util
* Move *termination_signals to test_services
* Move UInt*Range to chia.util.streamable
* Create chia.util.batches
* Create chia.server.signal_handlers
* Create chia._tests.util.split_managers
* Move ValuedEvent to chia.types.transaction_queue_entry
* Move available_logical_cores to chia.util.cpu
* Move caller_file_and_line to chia._tests.util.misc
* Move satisfies_hint to chia._tests.wallet.test_singleton_lifecycle_fast
2024-06-18 08:27:17 -05:00
Kyle Altendorf and GitHub
a89222a428
move tests ( #17209 )
...
* prep
* verify source and installed tests match
* move
* remove move script
2024-03-14 10:19:20 -07:00