Commit Graph
14659 Commits
Author SHA1 Message Date
William AllenandGitHub d6f62d121b Additional entry to changelog (#15194) 1.8.0 2023-05-03 16:27:52 -05:00
wjblankeandGitHub 70fd5e0fac Fix soft fork to 60 days (#15191)
* 60 days

* testnet changes
2023-05-03 16:09:17 -05:00
889c389949 1.8.0 changelog (#15169)
* Drafting 1.8.0 changelog

* Update CHANGELOG.md

* Cleanup extra bits from new changelog entry

---------

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2023-05-03 12:29:18 -05:00
Amine Khaldi af589221b8 Update the anchor. 2023-05-03 15:53:50 +01:00
Amine Khaldi 842dd0cc3b Merge commit '21031b927a8f07e3a89d3c3855dcb0a716e6a425' into checkpoint/main_from_release_1.8.0_21031b927a8f07e3a89d3c3855dcb0a716e6a425 2023-05-03 15:49:14 +01:00
dustinfaceandGitHub 67910197eb wallet: Improve WalletCoinStore.get_coin_records (#15099)
Improve `WalletCoinStore.get_coin_records`
2023-05-03 00:31:52 -05:00
dustinfaceandGitHub 994aa24e44 wallet: Give Payment.memos a default value (#15172) 2023-05-03 00:30:53 -05:00
Kyle AltendorfandGitHub 7cfa68139e Add flexibility to log_exceptions() (#14992)
* Add flexibility to `log_exceptions()`

Allows configuration of the exception or exceptions to be caught, whether or not to show the traceback, the log level, and also adds the exception type to aid readability of errors like `KeyError` where the only text is the value of the key requested.

* add `log_exceptions(message=)`

* add tests for `chia.util.log_exceptions()`

* Update test_log_exceptions.py

* Update test_log_exceptions.py

* back to parametrize
2023-05-03 00:30:09 -05:00
Kyle AltendorfandGitHub cf6a529265 use type name in Pulled from queue: log messages (#15003) 2023-05-03 00:29:52 -05:00
Kyle AltendorfandGitHub 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 AltendorfandGitHub 7f7bce8677 help= not short_help= (#15076)
* help= not short_help=

* oops

* more

* more
2023-05-03 00:29:13 -05:00
William AllenandGitHub 8b8f77a28f checkpoint: into main from release/1.8.0 @ 4e71529422 (#15178)
Source hash: 4e71529422
Remaining commits: 8
2023-05-02 17:49:52 -05:00
Kyle AltendorfandGitHub 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
Amine Khaldi fc1e734b92 Merge commit '4e71529422039ff76d6b3af064f8d7653ccead5f' into checkpoint/main_from_release_1.8.0_4e71529422039ff76d6b3af064f8d7653ccead5f 2023-05-02 19:22:13 +01:00
Arvid NorbergandGitHub 7dc99095d0 add generator2 to the repository (#15152)
add generator2 to the repository. This is intended to be used in the 2.0 hard fork
2023-05-02 12:14:44 -05:00
JeffandGitHub 0ce1373860 Bump chia-blockchain-gui to 1e1f85a918d63be26d96a3cbac2e0dd365175382 (#15170)
* fix regression that prevented accepting offers with unknown CATs by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1738

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.0-rc4...1.8.0-rc5
1.8.0-rc5
2023-05-01 23:42:35 -05:00
William AllenandGitHub dcebabab30 checkpoint: into main from release/1.8.0 @ fd8b85eb61 (#15167)
Source hash: fd8b85eb61
Remaining commits: 6
2023-05-01 17:04:59 -05:00
Kyle AltendorfandGitHub 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
dustinfaceandGitHub 138154d5cd wallet: List the columns for INSERT into coin_record (#15159) 2023-05-01 14:09:28 -05:00
dustinfaceandGitHub 96cacc8a24 wallet: Revert "Add new coin_type & metadata to coin_records (#15013)" (#15154)
Revert "Add new coin_type & metadata to coin_records (#15013)"

This reverts commit a998ea48d8.
2023-05-01 09:56:48 -05:00
Amine Khaldi 801a3be95e Merge commit 'fd8b85eb61a158c7d6a3e1d0af9c8a163052a73e' into checkpoint/main_from_release_1.8.0_fd8b85eb61a158c7d6a3e1d0af9c8a163052a73e 2023-05-01 15:42:01 +01:00
JeffandGitHub 1a3047a9bc Bump chia-blockchain-gui to e5daa7d8f601b5bd7dd25a119339508b56deab19 (#15155)
* fix offer creation when requesting NFTs. driver_dict was being passed incorrectly by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1709
* Downgrade WalletConnect SDK to 2.6.0 as versions > 2.6.0 introduce a breaking change by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1723
* OfferBin --> 🗑 by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1727
* fix issue with "Check for Updates" dialog stacking on top of itself by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1725

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.0-rc2...1.8.0-rc4
1.8.0-rc4
2023-04-28 16:38:17 -05:00
dustinfaceandGitHub b0cc1bebdb wallet: Lock WalletStateManager.lock while populating balances initially (#15149)
Lock `WalletStateManager.lock` while populating balances initially
2023-04-28 14:55:15 -05:00
dustinfaceandGitHub ae5f23e51c wallet: Move assignments of WalletStateManager._sync_target (#15148) 2023-04-28 14:34:44 -05:00
dustinfaceandGitHub 1f8fc6410c util: Async DNS lookups (#14999)
* Rename `get_host_addr` to `resolve`

* Async DNS lookups in `resolve`

* Drop not needed `str` conversions
2023-04-28 13:37:28 -05:00
Kyle AltendorfandGitHub 322c54f6e3 rework class protocol check pattern (#15134) 2023-04-27 09:56:37 -05:00
Amine KhaldiandGitHub 808514a80b Simplify handling additions and removals in validate_spend_bundle() (#15131)
Simplify handling additions and removals in validate_spend_bundle().
2023-04-27 09:56:14 -05:00
dustinfaceandGitHub f902655efc wallet: Implement WalletNFTStore.delete_wallet (#15128) 2023-04-27 09:55:53 -05:00
Amine KhaldiandGitHub de6fb526b5 Implement get_items_by_coin_ids() for the mempool (#15069)
Implement get_items_by_coin_ids() for the mempool.
2023-04-27 09:55:01 -05:00
Amine KhaldiandGitHub 1748e35526 Simplify MempoolItem's cost property (#15058)
Simplify MempoolItem cost property.
2023-04-27 09:54:40 -05:00
dustinfaceandGitHub aa40fa7f21 wallet: Drop AmountWithPuzzlehHash, use Payment instead (#15019) 2023-04-27 09:52:27 -05:00
dustinfaceandGitHub 6883218ce0 wallet: Enable and fix more mypy for wallet_state_manager.py (#14900)
mypy: Hint `WalletStateManager`
2023-04-27 09:51:50 -05:00
Kyle AltendorfandGitHub 2ed75d47f3 more mypy platforms in ci (#12299)
* more mypy platforms in ci

* check not checks

* oh yeah, activate...

* add 3.11

* adjust job names

* actually use the right python version for install

* adjust for 3.7 hinting support

* exclude macos 3.7 and macos arm 3.8

* back to 3.8 for now

* major_dot_minor

* oops

* move ignore comments for 3.7

* and more
2023-04-27 09:51:18 -05:00
dustinfaceandGitHub 4c7f7e7d23 wallet: Implement WalletCoinRecord.to_json_dict_parsed_metadata (#15108) 2023-04-25 11:21:10 -06:00
JeffandGitHub 21031b927a Bump chia-blockchain-gui to 8c1817c14c053b13158622af9550315f3e25003f (#15111)
* set progress to 100% when there are no NFTs by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1679
* wallet connect upgrade by @seeden in https://github.com/Chia-Network/chia-blockchain-gui/pull/1680
* fix skip version logic and allow localStorage overrides for testing by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1685
* fix broken calls to getOfferSummary by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1689
* fix callers of RTK mutations to pass params properly by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1691
* Update PlotAddNFT.tsx by @Voodoo-Chia in https://github.com/Chia-Network/chia-blockchain-gui/pull/1671
* fix cat_spend to use 'inner_address' instead of 'address' by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1692
* Fixed an issue where creating an offer with NFT failed by @paninaro in https://github.com/Chia-Network/chia-blockchain-gui/pull/1704

* @Voodoo-Chia made their first contribution in https://github.com/Chia-Network/chia-blockchain-gui/pull/1671

**Full Changelog**: https://github.com/Chia-Network/chia-blockchain-gui/compare/1.8.0-b7...1.8.0-rc2
1.8.0-rc3
2023-04-24 15:06:08 -06:00
Kyle AltendorfandGitHub dd845b9a3c improve ignore handling in __init__.py creation script (#15093)
improve ignore handling
1.8.0-rc2
2023-04-24 12:52:51 -06:00
Arvid NorbergandGitHub 4e71529422 lower MAX_FUTURE_TIME to 2 minutes with the 1.8.0 soft-fork activation (#15035) 2023-04-24 12:52:38 -06:00
Kyle AltendorfandGitHub b493498204 fail for under 100% diff coverage (#15080) 2023-04-24 12:52:21 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6843bba7c0 Bump aiosqlite from 0.17.0 to 0.19.0 (#15074)
Bumps [aiosqlite](https://github.com/omnilib/aiosqlite) from 0.17.0 to 0.19.0.
- [Release notes](https://github.com/omnilib/aiosqlite/releases)
- [Changelog](https://github.com/omnilib/aiosqlite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omnilib/aiosqlite/compare/v0.17.0...v0.19.0)

---
updated-dependencies:
- dependency-name: aiosqlite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:51:12 -06:00
Kyle AltendorfandGitHub 62d73db346 be more careful about deleting temporary plots (#15084) 2023-04-24 12:50:56 -06:00
Kyle AltendorfandGitHub 2e9647e32a extract wallet specific behavior from get any service client (#15086)
* extract wallet behavior from get_any_service_client()

* another

* style
2023-04-24 12:50:40 -06:00
dustinfaceandGitHub c2fac95aa1 tests: Fix flaky test_long_sync_untrusted_break (#15088) 2023-04-24 12:48:50 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e25795ef2f build(deps): bump mheap/github-action-required-labels from 3 to 4 (#14985)
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels) from 3 to 4.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases)
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v3...v4)

---
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-04-24 12:48:31 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6d5b6baf11 build(deps): bump peter-evans/create-pull-request from 4 to 5 (#15022)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  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-04-24 12:48:05 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
def9cee8db Bump github/super-linter from 4 to 5 (#15070)
Bumps [github/super-linter](https://github.com/github/super-linter) from 4 to 5.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md)
- [Commits](https://github.com/github/super-linter/compare/v4...v5)

---
updated-dependencies:
- dependency-name: github/super-linter
  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-04-24 12:47:50 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
138e34bf7b Bump pyinstaller from 5.8.0 to 5.10.1 (#15071)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 5.8.0 to 5.10.1.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.8.0...v5.10.1)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:47:28 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1775e8ab20 Bump filelock from 3.9.0 to 3.12.0 (#15073)
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.9.0 to 3.12.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.9.0...3.12.0)

---
updated-dependencies:
- dependency-name: filelock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 12:46:32 -06:00
Kyle AltendorfandGitHub 264941eddf hint chia.rpc.full_node_rpc_client (#14705)
hint chia.rpc.rull_node_rpc_client
2023-04-24 12:45:57 -06:00
Amine KhaldiandGitHub cf44101bc6 Use "item" instead of "spend" in mempool's items functions names (#15103)
Use "item" instead of "spend" in mempool's items functions names.

With this we're consistent with mempool's internal items map (_items) and _row_to_item as well as the return types.
2023-04-24 12:45:37 -06:00
Amine KhaldiandGitHub 543199cc04 Annotate test_blockchain_transactions.py (#15061)
Annotate test_blockchain_transactions.py.
2023-04-24 12:45:03 -06:00