Commit Graph
16 Commits
Author SHA1 Message Date
Arvid Norberg 8d4cbab782 make timelord/test_new_peak.py a bit more robust (#20271)
* make timelord/test_new_peak.py a bit more robust

* review comments
2025-11-21 13:27:57 -08:00
Matt Hauff 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
Richard Kiss 4e6038ba3b Simplify dependencies wrt chia.server (#19895)
Remove some dependencies in `chia.server`.
2025-08-06 12:03:47 -07:00
Almog De Paz b4976902c9 add different foliage coverage to TL new peak (#19634)
* add diffrent foliage covarage

* assert different header hash
2025-06-02 10:46:49 -05:00
Almog De Paz 434cb8136c dont skip same peak if in unfinished cache (#19626)
* dont skip same peak if in unfinished cache

* lint

* fix same block in test

* lint
2025-05-22 11:30:03 -05:00
Kyle Altendorf a90f04ff48 move chia.types.aliases to chia.server.aliases (#19535)
* move `chia.types.aliases` to `chia.server.aliases`

* touchup
2025-04-25 13:15:04 -05:00
Kyle Altendorf fcd20ce543 more chia_rs directly (#19520)
* more `chia_rs` directly

* maybe

* undo, kinda
2025-04-21 14:05:05 -05:00
Kyle Altendorf 1911044e97 use chia_rs directly for more types (#19475)
* use chia_rs directly for more types

* more more

* undo submodule change...
2025-04-18 11:45:44 -05:00
Almog De Paz 05e9706c13 Check full node state in tl tests (#19392)
* fix tl node peak sync

* revert pytest change

* add weight check, rearrange cases

* comments, logs

* logs

* fix condition

* add full node validations to tl test

* add block
2025-03-20 10:39:22 -07:00
Almog De Paz 4dc7893bee fix tl node peak sync (#19389)
* fix tl node peak sync

* revert pytest change

* add weight check, rearrange cases

* comments, logs

* logs

* fix condition
2025-03-17 09:50:28 -07:00
Kyle Altendorf d50b6e0883 use chia_rs directly for sized bytes (#19326) 2025-02-28 09:35:25 -08:00
Kyle Altendorf 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
Matt Hauff 73e4a5bbea [CHIA-1680] Finish replacing flake8 with Ruff (#18802)
* Apply ruff unsafe fixes

* Manually fix tuples with `as`

* Remove all references to flake8
2024-11-04 08:59:57 -07:00
Kyle Altendorf 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
Almog De PazandEarle Lowe 1c1e030e1e refactor new_peak_timelord (#16881)
* refactor new_peak_timelord

* fix test

* improve test assertions

* lint

* return after skipping peak

* improve comments

* limit condition to a diff of one block

* remove log

* refactor test

* better conditions
consider overflows as well

* pre commit

* test with overflow

* add test for EOS case

* lint

* comment

* prefer lower iterations peaks

* test full node receiving same weight lower iterations

* lint

* fix reorg test, lint

* fix block tools bug

* use signage point param in test

* use signage point param for overflows as well

* remove unused case

* fix block_tools condition

* lint

* lint

* Add check for peak not none in test

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2024-07-29 11:23:39 -07:00
Kyle Altendorf a89222a428 move tests (#17209)
* prep

* verify source and installed tests match

* move

* remove move script
2024-03-14 10:19:20 -07:00