Commit Graph
12620 Commits
Author SHA1 Message Date
Kyle Altendorf 1e293a9255 temporarily exclude focal and jammy installer script testing on arm (#18031)
noble was already fixed upstream
2024-05-16 10:37:00 -05:00
dependabot[bot] 798253e376 build(deps-dev): bump lxml from 5.1.0 to 5.2.2 (#18017)
Bumps [lxml](https://github.com/lxml/lxml) from 5.1.0 to 5.2.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.1.0...lxml-5.2.2)

---
updated-dependencies:
- dependency-name: lxml
  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-16 09:27:19 -05:00
dependabot[bot] 1fafea378d build(deps): bump packaging from 23.2 to 24.0 (#18014)
Bumps [packaging](https://github.com/pypa/packaging) from 23.2 to 24.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/23.2...24.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>
2024-05-16 09:27:11 -05:00
dependabot[bot] 2b2d175f3e build(deps): bump Apple-Actions/import-codesign-certs from 2 to 3 (#18012)
Bumps [Apple-Actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs) from 2 to 3.
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases)
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/v2...v3)

---
updated-dependencies:
- dependency-name: Apple-Actions/import-codesign-certs
  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>
2024-05-16 09:27:03 -05:00
dependabot[bot] 216de5211a build(deps): bump tar and lerna in /build_scripts/npm_macos (#18008)
Bumps [tar](https://github.com/isaacs/node-tar) to 6.2.1 and updates ancestor dependency [lerna](https://github.com/lerna/lerna/tree/HEAD/packages/lerna). These dependencies need to be updated together.


Updates `tar` from 6.1.15 to 6.2.1
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.1)

Updates `lerna` from 7.1.3 to 8.1.3
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/packages/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v8.1.3/packages/lerna)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
- dependency-name: lerna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 09:26:37 -05:00
Florin Chirica b7e8fe7d93 [CHIA-387] DL batch upsert optimization. (#17999)
* DL batch upsert optimization.

* Lint

* Lint

* Fix test.

* Convert delete/insert to upserts.

* Update data_store.py

* Improve coverage.

* Whitespace.

* Change test to use upsert too.

* Clarify test usage.
2024-05-16 09:25:43 -05:00
Matt Hauff d868d9c43f [CHIA-292] Modify VerifiedCredential.launch to handle multiple source coins (#17982)
Modify VerifiedCredential.launch to handle multiple source coins
2024-05-16 09:25:29 -05:00
dependabot[bot] a54e4d040f build(deps-dev): bump pytest-xdist from 3.5.0 to 3.6.1 (#18018)
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.5.0...v3.6.1)

---
updated-dependencies:
- dependency-name: pytest-xdist
  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-15 09:53:59 -05:00
dependabot[bot] 9773ebc277 build(deps-dev): bump black from 24.2.0 to 24.4.2 (#18016)
Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.4.2.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.2.0...24.4.2)

---
updated-dependencies:
- dependency-name: black
  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-15 09:53:45 -05:00
dependabot[bot] bbca1dbca0 build(deps-dev): bump pre-commit from 3.7.0 to 3.7.1 (#18015)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.7.0...v3.7.1)

---
updated-dependencies:
- dependency-name: pre-commit
  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-15 09:53:36 -05:00
Matt Hauff 44c6b44c46 [CHIA-302] Handle reorgs in data layer wallet (#17992)
* Handle reorgs in data layer wallet

* Update WalletNode.reset_sync_db

* Fix test

* Make new tables easily forwards compatible

* Use singleton_records table instead of launcher_confirmations

* Only select launcher_id
2024-05-15 09:52:34 -05:00
Kyle Altendorf 73a7cb4687 CHIA-420 remove ignore for pkg_resources deprecation warning (#17933)
* remove ignore for `pkg_resources` deprecation warning

* replace pkg_resources usages

* fixup

* fixup

* fixup

* a couple

* imports

* cleanup

* maybe
2024-05-15 09:52:22 -05:00
Earle Lowe 2cb3741c50 Adjust farmer service SSL tests for increased reliability (#17921)
* Trying some SSL hacks for tests

* Some tweaks

* more hacks

* more hacks

* Using caplog for SSL verification failed check

* linting fixes

* Some additional tweaks to get it working on all platforms

* Added comments

* Separate into 3 tests

* Ignore coverage for calling the old exception handler

* Adjustments from code review
2024-05-15 09:52:11 -05:00
Kyle Altendorf bd3a638db1 fix macos installer test matrix (#18005) 2024-05-13 16:20:06 -05:00
Amine Khaldi 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 Khaldi 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 Khaldi 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 Khaldi 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 Norberg 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 Altendorf 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 Norberg 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 Marslender e88d2e4b41 Add genesis challenge to get_network_info rpcs (#18000) 2024-05-09 17:07:17 -07:00
dependabot[bot]andKyle 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] 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] 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] 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] 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 Altendorf 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
Florin ChiricaandKyle Altendorf 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] 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] 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 Altendorf 2180c6cb9b remove ignore for 'u' format deprecation warning (#17930) 2024-05-08 06:23:39 -07:00
Amine Khaldi 8117f5d480 Remove no longer needed softfork_fixture (#17975)
Remove no longer needed softfork_fixture.
2024-05-07 23:02:51 -05:00
Amine Khaldi 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 Lowe 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
wersfeds 6b678168bf chore: fix two typos (#17860)
* chore: fix typo

* chore: fix typo
2024-05-07 23:01:33 -05:00
Kyle Altendorf 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] 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 Marslender 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 Altendorf 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 Altendorf 76419eb9da remove ignore for keyring.util deprecation warning (#17932) 2024-05-07 13:41:03 -07:00
Kyle Altendorf adb3e42b51 remove ignore for no current event loop deprecation warning (#17929) 2024-05-07 13:40:33 -07:00
Kyle Altendorf 2a2df631c5 remove ignore for loop argument deprecation warning (#17927) 2024-05-07 13:39:47 -07:00
Matt Hauff 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
Arvid NorbergandAmine Khaldi 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 Norberg 35851e5122 optimize launcher_id_to_p2_puzzle_hash() (#17961) 2024-05-07 13:38:47 -07:00
Patrick Maslana 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 Maslana 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