Commit Graph

679 Commits

Author SHA1 Message Date
William Allen
24120d31a1
Notify glue of completed prerelease, and fix permissions (#16122)
* Notify glue of completed prerelease

* fix permissions

* add prerelease endpoint

* adding prerelease to start-release
2023-08-21 15:46:42 -05:00
Chris Marslender
87b82dcd1e
Update codeowner for .github to a group (#16124) 2023-08-21 10:39:38 -05:00
Amine Khaldi
1766b697fd
Merge commit '34314c1abb36b1088898cd83b7809133b93eb834' into checkpoint/main_from_release_2.0.0_34314c1abb36b1088898cd83b7809133b93eb834 2023-08-18 11:24:34 +01:00
Chris Marslender
34314c1abb
Trusted publishing for pypi (#16092)
Use trusted publishing for pypi
2023-08-17 15:50:08 -05:00
Amine Khaldi
df9973646a
Merge commit 'a91e8d226c6c07c68a9b60074a7db3669b233f51' into checkpoint/main_from_release_2.0.0_a91e8d226c6c07c68a9b60074a7db3669b233f51 2023-08-17 11:07:09 +01:00
William Allen
841c72a5cb
cleanup coverage-diff comment (#16025)
* cleanup coverage-diff comment

* Fixing PR comment format

* fixing gh syntax

* fixing branch ref

* fixing newline

* Using github.base_ref
2023-08-16 18:29:11 -05:00
Amine Khaldi
115541a709
Merge commit 'f1ed16bd6f48706bb2ce120ae61fd1b3a3bef223' into checkpoint/main_from_release_2.0.0_f1ed16bd6f48706bb2ce120ae61fd1b3a3bef223 2023-08-15 20:49:20 +01:00
Chris Marslender
a91e8d226c
New windows signing cert (#16032)
* Updates for new windows signing

* Add to PATH
2023-08-14 14:59:30 -05:00
Chris Marslender
2b6207eea4
Update remaining references to installer upload keys to OIDC provider (#16015) 2023-08-14 10:51:21 -05:00
William Allen
f1ed16bd6f
Fixing start-sync-tests (#15995)
Fixing release tag
2023-08-10 16:50:29 -05:00
Amine Khaldi
21b0875927
Merge commit '6c2c7bd6af519fb6194edc18630b3264b6969f56' into checkpoint/main_from_release_2.0.0_6c2c7bd6af519fb6194edc18630b3264b6969f56 2023-08-10 11:21:08 +01:00
William Allen
a92cbe82e9
Remove pipefail (#15986)
* Remove pipefail

* add fail condition
2023-08-09 16:44:29 -05:00
William Allen
e130fe7091
Re-enable benchmark runner (#15990)
* Re-enable benchmark runner

* Whitespace
2023-08-09 16:28:22 -05:00
Brandon Butler
8fdb42d7d0
Use ephemeral credentials from AWS OIDC provider (#15991) 2023-08-09 15:04:19 -05:00
William Allen
b2a145e904
Fixing conditional execution (#15979)
* Fixing conditional execution

* Wrong switch
2023-08-08 19:20:29 -05:00
William Allen
dd2abb0ad4
Add coverage failure as comment to PR (#15903)
* Add coverage failure as comment to PR

* whitespace

* missed one

* Typo

* Add env

* fixing condition check, moving to separate step

* move env token to the right step

* Added comment/label update on success/failure

* fixing gh api

* fixing jq
2023-08-07 23:50:49 -05:00
Kyle Altendorf
bcf3da8779
test install scripts both dev and not (#15952)
* test install scripts both dev and not

* actually run chia --help
2023-08-07 18:49:16 -05:00
William Allen
6c2c7bd6af
Consolidate workflow to fetch bladebit (#15941)
* Consolidating bladebit fetch

* Using a portable sed command

* Whitespace
2023-08-05 05:16:22 -05:00
Arvid Norberg
f0ea0be1fd
disable running benchmarks on CI (#15919) 2023-08-02 15:07:57 -05:00
William Allen
a9d2b97955
Rework Bladebit artifact logic, CI cleanup, release simulation (#15887)
* Rework Bladebit artifact logic, CI cleanup

* Fixing input indentation

* Extra quote

* Fix linting on windows, and OSX conditionals

* Using bladebit suffix

* removed extra quote

* Fixed inputs name

* adding blank option
2023-07-31 18:56:41 -05:00
Amine Khaldi
c20bf49e28
William's PR #15887 (Rework Bladebit artifact logic, CI cleanup, release simulation) against main (#15893)
* Rework Bladebit artifact logic, CI cleanup

* Fixing input indentation

* Extra quote

* Fix linting on windows, and OSX conditionals

* Using bladebit suffix

* removed extra quote

* Fixed inputs name

* adding blank option (#4)

---------

Co-authored-by: William Allen <wallentx@users.noreply.github.com>
2023-07-31 18:20:03 -05:00
William Allen
29c1e1c380
Drop macos-10.14 support (#15862)
* Mojave is dead

* Update check_wheel_availability.yaml

* Update build-macos-installers.yml

Set MACOSX_DEPLOYMENT_TARGET=11 when building installer

* Fix up yaml

---------

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-07-27 12:53:52 -05:00
William Allen
726dec1256
Add Chris as codeowner for .github/* (#15835) 2023-07-26 11:26:39 -05:00
William Allen
ae36453085
Didn't save my arm changes 2023-07-25 18:22:15 +01:00
Amine Khaldi
1d1c81ba23
Merge commit 'cc8811450b0609f64aeaef39ec57d2bc4c5880bd' into checkpoint/main_from_release_2.0.0_cc8811450b0609f64aeaef39ec57d2bc4c5880bd 2023-07-25 16:27:13 +01:00
Kyle Altendorf
74b02fa44e
test installed code, not source (#15532)
* explore testing installed code, not source

* non-editable install

* hmm

* yup

* bash it up

* test-single.yml: defaults: run: shell: bash

* try removing windows specific steps

* env.GITHUB_WORKSPACE

* Update test-single.yml

* Update test-single.yml

* Update test-single.yml

* also Install.ps1

* ,

* more

* Update test-single.yml

* Update .coveragerc

* whitespace
2023-07-24 20:02:00 -05:00
William Allen
591e794ee7
Didn't save my arm changes 2023-07-22 05:30:27 -05:00
William Allen
cc8811450b
Fixing issue with pre-release CI 2023-07-22 05:24:38 -05:00
William Allen
bce770962c
use chiapos and bladebit release-candidates (#15833)
* use chiapos and bladebit release-candidates

* pull down bladebit, and bladebit-cuda artifacts

* Fixed wildcard problem with chmod

* Set loop to find macos bladebit

* Cleanup shellscript
2023-07-22 04:33:01 -05:00
William Allen
97245c959d
Chip13 (#15688) (#15825)
* Chip13 (#15688)

* Chip13

* Lint.

* Black.

* Lint.

* Fix BlockTools.

* Trigger the soft fork.

* Parametrize bt.

* Syntax.

* Add softfork3 to empty_blockchain too.

* Skip test.

* Skip test.

* Try fix.

* Add persistent blocks.

* Lint.

* Run tests without block cache.

* Try to fix tests.

* Revert "Try to fix tests."

This reverts commit f10c7fc847.

* WIP plot filters.

* pytest.

* Lint.

* Skip cache tests.

* Try to lower the constraints.

* Try to increase timeout.

* Test blockchain.

* Store test.

* Revert to main

* Revert to main

* Revert to main

* Add tests with new interface

* Test.

* Fixtures.

* Fixtures.

* Lint.

* Add first test.

* Improve test.

* Isort.

* merge fix

* fix counter

* Bump test-cache version to soft_fork3.0 DBs

* Enable tests.

* Enable all.

* Syntax.

* Attempt higher timeouts.

* Try to skip big test.

* Revert tests larger timeouts.

* Try to get test to work with 4000.

* Skip 10000 blocks.

* Test.

* Update test_full_node_store.py

* Update test_blockchain.py

* Update test_blockchain.py

* Update tests/conftest.py

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>

* Update tests/blockchain/test_blockchain.py

Co-authored-by: Arvid Norberg <arvid@libtorrent.org>

* Address some comments.

* Some more comments.

* Use new passes_plot_filter signature.

* Lint.

* Lint.

* Reduce benchmark timeout.

* Skip test.

* Address review comments.

* Delete leftovers.

* Review comments.

* await.

* Revert async call.

* Validate in body too.

* Fix test.

---------

Co-authored-by: almog <almogdepaz@gmail.com>
Co-authored-by: wallentx <william.allentx@gmail.com>
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>

* Fix daemon test to use client ssl context

* fix daemon test to close client

---------

Co-authored-by: Florin Chirica <fchirica96@gmail.com>
Co-authored-by: almog <almogdepaz@gmail.com>
Co-authored-by: Arvid Norberg <arvid@libtorrent.org>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
2023-07-21 15:54:11 -05:00
Earle Lowe
4c004f4d91
Update macos build scripts lerna to 7.1.3 and nx to 16.3.2 (#15821)
* Update macos build scripts lerna to 7.1.3 and nx to 16.3.2 for macos 10.14 build support

* Switch back to 10.14 runners for installer
2023-07-20 14:59:49 -05:00
wjblanke
bc00bc71d3
Bump chia-blockchain-gui to 2.0.0-rc1 (#15815)
* Bump chia-blockchain-gui to 80dc27d5348a89e17018cd095868bcf67c94abb1

* Refactor TX filter to use TransactionTypeFilterMode Enum by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1837
* Update Electron to 25.1.1 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1858
* Add spendClawbackCoins to WalletConnect commands by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1853
* Update lerna to 7.0.0 and node to 16.20.1 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1861
* Updated mui and lingui by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1865
* Fixed dapp disconnect by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1866
* Used new useAuth hook for logIn by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1868
* Specify copyright owner in LICENSE by @hoffmang9 in https://github.com/Chia-Network/chia-blockchain-gui/pull/1877
* Updated locales by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1887
* Fixed scroll overflow in the header by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1874
* Add useGetWalletAddressesQuery RPC hook by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1892
* Correct Farm.svg attributes by @wallentx in https://github.com/Chia-Network/chia-blockchain-gui/pull/1895
* Clawback button compare time with latest block time by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1884
* Move wallet balance cards for CAT txns by @zsolt-dev in https://github.com/Chia-Network/chia-blockchain-gui/pull/1903
* VC fixed rendering by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1888
* Plot compression UX updates by @ChiaMineJP in https://github.com/Chia-Network/chia-blockchain-gui/pull/1772
* Update WalletConnect package to 2.9.0 by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1897
* Address book feature by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1910
* Bugfix: Crash importing malformed local VC by @rifeljm in https://github.com/Chia-Network/chia-blockchain-gui/pull/1890

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.2...2.0.0-rc1

* 11

---------

Co-authored-by: Jeff Cruikshank <jeff@chia.net>
2023-07-20 00:45:59 -05:00
Kyle Altendorf
42a6d1afa6
remove support for Python 3.7 (#14611)
* remove support for Python 3.7

* python_requires=">=3.8, <4"

* 3.8.1+

* catchup

* remove todos handled in https://github.com/Chia-Network/chia-blockchain/pull/15755
2023-07-14 12:49:58 -05:00
Gene Hoffman
faf4709834
Update config.yml (#15515)
Remove and replace Keybase references with Discord
2023-07-12 13:01:32 -07:00
Kyle Altendorf
0f15486141
test-single.yml: defaults: run: shell: bash (#15535)
* test-single.yml: defaults: run: shell: bash

* try removing windows specific steps

* env.GITHUB_WORKSPACE

* Update test-single.yml

* Update test-single.yml

* Update test-single.yml
2023-07-07 11:18:35 -05:00
Kyle Altendorf
f37b7dce1a
replace hard coded 0.29.0 with BLOCKS_AND_PLOTS_VERSION (#15615) 2023-06-29 20:49:36 -05:00
Kyle Altendorf
ba3ac20c55
fix checking of matrix.configuration.checkout_blocks_and_plots (#15454)
* fix checking of matrix.configuration.checkout_blocks_and_plots

* enable more blocks and plots downloading
2023-06-29 20:48:50 -05:00
Amine Khaldi
7eee7f19af
Merge commit 'ff11e3e06add4e09b1e576cc63f960b8894decd1' into checkpoint/main_from_release_1.8.2_ff11e3e06add4e09b1e576cc63f960b8894decd1 2023-06-27 18:44:16 +01:00
Amine Khaldi
75225e41d7
Merge commit 'ca63959ff00a124290ef5d072e2e59ed81abf50b' into checkpoint/main_from_release_1.8.2_ca63959ff00a124290ef5d072e2e59ed81abf50b 2023-06-21 21:23:48 +01:00
dependabot[bot]
d42e236103
build(deps): bump mheap/github-action-required-labels from 4 to 5 (#15504)
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels) from 4 to 5.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases)
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v4...v5)

---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
  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-06-21 13:03:38 -05:00
William Allen
ff11e3e06a
fix python matrix for release (#15567)
* Fixing limited/all matrix to run on release branches

* Add back prior conditional
2023-06-21 12:40:50 -05:00
William Allen
ca63959ff0
Increase windows install timeout (#15536) 2023-06-15 16:42:18 -05:00
Arvid Norberg
ae934ec0a9
update build_network_protocol_files.py (#15345)
* update build_network_protocol_files.py to generate the mypy-compatible files (which were fixed already, but the generator script was not). Specifically, tests/util/test_network_protocol_files.py was changed manually. This makes it possible to rerun the generation without breaking mypy

* run build_network_protocol_files.py in CI to ensure its generated files are up-to-date

* fixup mypy exclusions
2023-05-23 14:30:07 -05:00
Kyle Altendorf
18f5a3c7d3
actions/git-mark-workspace-safe in upload-pypi-source.yml (#15369) 2023-05-23 14:27:23 -05:00
Kyle Altendorf
6e92b06912
always report coverage diff (#15354) 2023-05-23 14:25:30 -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
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
1228892c43
force \n/lf line endings in pre-commit (#15036)
* force \n/lf line endings in pre-commit

* more

* set -o pipefail

* Revert "set -o pipefail"

This reverts commit b359ec806b.
2023-05-03 00:29:31 -05:00
Kyle Altendorf
619b68ffb3
upload to coveralls (#15175)
* upload to coveralls

* debug - only run clvm

* debug - just linux

* debug - just linux (again)

* Revert "debug - just linux (again)"

This reverts commit 86ffbf7c7a.

* Revert "debug - just linux"

This reverts commit f9a32bcbda.

* Revert "debug - only run clvm"

This reverts commit 42604268e6.

* always run coveralls upload
2023-05-02 17:34:47 -05:00
Kyle Altendorf
30975854ac
fixup coverage reporting and checking (#15114)
* set -o pipefail

* --only clvm for exploration

* always print coverage reports

* more consistency around use of ='s

* account for https://github.com/nedbat/coveragepy/issues/1604

* Revert "--only clvm for exploration"

This reverts commit 7cbd7f79a6.

* drop work around
2023-05-01 15:28:54 -05:00