I want to access the config in start/stop to print a warning if the `beta` section is in the config. The alternative to this PR would be to double load the config in start/stop, i think avoid loading twice makes sense but if there are objections about all this passing the config around let me know.
* run pre-commit across platforms in ci
why? because we have developers working on multiple platforms.
* pre-clean for pre-commit in ci
* chia setup python action
* fixup
* fix windows specific hinting
* no TypeAlias yet
* debug
* debug
* adjust activated.ps1
* verbose pre-commit
* exit better
* Revert "debug"
This reverts commit 93a100afc7.
* less debug
* less `|`
* Update .pre-commit-config.yaml
* Update activated.ps1
* redesign simulator config loader
* edit initial config file and use it in start_simulator
also final lint cleanup
* small change
* aarggggghhhh
LINTTTTTTTTTTTTTTTT
* fix lint for the last time
DAMN END OF LINE
* Add Types & change port
* fix config loading for tests
* change config options
remove unnecessary options & change ports back
* Add additional config options for old simulator
* Get working simulator & implement the requirements
i hope my code makes sense:)
* remove extra part of config
* fix config typos
* add callback for autofarm
we can call this to tell the node to farm a block
* add auto farm rpc to simulator
* add plot_directory to config
add separate plot dir to avoid issues where the plot dir is shared with tests and an assert fails
* remove port from config
no longer needed due to existing gui simulator being broken
* switch to dedicated plot creation function
* modify api for greater block customization
Added block type option & amount of block option
* disable auto farm for tests
breaks them all ;)
Also made sure to run autofarm while a transaction is in mempool if the mode was just changed
* change farm_block for the better
* clean up autofarm
remove unnecessary optional
* update create block tools and allow additional plot creation tweaks
& do requested fixes
* change to k18's
* minor nitpick
* testing some changes
stop reading these descriptions, just ask me on keybase
* change plot directory name stuff
* add editing of root level keys
* use config_overrides
* update plot info
* re separate create_block_tools
* revert some changes as requested
change back get_plot_dir & undo change to asyncio.run
* replace unnessary catch while adding plot locations
switch to better if logic
* combine simulator_bt function into main
fix block_tools logic too
* fix lint
windows bad
* test auto_farming
* remove change that causes more harm then good
* move test over and unflake it
* make test do the bare minimum
* add proper block waiting or wait avoidance
* fix failing test
* add new rpc client & a small fix
* add new test & add some minor changes to start_sim to support it
New test tests whole user facing simulator with real keychain, gui and daemon.
* merge fixes
* update block-cache version
CHANGE TO MY USER, REVERT THIS LATER
PLS REVERT BEFORE MERGE
fix version
* Revert "update block-cache version"
This reverts commit 3afbbc5f51.
* block args from reaching simulator
* clean up test plot creation
* remove extra bt's being called
this reduces load time
* fix stupid bug
* damn lint
* Revert "remove extra bt's being called"
This reverts commit f78debcc26.
* Revert "clean up test plot creation"
This reverts commit d006a1a196.
* align with 12204
* rename RPC's for clarity
* disable cache error when not running in automated mode
* update tests with new rpc's
oops i forgor
* finalize sim api
* something funky going on
* Revert "something funky going on"
This reverts commit afa1ddde27.
* fix config
* add get_farming_ph rpc
* remove random simulation thing, why are we even using this.
* update tests
* simplify test code & fix lint
* lol one of my own pr's broke another one of my pr's
git funny
* optimize WalletCoinStore.set_spent() to just update the required fields in the DB
* overwriting an existing record with WalletCoinStore.add_coin_record() is an error