Commit Graph
14659 Commits
Author SHA1 Message Date
Amine Khaldi d1e1a5d33d Merge commit 'bcb4c1ed48a8be9032f686d69d2eda7c23807194' into checkpoint/main_from_release_1.6.1_bcb4c1ed48a8be9032f686d69d2eda7c23807194 2022-10-29 11:37:15 +01:00
Kyle AltendorfandGitHub fa5bcf3e82 leverage argparse for chia plotters help (#13742) 2022-10-28 23:59:36 -05:00
Kyle AltendorfandGitHub 7df5d336fe fix chia show -s with other options as well (#13738)
Regression introduced in https://github.com/Chia-Network/chia-blockchain/commit/b2c058970fd46e59b553d455c06c54131f4ff1fc results in `chia show -s` combined with anything else only showing the state regardless.
2022-10-28 23:56:51 -05:00
40e1d28b47 Increase job timeout for NFT wallet tests (#13675) (#13744)
(cherry picked from commit fe490d9e04)

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2022-10-28 16:28:38 -05:00
dustinfaceandGitHub f82c962bb0 cmds: Adjust default log level for chia plots (#13731) 2022-10-28 16:05:03 -05:00
0986e488db Updating old reference to chia peer -a (#13710)
* Updating old reference to chia peer -a

* Update chia/cmds/show_funcs.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2022-10-28 16:04:34 -05:00
William AllenandGitHub e38440d9cb Merge pull request #13722 from Chia-Network/checkpoint/main_from_release_1.6.1_09fc94fc0df83f296a86fa0b54dedce70dc5fda6
checkpoint: into main from release/1.6.1  @ 09fc94fc0d
2022-10-28 16:03:30 -05:00
Kyle AltendorfandGitHub 5a955c2ed6 Revert "Fixed an issue where chia plotters command showed stack trace (#13734)" (#13743)
This reverts commit 0d8b5ab763.
2022-10-28 15:12:04 -05:00
ed55423db6 Add atari get sync status RPC. (#13440)
* Add atari get sync status RPC.

* Try to fix test.

* Try to fix test.

* Some fixes.

* Update tests/core/data_layer/test_data_rpc.py

Co-authored-by: Kyle Altendorf <sda@fstab.net>

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-10-28 15:05:03 -05:00
Izumi HoshinoandGitHub 0d8b5ab763 Fixed an issue where chia plotters command showed stack trace (#13734) 2022-10-28 11:22:20 -05:00
JeffandGitHub 5d2f93594d Bump chia-blockchain-gui to 1de7d2704e63b951cd33490f6b8bf382d88889a0 (#13726)
Fixes NFT failures caused by moving the useLocalStorage hook to a
different package.
1.6.1-rc4
2022-10-27 12:56:21 -05:00
2eebd6c448 Fix CI publishing (#13725)
* Fix ref check to github.ref instead of github.event.ref, so its always present (#13661)

* Fixing s3 upload conditional for windows builds (#13658)

Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
2022-10-27 12:26:46 -05:00
Karlkim SuwanmongkolandGitHub d5b0c89430 debug_spend_bundle -- print coin name as hex string (#13605)
Signed-off-by: Karlkim Suwanmongkol <karlkim@gmail.com>

Signed-off-by: Karlkim Suwanmongkol <karlkim@gmail.com>
2022-10-27 08:22:33 -05:00
Amine Khaldi fa260cad2b Merge commit '09fc94fc0df83f296a86fa0b54dedce70dc5fda6' into checkpoint/main_from_release_1.6.1_09fc94fc0df83f296a86fa0b54dedce70dc5fda6 2022-10-27 12:21:32 +01:00
William AllenandGitHub 4669be243b Merge pull request #13702 from Chia-Network/checkpoint/main_from_release_1.6.1_b33eb8d8f41cf5c926e4dd317c0c0e0b36e02fe5
checkpoint: into main from release/1.6.1  @ b33eb8d8f4
2022-10-27 01:45:37 -05:00
738238f698 Minor Simulation CI test adjustments (#13612)
* Some simulation test CI hackery

* let me try this

* try this

* yet more attempts

* sigh

* some more attempts

* Adjusting test yaml

* directory != dir

* run a bunch of dups

* experiments

* correct len check

* minor simplifications

* undo test.yaml changes

* Use temp keyring and cleanup temp dirs

* Simplfied get_full_chia_simulator

* move empty_keyring fixture to conftest

* Update tests/simulation/test_start_simulator.py

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Update tests/simulation/test_start_simulator.py

Co-authored-by: Kyle Altendorf <sda@fstab.net>

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-10-26 20:26:05 -05:00
Snyk botandGitHub caa62696cb fix: upgrade electron-builder from 23.5.0 to 23.5.1 (#13625)
Snyk has created this PR to upgrade electron-builder from 23.5.0 to 23.5.1.

See this package in npm:
https://www.npmjs.com/package/electron-builder

See this project in Snyk:
https://app.snyk.io/org/chia-network/project/b369df98-024f-490b-a247-98288adf7081?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-10-26 19:20:43 -05:00
JeffandGitHub f9be6c9af8 Bump chia-blockchain-gui to 33b9ce805c63b4bc705be2a5730738301ed9a409 (#13715)
Includes:
NFT setting for hiding objectionable content
Several offer builder fixes
Fixed missing wallet_id error when performing an NFT operation
Fee estimator integration for CAT wallet transactions
Updated fees icon
Support naming CATs without adding a wallet
1.6.1-rc3
2022-10-26 18:59:00 -05:00
Matt HauffandGitHub 0bc5f1c65f Add a state_changed for frontend on notification (#13713) 2022-10-26 18:07:27 -05:00
Izumi HoshinoandGitHub 6dfbc1ef7c Made error message of chia plotters version more traceable (#13704) 2022-10-26 15:48:24 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
254c197726 Bump keyring from 23.6.0 to 23.9.3 (#13555)
* Bump keyring from 23.6.0 to 23.9.3

Bumps [keyring](https://github.com/jaraco/keyring) from 23.6.0 to 23.9.3.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v23.6.0...v23.9.3)

---
updated-dependencies:
- dependency-name: keyring
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* ignore kerying.util.properties deprecation warning

Working on updating it in https://github.com/frispete/keyrings.cryptfile/pull/18.

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>
2022-10-26 15:17:53 -05:00
William AllenandGitHub b609876a2a Merge pull request #13709 from Chia-Network/cherry_pick_45b5ea39bba04c3c68b3ec7f56bec0d43f6dcd37
correct test decoration and returns (#13703)
2022-10-25 17:55:02 -05:00
Kyle Altendorf f03df27851 correct test decoration and returns (#13703)
* correct test decoration and returns

* ignore new deprecation warning

* xfail it

(cherry picked from commit 45b5ea39bb)
2022-10-25 17:47:54 -04:00
SeanandGitHub a0e70ca73b Freebsd improvements when checking for legacy key (#13666)
Issue: #13282 Optional[Credential] = keyring.get_credential(keychain_service, current_user) -> AttributeError: 'NoneType' object has no attribute 'get_credential'

Freebsd platform fails to migrate in previous releases or in 1.5.1+ versions it fails to start farmer because there is a NoneType object from keyring.get_credential. This just checks for that when trying to set the legacy_keyring.
2022-10-25 16:46:15 -05:00
Kyle AltendorfandGitHub 45b5ea39bb correct test decoration and returns (#13703)
* correct test decoration and returns

* ignore new deprecation warning

* xfail it
2022-10-25 16:45:10 -05:00
Amine Khaldi 34328fc265 Merge commit 'b33eb8d8f41cf5c926e4dd317c0c0e0b36e02fe5' into checkpoint/main_from_release_1.6.1_b33eb8d8f41cf5c926e4dd317c0c0e0b36e02fe5 2022-10-25 12:12:32 +01:00
Matt HauffandGitHub bcb4c1ed48 Minor change to DL mirror sync (#13697)
* Syncing change for DL mirrors

* Make function call a constant

* bad whitespace merge

* typo
2022-10-24 18:58:08 -05:00
Almog De PazandGitHub dbc71dc3f9 fix timestamps in block_tools (#13692)
* use latest timestamp for block creation

* fix calculation, refactor
2022-10-24 17:25:28 -05:00
William AllenandGitHub 492079954a Merge pull request #13695 from Chia-Network/checkpoint/main_from_release_1.6.1_3cc352a3769af5d1215ebd9e52c79c4b75cb94c7
checkpoint: into main from release/1.6.1  @ 3cc352a376
2022-10-24 16:23:23 -05:00
Amine Khaldi 122cb1f92f Merge commit '3cc352a3769af5d1215ebd9e52c79c4b75cb94c7' into checkpoint/main_from_release_1.6.1_3cc352a3769af5d1215ebd9e52c79c4b75cb94c7 2022-10-24 20:10:55 +01:00
Jack NelsonandGitHub e8ff7ea9a4 Coin Selection CLI / RPC Expansion (#13325)
* add max coin amount everywhere

* add excluded amounts to bare minimum

offers really does not need it passed.

* add excluded coin ids

* finish rpc stuff

* finalize commands

add coins command group & expand various coin selection methods

* fix argument processing & clean up code

* fix grammer

* small miss

* Update wallet_rpc_api.py

* fix test

* add combination command

* fix error

* move command group

* add new built in funcs for direct wallet coin searches.

* add get coin rpc

* add last command

* switch to pageable function

* fix args

* expand multi rpc call and tests

+ fix other things

* da lint

* add reverse coin sorting and ability to select coins

* Update wallet_state_manager.py

* fix types

* align with protocol

* fix asserts

* fix imports

* isort

* Update wallet_coin_store.py

* Update wallet_rpc_api.py
2022-10-24 14:03:53 -05:00
William AllenandGitHub d18f205bd0 Merge pull request #13693 from Chia-Network/checkpoint/main_from_release_1.6.1_fa72e1e3adda460c3564c451b3aaf1bf6d7f73e9
checkpoint: into main from release/1.6.1  @ fa72e1e3ad
2022-10-24 13:40:35 -05:00
Amine Khaldi 26a2d07d86 Merge commit 'fa72e1e3adda460c3564c451b3aaf1bf6d7f73e9' into checkpoint/main_from_release_1.6.1_fa72e1e3adda460c3564c451b3aaf1bf6d7f73e9 2022-10-24 16:59:02 +01:00
Kyle AltendorfandGitHub 51b951e957 simpler python exclusions (#13667)
* Revert "Set up json files for python versions, to run a more restricted set on private testing repos (#13641)"

This reverts commit aff3cf5c10.

* hard coded poc

* ${{ 'limited' }}

* env.MATRIX_MODE

* via a the existing configure step

* and ad the parameter

* also define the output

* conditional on not being the main repo
2022-10-23 13:59:08 -05:00
Earle LoweandGitHub fe490d9e04 Increase job timeout for NFT wallet tests (#13675) 2022-10-21 16:59:44 -04:00
Kyle AltendorfandGitHub a1515d934f update request_fee_estimates() decorators (#13676) 2022-10-20 17:39:05 -04:00
JeffandGitHub 09fc94fc0d Bump chia-blockchain-gui to eb1243046cdf7ad4a0f7928dd617ce19d385f61e (#13674)
Changes:
Show error details when a key operation RPC fails, if available (#1064)
fixed fee estimator progress bar early reset issue (#1073)
Fixed wallet balance graph bugs #1068 (#1072)
1.6.1-rc2
2022-10-20 15:32:54 -05:00
Kyle AltendorfandGitHub bae4e0c5ce refactor @api_request decorator and family to use a single decorator (#13565)
* more explicit and complete handling of api decorator data

* fix

* .message_class

* actually, those are different types...

* tweak

* simplify

* learn that functools.wraps copies random attributes

* hack the ~planet~ `@api_request` decorator

* R not T

* more future

* implementation detail renames
2022-10-20 16:10:23 -04:00
Kyle AltendorfandGitHub 7abc062d0d test service shutdown response to signals (#13576)
* minimal fixup for daemon signal handling regression

* test daemon shutdown response to signals

* positional

* test datalayer shutdown response to signals

* one parametrized test for the services

* colocate the daemon test

* drop sig

* add sendable_termination_signals

* oops, it was SIGTERM

* wait for the daemon
2022-10-20 16:08:49 -04:00
Kyle AltendorfandGitHub 2ab1c4a65f Create PRETTY_GOOD_PRACTICES.md (#13600)
* Create PRETTY_GOOD_PRACTICES.md

* trim trailing whitespace

* typo touchups

* correct dataclasses heading format

* correct inheritance heading

* drop nft dataclass conversion example

* consume

* manager

* Update CODEOWNERS

* tab ... ?

* Update PRETTY_GOOD_PRACTICES.md

* Update PRETTY_GOOD_PRACTICES.md
2022-10-20 16:08:18 -04:00
Kyle AltendorfandGitHub f5caa92b03 extend timeout in test_did_attest_after_recovery (#13601)
https://github.com/Chia-Network/chia-blockchain/actions/runs/3185807311/jobs/5195868861#step:16:40
```python-traceback
_____________ TestDIDWallet.test_did_attest_after_recovery[False] ______________
tests/wallet/did_wallet/test_did.py:470: in test_did_attest_after_recovery
    await time_out_assert_not_none(5, full_node_api.full_node.mempool_manager.get_spendbundle, spend_bundle.name())
E   AssertionError: Timed assertion timed out
```
2022-10-20 16:07:54 -04:00
Sebastjan TrepcaandGitHub b33eb8d8f4 reverted offchain metadata fetched (#13660)
* reverted offchain metadata fetched

* test fix
2022-10-20 15:06:25 -05:00
Jack NelsonandGitHub 4d890fc53e small correction for unintentional change in cli (#13669)
* Update cmds_util.py

* fix lint
2022-10-19 23:23:35 -05:00
JeffandGitHub 3cc352a376 Bump chia-blockchain-gui to f10ba1854a762a495c1b4ce169e2553098afd595 (#13670)
Changes:
fix displayed currency code in fee estimator (#1069)
fix plot temp space estimates for BB2 (#1071)
2022-10-19 19:38:53 -05:00
William AllenandGitHub 5881c98336 Merge pull request #13662 from Chia-Network/checkpoint/main_from_release_1.6.1_4dfa87c31beb11b8d39e1cdc3048a1dc6a215ce3
checkpoint: into main from release/1.6.1  @ 4dfa87c31b
2022-10-19 17:46:49 -05:00
Kyle AltendorfandGitHub 4a54e49e10 process_transaction_records() -> process_transactions() (#13629)
* process_transaction_records() -> process_transactions()

* split to process_transaction_records()/_spend_bundles()/_coin_spends()

* expand tests to have multiple transactions etc per repeat

* back to .process_transaction_records() for calls

* one line function defs
2022-10-19 17:42:20 -05:00
a3c4c2367a chia keys show --json (display all keys as json) (#13637)
* chia keys show --json (display all keys as json)

* black (linting) chia keys show --json (display all keys as json)

* output a root object containing the keys array

* support key with empty label

* add test_show_json and test_show_mnemonic_json to test_keys

* chia keys show --json -- do not format json output

* tests/core/cmds/test_keys.py -- result.output.find(<value>) != -1

* tests/core/cmds/test_keys.py -- result.output.find(<value>) != -1 -- black

* Pass root_path in show_all_keys and fix tests

Co-authored-by: Jeff Cruikshank <jeff@chia.net>
2022-10-19 17:41:03 -05:00
Jack NelsonandGitHub 769d9e2e2f Clean up data layer code to use the standard cli client (#13586)
* add datalayer rpc  to async generator

* change datalayer to use proper generator

* fix fee

* lint
2022-10-19 17:02:05 -05:00
Earle LoweandGitHub fa72e1e3ad re-add type=SortKey for click 8 (#13663) 2022-10-19 14:33:42 -05:00
William AllenandGitHub 2f3bd49d71 Fixing s3 upload conditional for windows builds (#13658) 2022-10-19 14:17:58 -05:00