Commit Graph

10848 Commits

Author SHA1 Message Date
Amine Khaldi
37d87c99c1
Annotate test_farmer_harvester.py (#15350) 2023-05-23 06:08:12 -05:00
Amine Khaldi
cf4fffdbea
Annotate farmer/farmer_api.py (#15347)
Annotate farmer/farmer_api.py.
2023-05-23 05:34:53 -05:00
Roy Natian
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 Khaldi
e44b60c348
Annotate chia/timelord/iters_from_block.py (#15348) 2023-05-23 04:59:49 -05:00
dustinface
e9a260f3d9
wallet: Implement /get_coin_records RPC command (#15100)
Implement RPC command `get_coin_records`
2023-05-23 04:45:49 -05:00
Jeff
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
dustinface
78f90410d1
mypy: Drop redundant exclusions (#15356) 2023-05-22 20:07:36 -05:00
Arvid Norberg
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 Altendorf
526310374f
use WalletStateManager.get_wallet() in wallet_rpc_api (#15334) 2023-05-22 18:09:55 -05:00
Kronus91
c45875d517
Add notification for VC (#15353)
* Add notification for VC

* Resolve comment
2023-05-22 17:38:12 -05:00
Amine Khaldi
d892ed2c97
Fix Farmer imports in plot sync tests (#15346)
Fix Farmer imports in plot sync tests.
2023-05-22 17:37:34 -05:00
dustinface
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 Altendorf
fab36d5b4e
hint and test dump keyring (#15355) 2023-05-22 14:54:46 -05:00
Kyle Altendorf
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 Norberg
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 bot
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
Jeff
73c6d303e0
Update --fee options to indicate units are in XCH (#15327) 2023-05-19 19:14:44 -05:00
dustinface
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 Norberg
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
dustinface
c5714b1720
wallet: Fix filter imports (#15325) 2023-05-18 13:19:57 -05:00
Chris Marslender
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
dustinface
9e9c75912f
full_node: Refactor get_puzzle_and_solution_for_coin (#15323) 2023-05-17 17:34:33 -05:00
dependabot[bot]
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 Allen
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]
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]
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 Allen
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
William Allen
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>
2023-05-17 14:20:20 -05:00
dustinface
da4ab45ae0
wallet: Introduce CHIA_DEV_COMPILE_CLVM_DISABLED environment variable (#15319) 2023-05-17 13:06:17 -05:00
dependabot[bot]
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]
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]
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]
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]
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]
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 Nelson
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 Altendorf
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 Allen
56ef97023c
Adding signed commit requirment info (#15313) 2023-05-17 10:47:58 -05:00
Matt Hauff
d9aedb5494
Fix flaky VC test (#15289)
* Fix flaky VC test

* mypy

* fix coverage
2023-05-17 10:23:46 -05:00
Amine Khaldi
d55317fe44
Merge commit '1c5b4a1d12dfe30d09c1698cacc569d567f9c766' into checkpoint/main_from_release_1.8.1_1c5b4a1d12dfe30d09c1698cacc569d567f9c766 2023-05-17 16:15:26 +01:00
William Allen
76745870f8
checkpoint: into main from release/1.8.1 @ 61ad4dae37 (#15315)
Source hash: 61ad4dae37
Remaining commits: 1
2023-05-17 10:13:05 -05:00
Amine Khaldi
b4c161ec57
Merge commit '61ad4dae37b9fd9a1dcd61416d3d7eaae0cc2fe3' into checkpoint/main_from_release_1.8.1_61ad4dae37b9fd9a1dcd61416d3d7eaae0cc2fe3 2023-05-17 11:15:52 +01:00
William Allen
be4d04509d
checkpoint: into main from release/1.8.1 @ 4629a9d6ae (#15301)
Source hash: 4629a9d6ae
Remaining commits: 0
2023-05-16 19:26:07 -05:00
Jeff
1c5b4a1d12
Bump chia-blockchain-gui 1.8.1-rc4 (#15302)
Bump chia-blockchain-gui to e8265277fc4a0953fe78732cdc0e75e3fdca52d9

* update Electron 22.3.5 to 22.3.7 to address security advisories by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1773

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.1-rc3...1.8.1-rc4
2023-05-16 16:46:02 -05:00
Arvid Norberg
61ad4dae37
optimize compact proofs (#15304) 2023-05-16 16:45:22 -05:00
Peter Tripp
c8c04f6717
Improve help text for deprecated 'chia show' commands. (#15297) 2023-05-16 12:30:25 -05:00
Amine Khaldi
78c719f0e3
Merge commit '4629a9d6ae8fffa9ec89694ee610bd879c8b970a' into checkpoint/main_from_release_1.8.1_4629a9d6ae8fffa9ec89694ee610bd879c8b970a 2023-05-16 18:26:32 +01:00
William Allen
ed68e176e7
checkpoint: into main from release/1.8.1 @ 2aadff68ab (#15296)
Source hash: 2aadff68ab
Remaining commits: 1
2023-05-16 12:14:30 -05:00
Amine Khaldi
7ab7af6f7d
Merge commit '2aadff68ab5b57e6fa884dddf70ba1c3516dfb8d' into checkpoint/main_from_release_1.8.1_2aadff68ab5b57e6fa884dddf70ba1c3516dfb8d 2023-05-16 11:43:28 +01:00