Commit Graph

10468 Commits

Author SHA1 Message Date
William Allen
b3e68ba043
checkpoint: into main from release/1.7.0 @ 5f737cc094 (#14550)
Source hash: 5f737cc094
Remaining commits: 0
2023-02-13 17:18:09 -06:00
Adam Kelly
d69ecdda29
Test DID Wallet creation by blockchain singleton update (#14545) 2023-02-13 11:21:32 -06:00
Dennis
94ae691a61
Add dexie DNS seeder (#14556) 2023-02-13 11:19:49 -06:00
Amine Khaldi
454b1cbc35
Simplify MINTING_COIN and RESERVE_FEE_CONDITION_FAILED unit tests (#14559)
* Simplify MINTING_COIN and RESERVE_FEE_CONDITION_FAILED unit tests now that they're validated in pre_validate_spendbundle.

* Add positive tests.
2023-02-13 11:03:22 -06:00
Kyle Altendorf
e29125703e
zstd==1.5.4.0 (#14552)
Mostly for official wheel coverage.  https://github.com/sergey-dryabzhinsky/python-zstd/issues/83
2023-02-13 11:01:55 -06:00
Arvid Norberg
07450b7dda
use run_block_generator() to run block generators (#14544)
use the new run_block_generator() function from chia_rs
2023-02-13 11:00:21 -06:00
Kyle Altendorf
9ea8f6951b
just tuple() instead of tuple([]) (#14515) 2023-02-13 10:58:36 -06:00
Amine Khaldi
b843cc3eba
Merge commit '5f737cc094d1a077755f0bb00ad5b7a56870a988' into checkpoint/main_from_release_1.7.0_5f737cc094d1a077755f0bb00ad5b7a56870a988 2023-02-11 20:46:29 +01:00
Zachary Brown
2e34cc5fe8
Improve the help text for the peer command (#14542) 2023-02-10 17:33:34 -06:00
William Allen
9c2efd591e
checkpoint: into main from release/1.7.0 @ de4f48700e (#14539)
Source hash: de4f48700e
Remaining commits: 1
2023-02-10 17:33:15 -06:00
Arvid Norberg
1b6201852a
bump chia_rs to 0.2.2 (#14533)
* bump chia_rs to latest version

* add new error codes for ASSERT_BEFORE_* condition failures, ASSERT_CONCURRENT_SPEND failing, ASSERT_CONCURRENT_PUZZLE_FAILED and for impossible constraints

* add new condition opcodes for ASSERT_BEFORE_*, ASSERT_CONCURRENT_SPEND and ASSERT_CONCURRENT_PUZZLE

* fixup Spend and SpendBundleCondition types

* fixup tests that otherwise fail with MINTING_COIN

* fix test that otherwise would fail with RESERVE_FEE_CONDITION_FAILED

* remove use of NO_NEG_DIV flag. It's now implied

* remove duplicate test parameters
2023-02-10 15:14:56 -06:00
Arvid Norberg
91923ef8fa
optimize offers (#14531)
cache addition coins in offers, rather than executing the clvm puzzles repeatedly
2023-02-10 15:14:23 -06:00
Matt Hauff
59e389968e
Add cost logging to CLVM tests as fixture (#14444) 2023-02-10 15:13:45 -06:00
Kyle Altendorf
6e70868888
move wallet_is_synced/wallets_are_synced to FullNodeSimulator methods (#14403)
* move wallet_is_synced/wallets_are_synced to FullNodeSimulator methods

* black

* gotta catch 'em all
2023-02-10 15:13:23 -06:00
dependabot[bot]
3967bb9a15
Bump colorama from 0.4.5 to 0.4.6 (#13982)
Bumps [colorama](https://github.com/tartley/colorama) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/tartley/colorama/releases)
- [Changelog](https://github.com/tartley/colorama/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tartley/colorama/compare/0.4.5...0.4.6)

---
updated-dependencies:
- dependency-name: colorama
  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-02-10 15:12:54 -06:00
Amine Khaldi
09f0184f7a
Merge commit 'de4f48700ebe2373628b81fbdd7f1d271091eb8c' into checkpoint/main_from_release_1.7.0_de4f48700ebe2373628b81fbdd7f1d271091eb8c 2023-02-10 12:26:21 +01:00
William Allen
c7fbf8b10a
checkpoint: into main from release/1.7.0 @ 9cc25cc820 (#14532)
Source hash: 9cc25cc820
Remaining commits: 1
2023-02-09 19:30:23 -06:00
dependabot[bot]
dca51223c9
build(deps): bump keyring from 23.9.3 to 23.13.1 (#14203)
Bumps [keyring](https://github.com/jaraco/keyring) from 23.9.3 to 23.13.1.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/main/CHANGES.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v23.9.3...v23.13.1)

---
updated-dependencies:
- dependency-name: keyring
  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-02-09 16:42:12 -06:00
dependabot[bot]
e7e40d0a19
Bump packaging from 21.3 to 23.0 (#14328)
Bumps [packaging](https://github.com/pypa/packaging) from 21.3 to 23.0.
- [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/21.3...23.0)

---
updated-dependencies:
- dependency-name: packaging
  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-02-09 16:41:11 -06:00
dependabot[bot]
1043205753
Bump bitstring from 3.1.9 to 4.0.1 (#13983)
Bumps [bitstring](https://github.com/scott-griffiths/bitstring) from 3.1.9 to 4.0.1.
- [Release notes](https://github.com/scott-griffiths/bitstring/releases)
- [Changelog](https://github.com/scott-griffiths/bitstring/blob/main/release_notes.txt)
- [Commits](https://github.com/scott-griffiths/bitstring/compare/bitstring-3.1.9...bitstring-4.0.1)

---
updated-dependencies:
- dependency-name: bitstring
  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-02-09 16:40:52 -06:00
Jeff
440abe1438
Offer CLI command help now shows --fee units as XCH (#14529)
specify XCH for --fee option to offer commands
show included fees when making an offer with a fee > 0
2023-02-09 16:40:35 -06:00
dustinface
527b53af19
mypy: Fix wallet_blockchain.py and wallet_sync_utils.py (#14518)
* Fix `wallet_blockchain.py`

* Fix `wallet_sync_utils.py`
2023-02-09 16:40:03 -06:00
Kyle Altendorf
3fec9117dc
Revert "pin mypy to < 1 (#14504)" (#14506)
* Revert "pin mypy to < 1 (#14504)"

This reverts commit f012f36aa7.

* punt
2023-02-09 16:39:30 -06:00
Matt Hauff
5f737cc094
Purposefully break offer compression for older versions (#14535)
* Purposefully break compression for older versions

* be slightly more optimal
2023-02-09 16:36:10 -06:00
Sebastjan Trepca
bdbfc810a4
let sqlite count NFTs on removal (#14523) 2023-02-09 07:52:47 -06:00
Amine Khaldi
5169f10e50
Merge commit '9cc25cc820accad778bf626500aedd299f62a825' into checkpoint/main_from_release_1.7.0_9cc25cc820accad778bf626500aedd299f62a825 2023-02-09 14:28:39 +01:00
Sebastjan Trepca
08a7a5b0b8
update GUI when wallets are removed (#14251) 2023-02-08 21:28:40 -06:00
Kyle Altendorf
4b4ec58544
bookworm uses 3.11, catch up comment (#14443) 2023-02-08 21:28:19 -06:00
dustinface
f62f243e69
wallet: Drop async for can_use_peer_request_cache (#14472)
Make `can_use_peer_request_cache` a sync method
2023-02-08 21:27:10 -06:00
dustinface
28b4dfd756
rpc: Dont't expect WalletNode._await_closed to maybe return a task (#14431) 2023-02-08 21:26:31 -06:00
Jack Nelson
d4d30aacf9
Delete lgtm.yml (#14383) 2023-02-08 21:26:10 -06:00
dustinface
8431b37bd2
full_node: Hint the sync store and create it earlier (#14432) 2023-02-08 21:25:53 -06:00
Adam Kelly
91655a9c0b
Rate limit 'Rate limiting' message (#14435) 2023-02-08 21:25:35 -06:00
dustinface
7f1a3e0cee
full_node: Drop unused FullNode._num_needed_peers (#14437) 2023-02-08 21:25:21 -06:00
William Allen
c64b0e9a9d
checkpoint: into main from release/1.7.0 @ ba74a983eb (#14521)
Source hash: ba74a983eb
Remaining commits: 2
2023-02-08 21:24:26 -06:00
dustinface
11afbfc957
full_node: Use more ChiaServer.get_connections (#14438)
full_node: Use `ChiaServer.get_connections` to simplify a loop
2023-02-08 19:47:56 -06:00
dustinface
598ec64453
wallet: Don't update FINISHED_SYNC_UP_TO during long sync (#14520) 2023-02-08 19:44:51 -06:00
William Allen
9e57773c50
Using gh-cli instead of curl for API calls to avoid rate-limiting (#14519)
* Using gh-cli, instead of curl to make API calls to GitHub to avoid rate-limiting

* Adding token to env for gh-cli steps
2023-02-08 19:44:32 -06:00
Adam Kelly
d3ad991208
Ak.test nft mint from xch rpc (#14482)
* Mitigate flaky test

* Use already existing wallet_is_synced
2023-02-08 19:44:04 -06:00
Kyle Altendorf
f346de94ba
refactor test_pool_rpc (#14196)
* preliminary test_pool_rpc refactor

* remove todo

* handle some todos

* one more

* wait for wallets to sync in the fixtures

* drop an extra wallet

* drop unused function
2023-02-08 19:43:43 -06:00
dependabot[bot]
229b525e7e
Bump cryptography from 38.0.3 to 39.0.1 (#14517)
Bumps [cryptography](https://github.com/pyca/cryptography) from 38.0.3 to 39.0.1.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/38.0.3...39.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  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-02-08 19:42:44 -06:00
Amine Khaldi
e6a6f7eccb
Merge commit 'ba74a983ebe80fb29fce08fa32ec155548510ea9' into checkpoint/main_from_release_1.7.0_ba74a983ebe80fb29fce08fa32ec155548510ea9 2023-02-08 13:48:41 +01:00
Kronus91
67b42c9cc4
Fix get memo API (#14513) 2023-02-07 18:41:02 -06:00
Kyle Altendorf
872924d65e
fix crossed parameters for setup_simulators_and_wallets_inner() calling setup_full_node() (#14480) 2023-02-07 18:25:11 -06:00
Adam Kelly
3b932a2c5b
Output proper json (#14451) 2023-02-07 18:23:37 -06:00
Adam Kelly
a6ba031de7
Always Log service startup and shutdown. (#14447)
* Always Log service startup and shutdown. This is important information when trying to understand logfiles.

* typo
2023-02-07 18:22:20 -06:00
Arvid Norberg
e397aa3abd
remove test aimed at the inital soft-fork to enable transactions (#14477)
remove test aimed at the inital soft-fork to enable transactions, way back in the beginning of time
2023-02-07 18:20:24 -06:00
Adam Kelly
964015d6a0
Return a better error message when the 'coin_id' argument for nft_get_info cannot be decoded into a 32 byte hex string (#14454)
* Return a better error message when the 'coin_id' argument for nft_get_info cannot be decoded into a byte32

* Show extra whitespace more readily

Co-authored-by: Kyle Altendorf <sda@fstab.net>

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-02-07 18:19:11 -06:00
Adam Kelly
446a6f9888
Don't print entire TransactionRecord to log file (#14456) 2023-02-07 18:18:29 -06:00
Kyle Altendorf
20b2d66012
fix reporting of deprecation of plotter install and bladebit2 commands (#14421) 2023-02-07 18:13:01 -06:00