Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle Altendorf 2468b519b7 raw node [de]serialization tests 2024-05-14 11:00:25 -04:00
Kyle Altendorf c7e697e857 add chia.data_layer.util.merkle_blob 2024-05-14 09:56:22 -04:00
Kyle AltendorfandGitHub bd3a638db1 fix macos installer test matrix (#18005) 2024-05-13 16:20:06 -05:00
Amine KhaldiandGitHub 250a6ab31c Remove no longer needed isinstance assert in mint_from_did and mint_from_xch for mypy's sake (#17925)
Remove no longer needed isinstance assert in mint_from_did and mint_from_xch for mypy's sake.
2024-05-12 22:10:24 -05:00
Amine KhaldiandGitHub b93faf0a61 Improve spend bundle checks in test_dao_proposal_partial_vote (#17912)
Improve spend bundle checks in test_dao_proposal_partial_vote.
2024-05-12 22:10:16 -05:00
Amine KhaldiandGitHub db970950e6 Simplify gen_and_send_sb and make it type safe (#17911)
Simplify gen_and_send_sb and make it type safe.
2024-05-12 22:10:07 -05:00
Amine KhaldiandGitHub c513b1b43c Remove leftover BlockRecord print in test_assert_height_pending (#17837)
Remove leftover BlockRecord print in test_assert_height_pending.
2024-05-12 22:09:31 -05:00
Arvid NorbergandGitHub 41306ad436 optimize key derivation in the wallet (#17991)
optimize key derivation in the wallet. instead of deriving the same keys for every wallet, derive the keys once and re-use them for the derived puzzle hashes per wallet
2024-05-12 22:09:01 -05:00
Kyle AltendorfandGitHub 98df4ce222 change datalayer python and logging from tree id to store id (#17864)
* change python and logging from tree id to store id

* always more

* oops

* again

* and...

* comment

* more
2024-05-10 13:45:45 -07:00
Arvid NorbergandGitHub aa576768d6 Puzzle hash optimizations (#17995)
* use the NULL_HASHTREE constant instead of re-computing the hash on the fly

* optimize puzzle hash computations by using shatree_atom() and shatree_pair() directly, rather than constructing a Program to call get_tree_hash() on.

* cache synthetic public keys and private keys

* rename NULL_TREEHASH -> NIL_TREEHASH
2024-05-10 13:45:27 -07:00
Chris MarslenderandGitHub e88d2e4b41 Add genesis challenge to get_network_info rpcs (#18000) 2024-05-09 17:07:17 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
480bba57ba build(deps-dev): bump mypy from 1.8.0 to 1.10.0 (#17984)
* build(deps-dev): bump mypy from 1.8.0 to 1.10.0

Bumps [mypy](https://github.com/python/mypy) from 1.8.0 to 1.10.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.8.0...v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* adjust

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-05-09 08:56:50 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ed44484608 build(deps-dev): bump types-pyyaml from 6.0.12.12 to 6.0.12.20240311 (#17983)
Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.12.12 to 6.0.12.20240311.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pyyaml
  dependency-type: direct:development
  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>
2024-05-09 08:56:42 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0869c53a63 build(deps): bump ejs from 3.1.9 to 3.1.10 in /build_scripts/npm_windows (#17952)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-09 08:56:34 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e685522a26 build(deps): bump ejs from 3.1.9 to 3.1.10 in /build_scripts/npm_linux (#17950)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-09 08:56:26 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3033e26d0b build(deps): bump ejs from 3.1.8 to 3.1.10 in /build_scripts/npm_macos (#17949)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.8 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.8...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-09 08:56:17 -05:00
Kyle AltendorfandGitHub 1635cf5889 remove ignore for distutils deprecation warning (#17928)
* remove ignore for distutils deprecation warning

* Update pytest.ini
2024-05-09 08:56:00 -05:00
6c25d3a184 Optimize DL autoinserts. (#17883)
* Optimize DL autoinserts.

* Lint.

* Improve tests.

* update root history references

* Stress test benchmarks.

* Try with low limit first.

* Try without -k

* Gather more data.

* Run only benchmark.

* Remove exception.

* Increase limit

* Increase limit.

* Increase timeout

* Add new benchmark.

* Increase timeout.

* Timeouts.

* Increase timeout

* Revert stress test.

* Use the correct limit

* Update test.

* Add option to disable the optimization.

* Revert optimisation in offers.

* Test all cases properly.

* Apply suggestions from code review

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

* Improve case handling.

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-05-09 08:55:51 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
26ceeae344 build(deps): bump boto3 from 1.34.46 to 1.34.100 (#17986)
Bumps [boto3](https://github.com/boto/boto3) from 1.34.46 to 1.34.100.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/boto3/compare/1.34.46...1.34.100)

---
updated-dependencies:
- dependency-name: boto3
  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>
2024-05-08 12:21:51 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
73fed80acd build(deps-dev): bump pyinstaller from 6.5.0 to 6.6.0 (#17985)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 6.5.0 to 6.6.0.
- [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/v6.5.0...v6.6.0)

---
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>
2024-05-08 12:21:44 -05:00
Kyle AltendorfandGitHub 2180c6cb9b remove ignore for 'u' format deprecation warning (#17930) 2024-05-08 06:23:39 -07:00
Amine KhaldiandGitHub 8117f5d480 Remove no longer needed softfork_fixture (#17975)
Remove no longer needed softfork_fixture.
2024-05-07 23:02:51 -05:00
Amine KhaldiandGitHub ad6e3be715 Update coins_to_offer values type in _create_offer_for_ids to avoid needlessly converting selected_coins to a set (#17973)
Update coins_to_offer values type in _create_offer_for_ids to avoid needlessly converting selected_coins to a set.
2024-05-07 23:02:42 -05:00
Earle LoweandGitHub 61e22fea87 Make sure to use no more than 61 cpus on windows (#17958)
* Make sure to use no more than 61 cpus on windows

* Type fix
2024-05-07 23:02:30 -05:00
wersfedsandGitHub 6b678168bf chore: fix two typos (#17860)
* chore: fix typo

* chore: fix typo
2024-05-07 23:01:33 -05:00
Kyle AltendorfandGitHub f8bca89510 more macos arm and intel matrixing (#17937)
* more macos arm and intel matrixing

* one more
2024-05-07 23:01:14 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
79e7e79a5a build(deps): bump filelock from 3.13.1 to 3.14.0 (#17938)
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.13.1 to 3.14.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.13.1...3.14.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>
2024-05-07 23:00:43 -05:00
Chris MarslenderandGitHub eb6b403eda Set repo content updater actions reviewers (#17987)
* Make me and Kyle (current settings) the reviewers for actions bumps

* Fix prettier complaints
2024-05-07 21:32:23 -05:00
Kyle AltendorfandGitHub c89ba2897b use ubuntu-latest for all publishing (#17964)
* use ubuntu-latest for all publishing (except windows, for now)

* move windows to ubuntu

* macos adjust

* setup python more

* c

* deal with case folding to case sensitive

* also arm

* also

* leave the c C discrepancy, but work with it

* oops

* constant timeout, less release-only code
2024-05-07 17:03:51 -05:00
Kyle AltendorfandGitHub 76419eb9da remove ignore for keyring.util deprecation warning (#17932) 2024-05-07 13:41:03 -07:00
Kyle AltendorfandGitHub adb3e42b51 remove ignore for no current event loop deprecation warning (#17929) 2024-05-07 13:40:33 -07:00
Kyle AltendorfandGitHub 2a2df631c5 remove ignore for loop argument deprecation warning (#17927) 2024-05-07 13:39:47 -07:00
Matt HauffandGitHub aefe7fdf28 Observer Mode (#17792)
* Observer Mode

* Address comments by @altendky

* Change RPC default and fix test coverage

* Add test coverage for rpc marshaller

* Fix @marshal util to return proper transactions
2024-05-07 13:39:25 -07:00
1dc157e934 bump farmer fill rate to 70% (#17954)
* bump farmer fill rate to 70%

* Adapt test_create_bundle_from_mempool_on_max_cost (#17962)

Adapt test_create_bundle_from_mempool_on_max_cost.

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-05-07 13:38:58 -07:00
Arvid NorbergandGitHub 35851e5122 optimize launcher_id_to_p2_puzzle_hash() (#17961) 2024-05-07 13:38:47 -07:00
Patrick MaslanaandGitHub f2bfdd3c64 checkpoint: into main from release/2.3.0 @ 6d5eca2cff (#17979)
Source hash: 6d5eca2cff
Remaining commits: 0
2024-05-06 14:48:54 -07:00
Amine Khaldi b03a9ae964 Merge commit '6d5eca2cffa0363863a619fba224108225533377' into checkpoint/main_from_release_2.3.0_6d5eca2cffa0363863a619fba224108225533377 2024-05-06 22:09:46 +01:00
Patrick MaslanaandGitHub b80b16c0b5 checkpoint: into main from release/2.3.0 @ 5ec1416947 (#17977)
Source hash: 5ec1416947
Remaining commits: 1
2024-05-06 12:23:41 -07:00
Amine Khaldi 0242d84c12 Merge commit '5ec14169475030d00767a821b674f76407f7f075' into checkpoint/main_from_release_2.3.0_5ec14169475030d00767a821b674f76407f7f075 2024-05-06 17:50:21 +01:00
Patrick MaslanaandGitHub 646c416622 checkpoint: into main from release/2.3.0 @ 083e4824e1 (#17970)
Source hash: 083e4824e1
Remaining commits: 2
2024-05-06 09:49:42 -07:00
Arvid NorbergandGitHub fdb87e656c drop deprecated authentication_public_key from pool config (#17959)
* introduce early exit to dedent for-loop

* remove deprecated authentication_public_key from pool-config
2024-05-04 08:22:24 -07:00
Arvid NorbergandGitHub 1661ce2e8a fix confusion between prompt and don't prompt in the plotnft CLI (#17951)
* fix confusion between prompt and don't prompt in the plotnft CLI

* use cli_confirm in plotnft CLI
2024-05-04 08:21:05 -07:00
Arvid NorbergandGitHub cb57cc848a remove unused current_inner from PoolState (#17965)
remove unused current_inner from PoolState. We generate this puzzle regularly, it's expensive, and we don't use it
2024-05-04 07:45:13 -07:00
Arvid NorbergandGitHub 40a5be3f11 add ability to profile the farmer process (#17953) 2024-05-04 07:44:11 -07:00
Amine Khaldi a97b666a80 Merge commit '083e4824e1a4a784a2c09f97554935b90f93d7b7' into checkpoint/main_from_release_2.3.0_083e4824e1a4a784a2c09f97554935b90f93d7b7 2024-05-04 11:57:09 +01:00
Arvid NorbergandGitHub a25decea32 bump timeout for publishing macOS installers to avoid timeout (#17960) 2024-05-03 11:18:13 -07:00
Patrick MaslanaandGitHub ed6e1420b2 checkpoint: into main from release/2.3.0 @ 11a2e29426 (#17966)
Source hash: 11a2e29426
Remaining commits: 3
2024-05-03 11:11:38 -07:00
Amine Khaldi 8fe2dc86b0 Merge commit '11a2e29426a42d692075fe90cf6bdc0bacecd5d3' into checkpoint/main_from_release_2.3.0_11a2e29426a42d692075fe90cf6bdc0bacecd5d3 2024-05-03 15:01:33 +01:00
Patrick MaslanaandGitHub 1cc6819cc1 checkpoint: into main from release/2.3.0 @ ddfcd77c88 (#17955)
Source hash: ddfcd77c88
Remaining commits: 4
2024-05-02 16:04:15 -07:00
Amine Khaldi 0270f68cac Merge commit 'ddfcd77c88688b1e13ecbfd361fbc45ef6ebc39d' into checkpoint/main_from_release_2.3.0_ddfcd77c88688b1e13ecbfd361fbc45ef6ebc39d 2024-05-02 17:51:58 +01:00