Commit Graph
14659 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Gene Hoffman
8781569829 Bump actions/checkout from 2 to 3 (#10505)
* Bump actions/checkout from 2 to 3

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Update actions in templates too

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2022-03-25 22:23:27 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
aa296db3cb Bump colorlog from 5.0.1 to 6.6.0 (#9207)
Bumps [colorlog](https://github.com/borntyping/python-colorlog) from 5.0.1 to 6.6.0.
- [Release notes](https://github.com/borntyping/python-colorlog/releases)
- [Commits](https://github.com/borntyping/python-colorlog/compare/v5.0.1...v6.6.0)

---
updated-dependencies:
- dependency-name: colorlog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 22:23:08 -07:00
7ea074c9e7 fixup and enable condition checking tests (#10888)
* fixup and enable tests for the edge cases of absolute timestamp and absolute height conditions in mempool_manager

* Update chia/full_node/full_node_api.py

Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>

Co-authored-by: Adam Kelly <338792+aqk@users.noreply.github.com>
2022-03-25 18:49:11 -07:00
Kyle Altendorf 80e10d1822 fix indentation of a fixture definition 2022-03-25 20:37:02 -04:00
Kyle Altendorf 75924d8d04 remove use of now-deleted WalletStateManager.action_done() from data layer wallet 2022-03-25 19:45:19 -04:00
Kyle Altendorf 8fe649cd62 use new bt and self_hostname fixtures 2022-03-25 18:24:42 -04:00
Kyle Altendorf 0e95d8c26f fixup merged imports 2022-03-25 18:15:28 -04:00
Kyle Altendorf b17afdb277 fix some automerge indentation 2022-03-25 17:49:03 -04:00
Kyle Altendorf 6fc66009c6 Merge commit 'bf2976a2a9dfdd1b71db48030ef79a4a571feae0' into atari-merge_main_bf2976a2a9dfdd1b71db48030ef79a4a571feae0 2022-03-25 17:13:28 -04:00
Kyle AltendorfandGitHub 12d79ac78a Merge pull request #10887 from Chia-Network/atari-merge_main_0e7cc5a88393ef02b4057dd4bf894be2e73bc00b 2022-03-25 16:40:50 -04:00
Chris MarslenderandGitHub 536d7c4e03 Update appdmg to 0.6.4 to work with macos 12.3 (#10886) 2022-03-25 11:44:00 -07:00
Kyle Altendorf 149336ffd3 Merge commit '0e7cc5a88393ef02b4057dd4bf894be2e73bc00b' into atari-merge_main_0e7cc5a88393ef02b4057dd4bf894be2e73bc00b 2022-03-25 14:33:56 -04:00
Kyle AltendorfandGitHub 5466d2c150 Merge pull request #10874 from Chia-Network/atari-merge_main_cf54aae2b79abbdb0682f0640335d1bb24bd6257 2022-03-25 14:30:44 -04:00
Arvid NorbergandGitHub d20cf06f59 fix typo and index issues in wallet database (#10273)
* fix typo in wallet_puzzle_store

* check some SQL statements

* deduplicate name SQL index

* deduplicate wallet_type index

* deduplicate wallet_id index
2022-03-25 09:28:06 -07:00
Arvid NorbergandGitHub 42f5ba07da reduce indentation in a few functions in blockchain.py by negating early-exit checks and loop continues (#10872) 2022-03-25 09:26:19 -07:00
JeffandGitHub 292c26d3d8 Hardcoded SSL test certs/keys (#10828)
* Hardcoded SSL test certs/keys

* Added a second set of certs/keys.
Cert/key sets are infinitely cycled-through using get_next_private_ca_cert_and_key() and get_next_nodes_certs_and_keys()

* More cert/key sets and a tool to generate them

* Updated SSL generator to sign with the appropriate root CA.
Fixed linter issues.

* Linter fixes

* Updated generate_ssl_for_nodes() based on feedback
2022-03-25 09:24:59 -07:00
Kyle Altendorf 186e1cf826 more in_transaction tracking 2022-03-24 22:15:59 -04:00
JeffandGitHub 58f8a4d2ed Minor output formatting/enhancements for chia wallet show (#10863)
* Minor output formatting/enhancements for `chia wallet show`

* Updated format based on internal poll results

* Linter fix and row rearrangement.
2022-03-24 17:40:33 -07:00
JeffandGitHub 5c43950f93 Added -n/--new-address option to chia wallet get_address (#10861)
* Added `-n`/`--new-address` option to `chia wallet get_address`

* Formatting fix

* Complemented --new-address with --latest-address per feedback
2022-03-24 14:57:08 -07:00
William Blanke 9c443624da updated gui to 054d7b342e7c8284c9b58a775f87d393a1008bfe 2022-03-24 12:33:38 -07:00
Kyle Altendorf 87591d4fa4 Merge commit 'cf54aae2b79abbdb0682f0640335d1bb24bd6257' into atari-merge_main_cf54aae2b79abbdb0682f0640335d1bb24bd6257 2022-03-24 15:21:09 -04:00
Kyle AltendorfandGitHub 5c2ffa5931 Merge pull request #10775 from Chia-Network/atari-merge_main_05f96670181654415b1ad219d38463228f30b0ce 2022-03-24 12:19:48 -07:00
Matt HauffandGitHub 06d160d0a4 Check for requesting items when creating an offer (#10864) 2022-03-24 09:45:32 -07:00
Kyle AltendorfandGitHub 2eb4fdeaee Disable the pytest-monitor plugin in CI if not checking results (#10837)
* disable the pytest-monitor plugin if not reporting results

pytest-monitor uses multiprocessing and has caused multiple confusing
issues.  Perhaps it can be adjusted to not use multiprocessing, but
for now lets just isolate the oddities to where we actually use it.

* use a template for resource usage check, similar to timelord install

* hint testconfig.custom_vars
2022-03-24 09:30:42 -07:00
Kyle AltendorfandGitHub 4ea82fdb09 use DEFAULT_ROOT_PATH in tests (#10801) 2022-03-24 09:29:05 -07:00
Florin ChiricaandGitHub 23695ba0b7 Update client_util.py 2022-03-24 13:47:07 +02:00
Florin ChiricaandGitHub 17c056fc86 Isort. 2022-03-24 13:39:52 +02:00
Florin ChiricaandGitHub 8711b741f4 Merge branch 'atari' into fc.new_server 2022-03-24 13:25:34 +02:00
Florin Chirica 576fcc811b Add mock client. 2022-03-24 13:23:26 +02:00
Kyle Altendorf 88e1dd77f7 Merge branch 'atari' into atari-merge_main_05f96670181654415b1ad219d38463228f30b0ce 2022-03-23 18:29:59 -04:00
Kyle AltendorfandGitHub cdeab0fa05 Merge pull request #10854 from Chia-Network/atari-less_pytest_monitor 2022-03-23 15:29:31 -07:00
Kyle AltendorfandGitHub 30a3a8ad91 Merge pull request #10856 from Chia-Network/revert-10471-optimize_singleton1.1 2022-03-23 15:21:04 -07:00
Kyle Altendorf c2dde0642c Revert "Singleton 1.1 optimization (#10471)"
This reverts commit 66747d045d.
2022-03-23 15:51:42 -04:00
Florin Chirica a7f5f67755 Nits. 2022-03-23 15:15:18 +02:00
Kyle Altendorf 9d1d65b63c Disable the pytest-monitor plugin in CI if not checking results
Originally written in https://github.com/Chia-Network/chia-blockchain/pull/10837.
2022-03-23 09:13:01 -04:00
Florin Chirica 72a25f9a94 Add init file. 2022-03-23 14:46:17 +02:00
Florin Chirica c3c1b9b120 Try to make isort happy. 2022-03-23 14:39:22 +02:00
Florin Chirica 250eb4b7a7 Lint, move files to util. 2022-03-23 13:47:28 +02:00
William AllenandGitHub b1acb5597b Adding check for python3.9 alongside python3.10 on Arch (#10363)
* Adding check for python3.9 alongside python3.10 on Arch

* Adjusting install.sh instructions for Arch

* Disabling prescribed python install for Arch

* Setting Arch install script to exit 0 to pass tests

* Adding workflow step for functional Arch install testing

* Adding noconfirm to pacman install command

* Relocating Arch support message for install.sh
2022-03-22 16:22:17 -07:00
Adam KellyandGitHub 063333ee92 remove duplicate event_loop (#10768) 2022-03-22 16:21:06 -07:00
Matt HauffandGitHub 620a1b3f23 add optional persistence to SpendSim (#10780)
* add optional persistence to SpendSim

* Accidental rename
2022-03-22 16:20:32 -07:00
Amine KhaldiandGitHub 4fe5737da0 Fix timelord installation for Debian. (#10841) 2022-03-22 16:19:32 -07:00
Arvid NorbergandGitHub b5d51c38f8 run tests in parallel in CI (#10499) 2022-03-22 15:04:07 -07:00
Earle LoweandGitHub b7a1c9ccb8 Handle cases where one node doesn't have the coin we are looking for (#10829)
* Continue if one node doesn't have the coin

* Pass in coin_state list

* Pass in the single coinstate instead of list

* more simplifications
2022-03-22 11:36:28 -07:00
wjblankeandGitHub 171abb03ee atomic rollback for wallet (#10799)
* atomic rollback for wallet
2022-03-22 11:35:35 -07:00
Adam KellyandGitHub b8e1f3b9a9 Rename confusing fixtures, especially ones with the same name but dif… (#10772)
* Rename confusing fixtures, especially ones with the same name but different implementation

* rename test_environment to test_plot_environment

* Make it so setup_two_nodes is no longer the name of a fixture and a utility function

* revert premature fixture rename: two_wallet_nodes_start_height_1
2022-03-22 11:24:55 -07:00
Jack NelsonandGitHub 3d7fda4770 small change to fix branch in contributing (#10805)
* small change to fix branch in contributing

* Update CONTRIBUTING.md
2022-03-22 10:51:01 -07:00
Florin ChiricaandGitHub 0640900748 Server util. 2022-03-22 16:25:54 +02:00
Florin ChiricaandGitHub 3479d2a3b1 Fix bug. 2022-03-22 16:24:49 +02:00
Kyle AltendorfandGitHub 7f84309e70 stop using deadsnakes, unless we need it (#10752)
* stop using deadsnakes.  and see...

* only install dead snakes stuff if building the timelord on linux
2022-03-21 16:27:43 -07:00