Snyk bot
5edb904469
fix: upgrade n from 8.0.2 to 8.2.0 ( #13020 )
...
Snyk has created this PR to upgrade n from 8.0.2 to 8.2.0.
See this package in npm:
https://www.npmjs.com/package/n
See this project in Snyk:
https://app.snyk.io/org/chia-network/project/d2e8d7b7-1a67-4252-b184-958f24c9e0b2?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-09-27 12:35:23 -05:00
dependabot[bot]
86362db99c
Bump chiavdf from 1.0.6 to 1.0.7 ( #12499 )
...
Bumps [chiavdf](https://github.com/Chia-Network/chiavdf ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/Chia-Network/chiavdf/releases )
- [Commits](https://github.com/Chia-Network/chiavdf/compare/1.0.6...1.0.7 )
---
updated-dependencies:
- dependency-name: chiavdf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 12:33:55 -05:00
dependabot[bot]
da89f49281
Bump concurrent-log-handler from 0.9.19 to 0.9.20 ( #12248 )
...
Bumps [concurrent-log-handler](https://github.com/Preston-Landers/concurrent-log-handler ) from 0.9.19 to 0.9.20.
- [Release notes](https://github.com/Preston-Landers/concurrent-log-handler/releases )
- [Changelog](https://github.com/Preston-Landers/concurrent-log-handler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Preston-Landers/concurrent-log-handler/compare/0.9.19...0.9.20 )
---
updated-dependencies:
- dependency-name: concurrent-log-handler
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 12:33:18 -05:00
dependabot[bot]
2d105f05d2
Bump parse-url and lerna in /build_scripts/npm_windows ( #13499 )
...
Bumps [parse-url](https://github.com/IonicaBizau/parse-url ) to 8.1.0 and updates ancestor dependency [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna ). These dependencies need to be updated together.
Updates `parse-url` from 7.0.2 to 8.1.0
- [Release notes](https://github.com/IonicaBizau/parse-url/releases )
- [Commits](https://github.com/IonicaBizau/parse-url/compare/7.0.2...8.1.0 )
Updates `lerna` from 5.4.2 to 5.5.2
- [Release notes](https://github.com/lerna/lerna/releases )
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md )
- [Commits](https://github.com/lerna/lerna/commits/v5.5.2/core/lerna )
---
updated-dependencies:
- dependency-name: parse-url
dependency-type: indirect
- dependency-name: lerna
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 12:23:10 -05:00
Kyle Altendorf
a20ee08fce
only compile clvm for developers ( #13478 )
...
* only compile clvm for developers
* retain existing behavior for backwards compatibility
* tests/check_clvm.py becomes tools/manage_clvm.py check (and add build subcommand)
* trigger recompilation in pytest runs
2022-09-27 11:21:54 -05:00
dependabot[bot]
b06bf0ff48
Bump parse-url and lerna in /build_scripts/npm_macos ( #13498 )
...
Bumps [parse-url](https://github.com/IonicaBizau/parse-url ) to 8.1.0 and updates ancestor dependency [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna ). These dependencies need to be updated together.
Updates `parse-url` from 7.0.2 to 8.1.0
- [Release notes](https://github.com/IonicaBizau/parse-url/releases )
- [Commits](https://github.com/IonicaBizau/parse-url/compare/7.0.2...8.1.0 )
Updates `lerna` from 5.4.3 to 5.5.2
- [Release notes](https://github.com/lerna/lerna/releases )
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md )
- [Commits](https://github.com/lerna/lerna/commits/v5.5.2/core/lerna )
---
updated-dependencies:
- dependency-name: parse-url
dependency-type: indirect
- dependency-name: lerna
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 02:27:11 -05:00
Chris Marslender
be4ada9b24
Add Bladebit prerelease to prerelease mac builds ( #13540 )
...
* Add bladebit for pre-release mac builds. Update pyinstaller to include bladebit if the file exists
* Make plotter inclusion conditional based on if they are present for the build or not
* temp: always get pre-release bladebit plotter for testing
* Only include bladebit on pre-release
2022-09-26 18:35:33 -05:00
Kyle Altendorf
4bcbcdbbe4
remove type ignores for new mypy ( #13539 )
...
https://pypi.org/project/mypy/0.981/
2022-09-26 16:54:19 -05:00
Kyle Altendorf
81837a9e1c
Refactor away from post init for UPnP ( #11837 )
...
* Refactor away from post init for UPnP
* refactor UPnP to not be reusable
* update upnp in datalayer too
* add if_needed parameter to UPnP.shutdown()
* simpler
* be more lenient about startup failures, like before
* too many ways for UPnP to fail right now, revert to a smaller refactor approach instead of fixing them all up
2022-09-26 11:19:33 -05:00
Kyle Altendorf
8436e6a17a
Confirm equality of client and server RPC routes ( #11765 )
...
* Confirm equality of client and server RPC routes
* Update rpc.py
* hints
* Update rpc.py
* Update mypy.ini
* Update rpc_server.py
* Update tests/util/rpc.py
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2022-09-26 11:18:46 -05:00
Kyle Altendorf
23ff56579a
parse api method hints earlier, and less, using get_type_hints() ( #13509 )
...
* parse api method hints earlier, and less, using get_type_hints()
* exploring (last)
* cleanup
* tidy comment
* be descriptive
2022-09-26 11:17:44 -05:00
Kyle Altendorf
8ed283a821
make DBWrapper2 handle more connection setup ( #13510 )
...
* make DBWrapper2 handle more connection setup
* fixup
* make create_connection() both await'able and async with'able
* recover logging
2022-09-26 11:17:20 -05:00
Kyle Altendorf
3342a2a6a2
less _
for used variables ( #13536 )
2022-09-26 11:16:57 -05:00
dustinface
d78c122505
Drop redundant RPC server instances in DataLayer related RPC tests ( #13518 )
2022-09-26 11:16:25 -05:00
Jeff
4b597511e0
Bump chia-blockchain-gui to ce9d64b2ef
( #13534 )
...
Includes:
* Fixes for console errors as well as a bunch of code cleanup
* Nacho NFTs (dev-only feature)
* Graph fixes
* CAT tooltip positioning fix in Manage Tokens drawer
* Bumped Electron to 20.1.3
* Fixed incorrect display of assets when viewing offer created by self
* Fixed viewing NFTs with malformed offchain-metadata
* Renamed "Data Layer" to "DataLayer"
* Initial support for plotting with Bladebit 2
* Added Bladebit 2 support for --no-t1-direct and --no-t2-direct
* NFT changes to support other media types (video/audio/other)
* NFT minter is shown in the offer viewer
2022-09-26 11:14:10 -05:00
Izumi Hoshino
e40772a0bf
Added support for --no-t1-direct
and --no-t2-direct
( #13526 )
2022-09-26 09:20:40 -05:00
Kyle Altendorf
4d04dc8589
drop dropped stats ( #13524 )
...
plug a "leak"
thanks to @roseiliend for pointing this out in https://github.com/Chia-Network/chia-blockchain/pull/10570
2022-09-26 09:20:02 -05:00
Kyle Altendorf
a1b452b084
Remove unreleased section from changelog ( #13495 )
2022-09-23 19:43:34 -05:00
Kyle Altendorf
fcd8190cdb
Update 1.6.0 Modified changelog section to Changed for consistency ( #13493 )
2022-09-23 19:43:19 -05:00
Florin Chirica
89dc1ae11e
Add root hash to CLI. ( #13306 )
...
* Add root hash to CLI.
* Explicitly throw exception if we don't find root hash.
* Throw inside RPC only.
2022-09-23 19:43:04 -05:00
Izumi Hoshino
a2b6a9b5f3
Cmj.bladebit ( #11187 )
...
* Making source code cleaner
* Cleaned up `install_plotter.py`
* Now `$CHIA_ROOT/plotters/bladebit` is searched first then bundled bladebit
* Fixed a lint error
* WIP: Implement bladebit update/checkout feature
* Enable to specify git branch/tag/commit on bladebit installation
* Modify arguments display order
* Added `chia plotters version` command
* Fixed lint errors
* Fixed lint error 2
* Implemented `chia plotters bladebit2` and handling for its options
* Fixed typo
* Fixed a lint error
* Added comment
* Added missing plotter arguments
* Fixed LGTM warning
* Fixed wrong typing
* Fixed a lint error
* Fixed an issue where `None` was evaluated as an empty string
* Support bladebit2 plotting from web request
* Updated response of `get_plotters` API for upcoming `bladebit2`
* Fixed bladebit2 argument handling
* Modified progress dict
* Added --no-cpu-affinity option to bladebit1
* Fixed a minor error
* Fixed an error where `chia plotters version` failed
* Fixed an issue where building bladebit2 failed
* Fixed an issue where bladebit2 stopped working if `--cache` option was set
* Updated branch for bladebit2
* Fixed an issue where plotting with madmax/bladebit failed for Python < 3.8 on Windows
* Now `chia plotters install madmax|bladebit2` should work on RedHat like OSes
* Fixed a wrong yum package name
* Added yum packages required for Bladebit2
* Changed the way to update bladebit
* Implemented option handling for madmax as well as bladebit
* Fixed a lint error
* Fixed a minor issue
* Fixed LGTM warning
* Applied changes for bladebit 2.0.0-alpha-2
* Fixed a lint error
* Trying to fix windows pre-commit error
* Fixed isort error
2022-09-23 19:42:37 -05:00
dustinface
77932fcc11
util: Refactor select_port
to not load the config ( #13514 )
...
* util: Refactor `select_port` to not load the config
* Fix `prefer_ipv6` config lookup
* Use `str2bool`
2022-09-23 17:47:26 -05:00
Kyle Altendorf
a72edd486d
minimal api switch to get_type_hints()
( #13507 )
2022-09-23 17:33:11 -05:00
Kyle Altendorf
682b39ab56
Update test_data_rpc.py ( #13506 )
...
https://github.com/Chia-Network/chia-blockchain/actions/runs/3105624081/jobs/5031501276#step:16:1151
```python-traceback
____________________________ test_get_owned_stores _____________________________
[gw0] darwin -- Python 3.9.14 /Users/runner/work/chia-blockchain/chia-blockchain/venv/bin/python
tests/core/data_layer/test_data_rpc.py:609: in test_get_owned_stores
await time_out_assert(2, check_mempool_spend_count, True, full_node_api, 1)
E AssertionError: Timed assertion timed out after 2 seconds: expected True, got False
```
2022-09-23 17:32:55 -05:00
Kyle Altendorf
6788bdd0ff
increase datalayer test timeout to 40 minutes ( #13505 )
2022-09-23 17:32:32 -05:00
William Allen
3023daf435
Changing conditional of start-release ( #13501 )
2022-09-23 17:31:28 -05:00
dustinface
0df4d8cbe4
setup|plotting: chiapos==1.0.11
+ drop invalid cache entries ( #13502 )
...
* Bump `chiapos` to `1.0.11`
* Drop invalid cache entries
2022-09-23 17:30:30 -05:00
dependabot[bot]
d0cde011eb
Bump parse-url and lerna in /build_scripts/npm_linux ( #13497 )
...
Bumps [parse-url](https://github.com/IonicaBizau/parse-url ) to 8.1.0 and updates ancestor dependency [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna ). These dependencies need to be updated together.
Updates `parse-url` from 7.0.2 to 8.1.0
- [Release notes](https://github.com/IonicaBizau/parse-url/releases )
- [Commits](https://github.com/IonicaBizau/parse-url/compare/7.0.2...8.1.0 )
Updates `lerna` from 5.4.2 to 5.5.2
- [Release notes](https://github.com/lerna/lerna/releases )
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md )
- [Commits](https://github.com/lerna/lerna/commits/v5.5.2/core/lerna )
---
updated-dependencies:
- dependency-name: parse-url
dependency-type: indirect
- dependency-name: lerna
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 17:22:54 -05:00
dustinface
40538fd942
mypy: Fix some asyncio.Task
related ignores ( #13487 )
2022-09-23 17:19:36 -05:00
Kyle Altendorf
89c9242618
Add __tracebackhide__ to time_out_assert_not_none() ( #13481 )
2022-09-23 17:19:15 -05:00
Kyle Altendorf
0766914d7a
remove --enable-data-server from chia configure cli ( #13442 )
2022-09-23 17:18:23 -05:00
Kyle Altendorf
05ff006960
Make IP section in connections table 1 character wider ( #13180 )
...
* Make IP section in connections table 1 character wider
Note how the table spacing is one character short of handling a full `(8 * 4) + 7` characters for an IPv6 address.
```
$ chia wallet show
Wallet height: 0
Sync status: Not synced
Connections:
Type IP Ports NodeID Last Connect MiB Up|Dwn
FULL_NODE 2803:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:573d 8444/8444 353e724c... Aug 25 23:00:09 0.1|4.6
-Height: No Info -Hash: No Info
FULL_NODE 66.xxx.xx.161 8444/8444 0582d93f... Aug 25 23:00:12 0.0|0.0
-Height: No Info -Hash: No Info
FULL_NODE 127.0.0.1 8444/8444 ea10c38b... Aug 25 23:00:12 0.0|0.0
-Height: No Info -Hash: No Info -Trusted: True
```
* more 1 characters
2022-09-23 17:16:12 -05:00
Kyle Altendorf
1111fea7dd
define FullNode
attributes in .__init__()
( #12447 )
...
* define `FullNode` attributes in `.__init__()`
* cleanup
* cleanup
* fixup
* even more, and less hasattr
* Remove now redundant hints
* Update full_node.py
2022-09-23 17:15:46 -05:00
Kyle Altendorf
199d989352
Avoid the auto-naming mess by saying more about the coverage job in its name ( #13492 )
...
```
Coverage (🐧 , ubuntu, Ubuntu, ubuntu-latest, 3.9, 3.9, 3.9, 3.9, 3.9)
```
to
```
🐧 Coverage 3.9
```
2022-09-21 22:50:40 -05:00
dependabot[bot]
cdc1797448
Bump got and electron-builder in /build_scripts/npm_macos ( #13469 )
...
Bumps [got](https://github.com/sindresorhus/got ) and [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder ). These dependencies needed to be updated together.
Removes `got`
Updates `electron-builder` from 23.3.3 to 23.5.1
- [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/v23.5.1/packages/electron-builder )
---
updated-dependencies:
- dependency-name: got
dependency-type: indirect
- dependency-name: electron-builder
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 22:50:13 -05:00
Almog De Paz
39bdffa547
handle errors during shutdown ( #12604 )
...
* remove redundant var
dont throw to "Errors" in shutdown
check for missing service name
* typo's
2022-09-21 22:49:31 -05:00
Kyle Altendorf
1dbf575a3e
RpcApiProtocol and RpcServiceProtocol ( #11522 )
...
* provide a skeleton hint protocol for rpc apis
* more
* more self.custom_get_connections = None
* fix RpcApiProtocol.service hinting
* catch up with RpcApiProtocol._state_changed()
* FullNode.server is now non-optional. 'ish
* drop another todo
* custom_get_connections -> get_connections
* just make get_connections() a mandatory method with a helper provided
* lots
* try again
* ._start_with_fingerprint()
* fill out the Service generic parameter in start scripts
* ... instead of pass
* add docstrings to the protocols
* remove no longer needed hasattr/not None checks
* remove outdated comment
* refactor Harvester._is_shutdown to ._shut_down
2022-09-21 22:49:01 -05:00
William Allen
357075235a
Wallentx/prerelease ( #13460 )
...
* Adding workflows to support prerelease
Signed-off-by: wallentx <william.allentx@gmail.com>
* Update installer-version.py
Signed-off-by: wallentx <william.allentx@gmail.com>
* using gh cli to upload release artifact
Signed-off-by: wallentx <william.allentx@gmail.com>
* Fixing whitespace
* Adding gh cli workflow uploads
* Removing CLI artifact upload to release page
* Adding separate release artifact upload for Windows
* Fixing windows installer envar
* Moving torrent release upload step
* Adding needed env for artifact upload
* Removing windows installer conditional for installing AWS CLI
Signed-off-by: wallentx <william.allentx@gmail.com>
2022-09-21 14:11:11 -05:00
Matt Hauff
736b83a933
On chain wallet notifications ( #13261 )
...
* initial design
* simplify
* curry amount
* add test for notficiation content
* Add some anti-spam to config
* remove comment function
* flake8
* mypy
* shatree
* add_rpcs
* isort
* lgtm
* isort
* golf a bit
* bad merge?
* add sorting and pagination
* Remove MSG_HASH from clvm
* black
* Decrease spam limit
* Add CLI and minor fix
* add newline
2022-09-21 00:53:31 -05:00
William Allen
8ea660d493
Merge pull request #13486 from Chia-Network/checkpoint/main_from_release_1.6.0_bf4759be503bf46c997b41e39a3c22a53316e404
...
checkpoint: into main from release/1.6.0 @ bf4759be50
2022-09-20 16:54:18 -05:00
Kyle Altendorf
359c5b008c
Merge commit 'bf4759be503bf46c997b41e39a3c22a53316e404' into checkpoint/main_from_release_1.6.0_bf4759be503bf46c997b41e39a3c22a53316e404
2022-09-20 17:15:51 -04:00
William Allen
bf4759be50
Update CHANGELOG.md ( #13482 )
...
* Update CHANGELOG.md
1.6.0
* Fixing whitespace
* Revert "Fixing whitespace"
This reverts commit 12aecf1c94
.
* Fixing whitespace, and not committing GUI changes
2022-09-20 13:45:22 -05:00
Izumi Hoshino
190f8e1be2
Suppress debug log ( #13476 )
...
* Suppress debug log
* Delete the lines
2022-09-19 20:20:16 -05:00
dependabot[bot]
564782a76d
Bump got and electron-builder in /build_scripts/npm_windows ( #13470 )
...
Bumps [got](https://github.com/sindresorhus/got ) and [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder ). These dependencies needed to be updated together.
Removes `got`
Updates `electron-builder` from 23.3.3 to 23.5.1
- [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/v23.5.1/packages/electron-builder )
---
updated-dependencies:
- dependency-name: got
dependency-type: indirect
- dependency-name: electron-builder
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-16 18:13:47 -05:00
Kyle Altendorf
fbe8c9d8e6
Revert "astroid!=2.12.6, !=2.12.7 ( #13338 )" ( #13342 )
...
This reverts commit 4fecc3f6c1
.
2022-09-16 17:56:31 -05:00
Kyle Altendorf
accf6fd824
separate process global setup for daemon ( #13400 )
2022-09-16 17:49:51 -05:00
Almog De Paz
e8c11d74da
up synced timout to 20 on node/wallet setup ( #13425 )
2022-09-16 16:33:32 -05:00
Kyle Altendorf
b9e6fd577e
Remove kwargs from Service.start()
( #12294 )
2022-09-16 16:22:53 -05:00
Kyle Altendorf
6ba2922ce1
less cast()
in keychain server ( #13465 )
2022-09-16 16:22:21 -05:00
dustinface
60908420b6
plot_sync: Change log level to INFO
in Receiver.reset
( #13463 )
...
It's not necessarily an error, could be just a harvester restart.
2022-09-16 16:21:51 -05:00