Amine Khaldi
ab999d6192
Optimize check_removals() by checking for mempool conflicts all at once ( #15202 )
...
* Make conflicting_items a list instead of a set as we're only iterating over it, we're not leveraging set ownership.
This simplifies using can_replace() and also prepares ground to simplify check_removals() next.
* Optimize check_removals by checking for mempool conflicts all at once.
2023-05-04 13:21:18 -05:00
dependabot[bot]
a663472400
Bump concurrent-log-handler from 0.9.20 to 0.9.23 ( #15181 )
...
Bumps [concurrent-log-handler](https://github.com/Preston-Landers/concurrent-log-handler ) from 0.9.20 to 0.9.23.
- [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.20...0.9.23 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 13:20:54 -05:00
William Allen
1cf57a6d59
checkpoint: into main from release/1.8.0 @ 21031b927a
( #15188 )
...
Source hash: 21031b927a
Remaining commits: 7
2023-05-04 13:20:31 -05:00
Matt Hauff
2308503dd2
Comment chialisp assert macro ( #15189 )
...
Comment assert macro
2023-05-04 13:20:03 -05:00
Arvid Norberg
18ec6d761d
fix GENEARATOR_MOD2 to have the same cost as GENERATOR_MOD ( #15184 )
2023-05-04 13:19:45 -05:00
Amine Khaldi
c9ce62c368
Annotate tests/util/blockchain.py ( #15117 )
...
Annotate tests/util/blockchain.py.
2023-05-04 13:19:27 -05:00
Gene Hoffman
b0072fdce0
Move to Discord in docs and install scripts ( #15193 )
2023-05-04 13:18:33 -05:00
dependabot[bot]
097debb77e
Bump packaging from 23.0 to 23.1 ( #15121 )
...
Bumps [packaging](https://github.com/pypa/packaging ) from 23.0 to 23.1.
- [Release notes](https://github.com/pypa/packaging/releases )
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/packaging/compare/23.0...23.1 )
---
updated-dependencies:
- dependency-name: packaging
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-05-04 13:18:04 -05:00
Matt Hauff
0346bddebe
Hint to CAT change ( #15179 )
...
* Hint to change
* Change cat test
* fix test_cat_spend test memo check
* Fix memos assertion again
2023-05-04 13:17:20 -05:00
Kronus91
b0f65a1539
Fix typo and duplicate options ( #15177 )
2023-05-04 13:17:00 -05:00
dustinface
9a81cb36b6
protocols: Give rust wallet types an alias, don't use __all__
( #15186 )
...
* protocols: Give rust wallet types an alias, don't use `__all__`
* Refactor `types_in_module` in `test_network_protocol_test.py`
2023-05-04 13:16:33 -05:00
dustinface
5b93bd320c
wallet: Cleanup wallet_protocol
imports ( #15185 )
2023-05-03 16:37:32 -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
dustinface
67910197eb
wallet: Improve WalletCoinStore.get_coin_records
( #15099 )
...
Improve `WalletCoinStore.get_coin_records`
2023-05-03 00:31:52 -05:00
dustinface
994aa24e44
wallet: Give Payment.memos
a default value ( #15172 )
2023-05-03 00:30:53 -05:00
Kyle Altendorf
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 Altendorf
cf6a529265
use type name in Pulled from queue:
log messages ( #15003 )
2023-05-03 00:29:52 -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
7f7bce8677
help= not short_help= ( #15076 )
...
* help= not short_help=
* oops
* more
* more
2023-05-03 00:29:13 -05:00
William Allen
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 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
Amine Khaldi
fc1e734b92
Merge commit '4e71529422039ff76d6b3af064f8d7653ccead5f' into checkpoint/main_from_release_1.8.0_4e71529422039ff76d6b3af064f8d7653ccead5f
2023-05-02 19:22:13 +01:00
Arvid Norberg
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
William Allen
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 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
Amine Khaldi
801a3be95e
Merge commit 'fd8b85eb61a158c7d6a3e1d0af9c8a163052a73e' into checkpoint/main_from_release_1.8.0_fd8b85eb61a158c7d6a3e1d0af9c8a163052a73e
2023-05-01 15:42:01 +01:00
Kyle Altendorf
322c54f6e3
rework class protocol check pattern ( #15134 )
2023-04-27 09:56:37 -05:00
Amine Khaldi
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
dustinface
f902655efc
wallet: Implement WalletNFTStore.delete_wallet
( #15128 )
2023-04-27 09:55:53 -05:00
Amine Khaldi
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 Khaldi
1748e35526
Simplify MempoolItem's cost property ( #15058 )
...
Simplify MempoolItem cost property.
2023-04-27 09:54:40 -05:00
dustinface
aa40fa7f21
wallet: Drop AmountWithPuzzlehHash
, use Payment
instead ( #15019 )
2023-04-27 09:52:27 -05:00
dustinface
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 Altendorf
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
dustinface
4c7f7e7d23
wallet: Implement WalletCoinRecord.to_json_dict_parsed_metadata
( #15108 )
2023-04-25 11:21:10 -06:00
Jeff
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
2023-04-24 15:06:08 -06:00
Kyle Altendorf
dd845b9a3c
improve ignore handling in __init__.py
creation script ( #15093 )
...
improve ignore handling
2023-04-24 12:52:51 -06:00
Arvid Norberg
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 Altendorf
b493498204
fail for under 100% diff coverage ( #15080 )
2023-04-24 12:52:21 -06:00
dependabot[bot]
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 Altendorf
62d73db346
be more careful about deleting temporary plots ( #15084 )
2023-04-24 12:50:56 -06:00
Kyle Altendorf
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
dustinface
c2fac95aa1
tests: Fix flaky test_long_sync_untrusted_break
( #15088 )
2023-04-24 12:48:50 -06:00
dependabot[bot]
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]
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]
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]
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]
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 Altendorf
264941eddf
hint chia.rpc.full_node_rpc_client ( #14705 )
...
hint chia.rpc.rull_node_rpc_client
2023-04-24 12:45:57 -06:00