Commit Graph
14659 Commits
Author SHA1 Message Date
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
648bc83f08 Bump cryptography from 39.0.1 to 40.0.2 (#15072)
Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.1 to 40.0.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/39.0.1...40.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  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>
2023-05-23 14:27:55 -05:00
dustinfaceandGitHub 92e10951b2 pools: Drop PoolWallet.get_next_interesting_coin (#15273) 2023-05-23 14:27:43 -05:00
Kyle AltendorfandGitHub 18f5a3c7d3 actions/git-mark-workspace-safe in upload-pypi-source.yml (#15369) 2023-05-23 14:27:23 -05:00
Kyle AltendorfandGitHub 5d14f0a208 add test coverage for starting a node with an existing db (#15338)
* add test coverage for starting a node with an existing db

* Update chia/simulator/setup_services.py
2023-05-23 14:27:10 -05:00
Kyle AltendorfandGitHub 6e92b06912 always report coverage diff (#15354) 2023-05-23 14:25:30 -05:00
d1e10ea920 Remove test_setproctitle.py from mypy exclusions (#14939)
* Remove test_setproctitle.py from mypy exclusions

* typecheck test_setproctitle.py

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 14:25:08 -05:00
30cfca9589 Typecheck log_exceptions.py (#14941)
* Typecheck log_exceptions.py

* typecheck log_exceptions

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 14:24:56 -05:00
696eb6c6d6 Typecheck chia/util/safe_cancel_task.py (#14943)
* Typecheck chia/util/safe_cancel_task.py

* typecheck safe_cancel_task.py

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-05-23 14:24:44 -05:00
Arvid NorbergandGitHub ff226e8cb7 make sure tests that use BlockTools use a single source of consensus constants (#15364)
make sure tests that use BlockTools use a single source of consensus constants. This is in preparations for being able to run tests with different sets of constants, e.g. the hard-fork constants
2023-05-23 12:02:28 -05:00
Amine KhaldiandGitHub ef613df2f0 Annotate chia/plotters/chiapos.py (#15363)
Annotate chia/plotters/chiapos.py.
2023-05-23 12:01:37 -05:00
Amine KhaldiandGitHub 5473c94a6b Annotate chia/simulator/block_tools.py (#15349) 2023-05-23 10:09:45 -05:00
Amine KhaldiandGitHub 37d87c99c1 Annotate test_farmer_harvester.py (#15350) 2.0.0-b2 2023-05-23 06:08:12 -05:00
Amine KhaldiandGitHub cf4fffdbea Annotate farmer/farmer_api.py (#15347)
Annotate farmer/farmer_api.py.
2023-05-23 05:34:53 -05:00
Roy NatianandGitHub eae562bde3 Wording change for fix ssl - Update ssl_check.py (#15358)
To make it easier for people to copy-paste the command, I put it at the end of the sentence.
2023-05-23 05:00:22 -05:00
Amine KhaldiandGitHub e44b60c348 Annotate chia/timelord/iters_from_block.py (#15348) 2023-05-23 04:59:49 -05:00
dustinfaceandGitHub e9a260f3d9 wallet: Implement /get_coin_records RPC command (#15100)
Implement RPC command `get_coin_records`
2023-05-23 04:45:49 -05:00
JeffandGitHub 2ced915750 Bump chia-blockchain-gui to 2.0.0-b2 (#15359)
Bump chia-blockchain-gui to 9333f0f16dd006936bc969b1fdf90a52125cde3f

* additional tests for compareAppVersions by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1684
* add option to add CLI location to PATH on Windows by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1693
* Change links and menu items to Discord by @hoffmang9 in https://github.com/Chia-Network/chia-blockchain-gui/pull/1741
* npm audit fix by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1747
* add color constant by @lipalong in https://github.com/Chia-Network/chia-blockchain-gui/pull/1745
* Verifiable credentials hooks by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1700
* unit tests covering prepareNFTOffer and NFT functions by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1751
* generate test coverage report merged from all packages by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1759
* broadcast environment change when PATH is updated by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1762
* [Snyk] Upgrade core-js from 3.20.3 to 3.28.0 by @snyk-bot in https://github.com/Chia-Network/chia-blockchain-gui/pull/1601
* Files needed for playwright test by @jfawChia in https://github.com/Chia-Network/chia-blockchain-gui/pull/1760
* Update Electron to 24.3.0 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1775
* Bh mint nft wc by @BrandtH22 in https://github.com/Chia-Network/chia-blockchain-gui/pull/1776
* build fix by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1783

* @nirajpathak13 made their first contribution in https://github.com/Chia-Network/chia-blockchain-gui/pull/1713
* @snyk-bot made their first contribution in https://github.com/Chia-Network/chia-blockchain-gui/pull/1601
* @BrandtH22 made their first contribution in https://github.com/Chia-Network/chia-blockchain-gui/pull/1776

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.1...2.0.0-b2
2023-05-23 04:42:11 -05:00
dustinfaceandGitHub 78f90410d1 mypy: Drop redundant exclusions (#15356) 2023-05-22 20:07:36 -05:00
Arvid NorbergandGitHub b3b53e1657 fix timelord mypy type hints (#15351)
* fix mypy type hints for timelord

* fix mypy type annotation for timelord_state
2023-05-22 18:38:50 -05:00
Kyle AltendorfandGitHub 526310374f use WalletStateManager.get_wallet() in wallet_rpc_api (#15334) 2023-05-22 18:09:55 -05:00
Kronus91andGitHub c45875d517 Add notification for VC (#15353)
* Add notification for VC

* Resolve comment
2023-05-22 17:38:12 -05:00
Amine KhaldiandGitHub d892ed2c97 Fix Farmer imports in plot sync tests (#15346)
Fix Farmer imports in plot sync tests.
2023-05-22 17:37:34 -05:00
ec5f85dfc4 mypy: Build mypy.ini config with exclusions dynamically (#15158)
* mypy: Build `mypy.ini` config with exclusions dynamically

* Apply suggestions from code review

* Revert suggested `check=True` because `mypy` is expected to fails here

* Only `read_text` once

* Fix exception message

* Don't `touch`

* More `joinpath`

* Revert `newline="\n"`, its python 3.10 only

See https://bugs.python.org/issue23706

* Apply suggestions

* Fail if new issues get introduced

* Print the newly introduces issues

* Handle error codes

* Add `write_file`

* Use `sys.executable`

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

* `mypy_failures[:-1]`

* Add an example comment

* Improve failure check

* Drop exclusions after rebase

* Drop one more exclusion after another rebase

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-05-22 16:50:13 -05:00
Kyle AltendorfandGitHub fab36d5b4e hint and test dump keyring (#15355) 2023-05-22 14:54:46 -05:00
Kyle AltendorfandGitHub 9938eee808 have pyinstaller include all chia modules and .hex files (#15340)
* have pyinstaller search for all .hex files

* also add all chia .py files as hidden imports

* ROOT

* cleanup

* tidy
2023-05-22 11:48:27 -05:00
Arvid NorbergandGitHub f0433d2a47 Weight proof typing (#15316)
* add type hints to test_proof_of_space.py

* add type hints to weight_proof.py
2023-05-22 10:23:33 -05:00
Snyk botandGitHub 6987544d60 [Snyk] Security upgrade electron-builder from 23.5.1 to 24.0.0 (#14766)
fix: build_scripts/npm_windows/package.json & build_scripts/npm_windows/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MINIMATCH-3050818
2023-05-20 11:48:16 -05:00
JeffandGitHub 73c6d303e0 Update --fee options to indicate units are in XCH (#15327) 2023-05-19 19:14:44 -05:00
dustinfaceandGitHub 1777ecc2e8 server: Store Version objects instead of str in WSChiaConnection (#15330)
* server: Store `Version` objects instead of `str` in `WSChiaConnection`

* Test connection versions
2023-05-19 13:45:00 -05:00
Arvid NorbergandGitHub 621c75e4ba Fork infrastructure (#15299)
* remove softfork-logic for 1.7 softfork (which has already activated)

* add new constants for soft-fork3, hard-fork and the other plot-filter adjustments
2023-05-18 20:20:11 -05:00
dustinfaceandGitHub c5714b1720 wallet: Fix filter imports (#15325) 2023-05-18 13:19:57 -05:00
Chris MarslenderandGitHub 7aed9ddc0b Enable signing for PRs that have secret access (#15331)
* Enable signing for PRs that have secret access

* Add CSC_FOR_PULL_REQUEST var as well
2023-05-18 13:18:45 -05:00
dustinfaceandGitHub 9e9c75912f full_node: Refactor get_puzzle_and_solution_for_coin (#15323) 2023-05-17 17:34:33 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eb7376a8c1 Bump json5 from 1.0.1 to 1.0.2 in /build_scripts/npm_windows (#14747)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 16:10:40 -05:00
William AllenandGitHub 10de3d879f checkpoint: into main from release/1.8.1 @ c61129d3b1 (#15324)
Source hash: c61129d3b1
Remaining commits: 0
2023-05-17 16:06:44 -05:00
Amine Khaldi c6ff7746db Merge commit 'c61129d3b10abd4128cd6f99bdcf8dd08ff116d0' into checkpoint/main_from_release_1.8.1_c61129d3b10abd4128cd6f99bdcf8dd08ff116d0 2023-05-17 20:44:07 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f0525d341c build(deps): bump minimatch and electron-builder in /build_scripts/npm_linux (#15321)
build(deps): bump minimatch and electron-builder

Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.1.2
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `electron-builder` from 23.5.1 to 24.4.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/v24.4.0/packages/electron-builder)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: electron-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 14:43:21 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
61a2571161 build(deps): bump minimatch and electron-builder in /build_scripts/npm_macos (#15322)
build(deps): bump minimatch and electron-builder

Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.1.2
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `electron-builder` from 23.5.1 to 24.4.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/v24.4.0/packages/electron-builder)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: electron-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 14:43:02 -05:00
William AllenandGitHub 6f3abba658 checkpoint: into main from release/1.8.1 @ 1c5b4a1d12 (#15317)
Source hash: 1c5b4a1d12
Remaining commits: 0
2023-05-17 14:41:37 -05:00
c61129d3b1 1.8.1 changelog (#15311)
* Adding 1.8.1 changelog

* Update CHANGELOG.md

* removing extra draft info

* spelling

---------

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
1.8.1
2023-05-17 14:20:20 -05:00
dustinfaceandGitHub da4ab45ae0 wallet: Introduce CHIA_DEV_COMPILE_CLVM_DISABLED environment variable (#15319) 2023-05-17 13:06:17 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f8afbca090 Bump http-cache-semantics from 4.1.0 to 4.1.1 in /build_scripts/npm_macos (#14485)
Bump http-cache-semantics in /build_scripts/npm_macos

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:05:01 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
417e16473e Bump http-cache-semantics from 4.1.0 to 4.1.1 in /build_scripts/npm_windows (#14486)
Bump http-cache-semantics in /build_scripts/npm_windows

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:04:23 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fe09efcc02 Bump http-cache-semantics from 4.1.0 to 4.1.1 in /build_scripts/npm_linux (#14489)
Bump http-cache-semantics in /build_scripts/npm_linux

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:04:07 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c64a3c8b52 Bump json5 from 1.0.1 to 1.0.2 in /build_scripts/npm_macos (#14761)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:01:03 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f636dbe486 Bump json5 from 1.0.1 to 1.0.2 in /build_scripts/npm_linux (#14762)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 13:00:51 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8eefd1fe19 Bump minimatch and electron-builder in /build_scripts/npm_windows (#14763)
Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `electron-builder` from 23.5.1 to 24.0.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/v24.0.0/packages/electron-builder)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: electron-builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 12:59:37 -05:00
Jack NelsonandGitHub f2cc1f2ea1 Have simulator not rely on chia_root as originally implemented. & fix simulator tests (#15157)
* fix parent path issue

* Update default_root.py

* remove fstring

* Update test-single.yml

* allow for multiple parallel runs
2023-05-17 12:55:12 -05:00
Kyle AltendorfandGitHub d6d8eaa984 use isort from the venv when running from pre-commit (#15310)
* use isort from the venv when running from pre-commit

* remove old isort pre-commit entries
2023-05-17 10:53:02 -05:00
William AllenandGitHub 56ef97023c Adding signed commit requirment info (#15313) 2023-05-17 10:47:58 -05:00