Commit Graph
14659 Commits
Author SHA1 Message Date
Amine Khaldi 27ce7132e0 Merge commit '866493af56d7ddf45eb185eb2950aaf8149d47de' into checkpoint/main_from_release_2.4.0_866493af56d7ddf45eb185eb2950aaf8149d47de 2024-06-14 21:38:27 +01:00
Chris MarslenderandGitHub 7353bf5940 checkpoint: into main from release/2.4.0 @ 2fe2818076 (#18182)
Source hash: 2fe2818076
Remaining commits: 1
2024-06-14 15:37:56 -05:00
Amine Khaldi e12f1e5041 Merge commit '2fe28180762ac7f3cb49d54d6b40e3245862b4e1' into checkpoint/main_from_release_2.4.0_2fe28180762ac7f3cb49d54d6b40e3245862b4e1 2024-06-14 18:12:53 +01:00
Earle LoweandGitHub 866493af56 CHIA-752 - set permissions in postinst.sh for chrome-sandbox (#18164)
* CHIA-752 - set permissions in postinst.sh for chrome-sandbox

* Add check for permissions of chrome-sandbox

* one-liner permissions check

* prettier fix

* Update build-linux-installer-deb.yml
2024-06-13 13:37:40 -05:00
Kyle AltendorfandGitHub 15a9a161da pylint disable contextmanager-generator-missing-cleanup (#18139) 2024-06-12 17:53:05 -05:00
Sebastjan TrepcaandGitHub a5be6ebd52 minor fix for make_spend function (#18131) 2024-06-12 12:16:59 -05:00
Earle LoweandGitHub 2fe2818076 Use TYPE_CHECKING to work around python 3.8 limitations with generics (#18152)
* Use TYPE_CHECKING to work around python 3.8 limitations with generics

* Add comment about 3.8 specific workaround
2024-06-12 09:46:35 -05:00
ChiaAutomationandGitHub f8bfd6363c Update Managed Files (#18149)
Update dependabot
2024-06-12 09:06:49 -05:00
66a8554211 Bump chia rs 0.10.0 (#18135)
* extend test_full_node

* bump chia_rs dependency to 0.10.0

* initialize new AGG_SIG_*_ADDITIONAL_DATA fields in ConsensusConstants. Increase end-to-end test coverage of validating message suffixes as it's moving to condition parsing

* remove validaton from pkm_pairs

* NO_RELATIVE_CONDITIONS_ON_EPHEMERAL is always enabled in chia_rs 0.10.0

* Update chia/_tests/core/full_node/test_conditions.py

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>

---------

Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2024-06-11 20:17:49 -05:00
Chris MarslenderandGitHub 78da8ac10c checkpoint: into main from release/2.4.0 @ 1e677831c1 (#18147)
Source hash: 1e677831c1
Remaining commits: 0
2024-06-11 15:05:24 -05:00
Amine KhaldiandGitHub 7b08caaa69 [CHIA-740] Annotate chia_and_cat_for_something (#18145)
Annotate chia_and_cat_for_something.
2024-06-11 13:05:14 -05:00
Kyle Altendorf 3fee057304 Merge commit '1e677831c11c99e927de97b01e59996e1a6cc08c' into checkpoint/main_from_release_2.4.0_1e677831c11c99e927de97b01e59996e1a6cc08c 2024-06-11 13:37:57 -04:00
Amine KhaldiandGitHub 387619b1f5 CHIA-619 Annotate test_trades.py (#17447)
Annotate test_trades.py.
2024-06-11 09:08:31 -05:00
Izumi HoshinoandGitHub 1e677831c1 Aligned lerna and nx versions (#18121)
* Updated GUI submodule ref

* Aligned `lerna` and `nx` versions

* Ignored .nx/cache

* Applied `npm audit fix`

* Updated `npm_windows/package-lock.json`

* Updated `npm_linux/package-lock.json`
2024-06-09 00:27:45 +01:00
Amine KhaldiandGitHub 9ea4609618 CHIA-684 Simplify and speedup test_double_spend_with_higher_fee (#18120)
Simplify and speedup test_double_spend_with_higher_fee.
2024-06-09 00:27:11 +01:00
Kyle AltendorfandGitHub c78d974825 tidy data store (#18111)
* tidy data store

* more
2024-06-09 00:27:00 +01:00
Florin ChiricaandGitHub 9b7bb246cb CHIA-645 Optimize build ancestors table. (#18100)
* Optimize build ancestors table.

* Update data_store.py

* Add test

* Lint

* Lint

* Lint

* Simplify query

* Add test for sparse ancestor table.

* Lint.

* Lint.

* Lint.

* Update test_data_store.py

* Fix test.
2024-06-09 00:26:48 +01:00
Arvid NorbergandGitHub f9375a68fa [CHIA-615] Rust BLS cache (#18085)
use the rust port of the BLS cache
2024-06-09 00:26:27 +01:00
Kyle AltendorfandGitHub 898c659094 CHIA-672 common version picking job for builds (#18077)
* common version picking job for macOS

* as reusable workflow

* fixup

* fixup

* all

* SETUPTOOLS_SCM_PRETEND_VERSION_FOR_chia-blockchain

* macos needs version for publish too

* SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CHIA_BLOCKCHAIN
2024-06-09 00:26:16 +01:00
Arvid NorbergandGitHub a745cb0344 CHIA-603: drop support for testnet10 (#18075)
* clean up some code kept around just to support testnet10

* remove configs and overrides for unsupported testnets
2024-06-09 00:25:09 +01:00
wjblankeandGitHub 4f0fc83006 updated gui to a963572cad5ca5f0265a163d834e534e903bdd9c (#18129)
### Purpose:

Pin to gui main

### Current Behavior:

Pinned to older hash

### New Behavior:

Pinned to main

### Testing Notes:

n/a
2.4.0-rc1
2024-06-06 12:35:33 -07:00
wjblankeandGitHub ea31ac1edd CHIA-685 Remove homebrew rpaths from _ssl.cpython.so on macOS during build (#18101)
Removes rpath load commands from `_ssl.cpython-*.so` which are sometimes
added on Apple M-series CPUs, prefer bundled dynamic libraries for which
there is an rpath added already as `@loader_path/..` -- however, the
homebrew rpaths appear with higher precedence, potentially causing
issues.

See: #18099
2024-06-06 10:57:42 -07:00
William Blanke 56ce9cfd05 updated gui to a963572cad5ca5f0265a163d834e534e903bdd9c 2024-06-06 09:30:07 -07:00
Earle LoweandGitHub bc5dd010ef Simplify otool check 2024-06-06 08:20:05 -07:00
RigidityandGitHub de75f058dd CHIA-194: CHIP-0026 Mempool Updates (#17980)
* Initial draft of mempool updates [skip ci]

* More implementation work, but capability issue [skip ci]

* Temp (will probably revert)

* Get first test passing

* Setup spent coin tests

* Add unrelated test data to make tests better

* Refactor test

* Finish testing

* Update tests

* Include removal reason and block inclusion tests

* Remove unnecessary dict

* Add missing message to test

* Fix after rebase

* Broadcast support from node for mempool updates

* Remove redundant code

* Use new_block

* Filter and early return suggestions

* Reword comments on PeakPostProcessingResult

* Improve mempool fn name and doc comment

* Bump wallet protocol version

* Add ratelimits

* Add tests for querying mempool items

* Asserts and more tests

* Add peers for spend bundle tests
2024-06-06 10:59:44 +01:00
RigidityandGitHub ee024b8736 CHIA-437: Add coin id index to coin state batching (#18052)
Add coin id index to coin state batching
2024-06-05 12:32:47 +01:00
Kyle AltendorfandGitHub a37ad22e11 introduce ComparableEnum for tests (#18108) 2024-06-05 11:02:19 +01:00
Earle LoweandGitHub 78b3434b16 Workaround missing grep option 2024-06-04 16:27:03 -07:00
Earle Lowe 5028cccddb Add otool test for homebrew rpath 2024-06-04 12:14:09 -07:00
Kyle Altendorf b69d91d439 Merge branch 'main' into merkle_blob 2024-06-04 14:39:40 -04:00
Earle Lowe 3267415324 Merge remote-tracking branch 'origin/main' into hb.remove-brew-rpaths 2024-06-04 11:20:58 -07:00
Almog De PazandGitHub 6354ea3ae7 CHIA-211 better return paths, more logs (#17974)
* better return paths, more logs

* remove fstrings

* fix condition

* betetr condition
2024-06-04 17:37:33 +01:00
Amine KhaldiandGitHub 5f2b1c20dd CHIA-620 Construct the solution as a serialized program in spend_bundle_from_conditions (#18088)
Construct the solution as a serialized program in spend_bundle_from_conditions.
2024-06-04 17:35:50 +01:00
Florin ChiricaandGitHub 81838c1892 CHIA-582 Use kv compressed in DL batch update (#18032)
* Use kv compressed in DL batch update

* Mypy.

* Lint.

* Lint

* Lint.

* Retrieve only keys.

* Lint.

* Address review comments.

* Lint.

* Increase timeout

* Revert
2024-06-04 17:02:44 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41aded30e7 build(deps-dev): bump coverage from 7.4.3 to 7.5.3 (#18091)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.3 to 7.5.3.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.3...7.5.3)

---
updated-dependencies:
- dependency-name: coverage
  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-06-04 17:02:27 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
253a97c9f3 build(deps-dev): bump types-setuptools from 69.1.0.20240310 to 70.0.0.20240524 (#18093)
build(deps-dev): bump types-setuptools

Bumps [types-setuptools](https://github.com/python/typeshed) from 69.1.0.20240310 to 70.0.0.20240524.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-setuptools
  dependency-type: direct:development
  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-06-04 17:02:18 +01:00
RigidityandGitHub a9e8e4b91a CHIA-623: Split capabilities for each service (#18096)
* Move capabilities underneath Capability

* Split default capabilities for each service

* Make get_capabilities take in node_type

* Remove optionality

* Refactor get_capability_overrides
2024-06-04 17:01:59 +01:00
Earle Lowe 2835a5d9ae superlinter shellcheck 2024-06-03 14:59:56 -07:00
Earle Lowe cbe7624497 Fixup linting for shell scripts 2024-06-03 14:34:38 -07:00
Kyle AltendorfandGitHub e8d2710c40 add installed test for chia init and fix importlib_resources uses (#18102)
* add installed test for `chia init`

* `.rpartition(".")[0]`
2024-06-03 12:21:26 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
b31806bca1 build(deps-dev): bump pylint from 3.1.0 to 3.2.2 (#18019)
* build(deps-dev): bump pylint from 3.1.0 to 3.2.0

Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.1.0...v3.2.0)

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

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

* clean up some

* more

* pylint==3.2.2

* a few left

* ignore a few

---------

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-06-03 12:21:09 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
587b94b4dc build(deps-dev): bump twine from 5.0.0 to 5.1.0 (#18057)
---
updated-dependencies:
- dependency-name: twine
  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-06-03 12:20:53 -05:00
Kyle AltendorfandGitHub a9bf798d1a pyinstaller==6.7.0 (#18060) 2024-06-03 12:20:41 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5b027e4b2e build(deps): bump boto3 from 1.34.100 to 1.34.114 (#18092)
Bumps [boto3](https://github.com/boto/boto3) from 1.34.100 to 1.34.114.
- [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.100...1.34.114)

---
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-06-03 12:20:19 -05:00
Arvid NorbergandGitHub 605e3b8982 [CHIA-615] make BLSCache a proper class (#18053)
* make BlsCache a proper class, rather than a global dict with helper functions

* make the BLS cache a member of the FullNode, rather than a global variable

* add test for BAD_AGGREGATE_SIGNATURE when using the BLS cache
2024-05-31 13:57:20 -05:00
Harold Brenes 84b2d68b64 Remove homebrew rpaths from _ssl.cpython.so on macOS during build. 2024-05-30 18:29:18 -04:00
Arvid NorbergandGitHub a83b240197 CHIA-595: Soft fork 5 (#18072)
* introduce soft-fork-5

* unit test for infinity G1 points
2024-05-30 14:39:31 -05:00
Amine KhaldiandGitHub a473d502b9 CHIA-616 Annotate test_blockchain.py (#18021)
Annotate test_blockchain.py.
2024-05-30 09:29:55 -05:00
Chris MarslenderandGitHub dafd8b41d9 Add optional trusted CIDR list (#18094)
* trusted_cidr list

* Tests for trusted cidrs

* only check IPs

* Fixing lint
2024-05-29 13:45:59 -05:00
Arvid NorbergandGitHub b241d2659a simplify mempool coin spends (#18095) 2024-05-29 11:40:53 -05:00