Commit Graph
14659 Commits
Author SHA1 Message Date
Patrick MaslanaandGitHub 972da35e2c checkpoint: into main from release/2.3.0 @ 861280f08c (#17948)
Source hash: 861280f08c
Remaining commits: 5
2024-05-02 09:25:35 -07:00
Kyle AltendorfandGitHub 8cedf541fe expand matrices to include ubuntu 24.04 noble numbat (#17934)
expand matrices to include ubuntu 22.04 noble numbat
2024-05-02 09:25:04 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
a4d8a769c9 build(deps): bump github/super-linter from 5 to 6 (#17906)
* build(deps): bump github/super-linter from 5 to 6

Bumps [github/super-linter](https://github.com/github/super-linter) from 5 to 6.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/super-linter/compare/v5...v6)

---
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>

* fetch-depth: 0

---------

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-02 09:24:32 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
71c755a484 build(deps-dev): bump pytest-cov from 4.1.0 to 5.0.0 (#17905)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 5.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  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-05-02 09:23:49 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a5f3e2d3e8 build(deps-dev): bump pyupgrade from 3.15.0 to 3.15.2 (#17904)
Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.15.0 to 3.15.2.
- [Commits](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.2)

---
updated-dependencies:
- dependency-name: pyupgrade
  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-02 09:23:36 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
75e3c178e4 build(deps-dev): bump pre-commit from 3.6.2 to 3.7.0 (#17903)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.6.2 to 3.7.0.
- [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.6.2...v3.7.0)

---
updated-dependencies:
- dependency-name: pre-commit
  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-02 09:23:24 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d6601e3fe0 build(deps): bump aiohttp from 3.9.2 to 3.9.4 (#17890)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.2 to 3.9.4.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.2...v3.9.4)

---
updated-dependencies:
- dependency-name: aiohttp
  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-02 09:23:12 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9beb6a81d4 build(deps-dev): bump diff-cover from 8.0.3 to 9.0.0 (#17876)
Bumps [diff-cover](https://github.com/Bachmann1234/diff-cover) from 8.0.3 to 9.0.0.
- [Release notes](https://github.com/Bachmann1234/diff-cover/releases)
- [Changelog](https://github.com/Bachmann1234/diff_cover/blob/main/CHANGELOG)
- [Commits](https://github.com/Bachmann1234/diff-cover/compare/v8.0.3...v9.0.0)

---
updated-dependencies:
- dependency-name: diff-cover
  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-05-02 09:22:52 -07:00
Earle LoweandGitHub efde01f9ec Use python 3.11 for Arch install tests (#17947)
Update test-install-scripts.yml
2024-05-02 09:22:10 -07:00
Amine Khaldi 1a69bd2927 Merge commit '861280f08c801138762d5fae8402b5311fdd649a' into checkpoint/main_from_release_2.3.0_861280f08c801138762d5fae8402b5311fdd649a 2024-05-01 22:35:53 +01:00
Patrick MaslanaandGitHub 89c9f16741 checkpoint: into main from release/2.3.0 @ f4d2d31646 (#17946)
Source hash: f4d2d31646
Remaining commits: 5
2024-05-01 13:49:00 -07:00
Earle LoweandGitHub 6d5eca2cff Correct version numbers for dependant packages and add known issue (#17943)
* Correct version numbers for dependant packages

* Include versions updates to dependant packages

* Added known issues
2024-05-01 13:11:29 -07:00
Amine Khaldi bfb5301044 Merge commit 'f4d2d31646611ebc46abf2d096d94156d8fdaee1' into checkpoint/main_from_release_2.3.0_f4d2d31646611ebc46abf2d096d94156d8fdaee1 2024-05-01 21:02:01 +01:00
Patrick MaslanaandGitHub d40d74879d checkpoint: into main from release/2.3.0 @ 71fcbf50b6 (#17945)
Source hash: 71fcbf50b6
Remaining commits: 6
2024-05-01 13:00:33 -07:00
Amine Khaldi 021beb7856 Merge commit '71fcbf50b60077e01b55918d29de5020b3282bfd' into checkpoint/main_from_release_2.3.0_71fcbf50b60077e01b55918d29de5020b3282bfd 2024-05-01 19:34:39 +01:00
7163640cdf checkpoint: into main from release/2.3.0 @ 71fcbf50b6 (#17920)
* Updated the GUI submodule ref (#17862)

* Use the GUI checkpoint anchor.

---------

Co-authored-by: Izumi Hoshino <admin@chiamine.jp>
2024-05-01 11:29:05 -07:00
RigidityandGitHub 7fa27cbad5 Filter out duplicate coins returned by RequestPuzzleState (#17941) 2024-05-01 07:23:18 -07:00
Earle LoweandGitHub 5ec1416947 Update changelog for 2.3.0 (#17940)
2.3.0 Changelog
2.3.0
2024-05-01 07:21:54 -07:00
Patrick MaslanaandGitHub ca897f149a Fix memo plotid (#17856)
* Convert hex to a string for memo and plotid

* Create a check for converting bytes to a string and remove the 32 bytes check for memo and plotid args in create_plots.py

* Return the args.plotid bytes32.fromhex(plot_str) instead of bytes.fromhex(plot_str)

* Remove debugging print that was used to print out the type

* Fix invalid type annotation

* Start using bytes32 for the type to prevent errors

* Change bytes32 to bytes
2024-04-30 15:23:00 -07:00
Kyle AltendorfandGitHub e979ed1b30 improve legibility of matrix mode selection (#17924)
* to multiple lines

* regroup
2024-04-30 09:48:53 -07:00
Arvid NorbergandGitHub 6360ac078a add test for replace_str_to_bytes (#17922)
add test for replace_str_to_bytes
2024-04-30 09:47:36 -07:00
Chris MarslenderandGitHub 083e4824e1 Update gui pin to latest release/2.3.0 @ 34d2fdd25545e73e4578200de8cbaa6396f87ab3 (#17935) 2.3.0-rc4 2024-04-29 20:43:44 -07:00
Earle LoweandGitHub 11a2e29426 Change macos-latest to macos-12 in runners (#17936)
force use of macos-12
2024-04-29 18:30:14 -07:00
Amine KhaldiandGitHub a963d75f25 Remove unused assert_sb_in_pool and inline assert_sb_not_in_pool as it's used only once (#17926)
Remove unused assert_sb_in_pool and inline assert_sb_not_in_pool as it's used only once.
2024-04-29 13:13:04 -07:00
matt-o-howandGitHub bed6ec7055 Use Rust version of MerkleSet (#17908)
* drop in merkle set from rust

* add test of non-inclusion

* migrate sync_utils to use chia_rs

* remove unused import

* flake8 fixes

* mypy fix

* more lint fixes

* isort

* remove old merkle_set.py

* make test proof of exlcusion more explicit

* covnert test_merkle_set to use chia_rs MerkleSet

* isort again
2024-04-29 11:05:32 -07:00
Kyle AltendorfandGitHub abb0b04142 move shfmt execution from the super linter to pre-commit (#17913)
* move shfmt execution from the super linter to pre-commit

* actually apply...
2024-04-29 09:03:10 -07:00
Patrick MaslanaandGitHub 87a5d24e34 checkpoint: into main from release/2.3.0 @ cfa218dd82 (#17895)
Source hash: cfa218dd82
Remaining commits: 1
2024-04-26 08:09:14 -07:00
Amine KhaldiandGitHub d9612ba0e3 Use txs values in test_add_eviction (#17910)
Use txs values in test_add_eviction.
2024-04-26 08:08:28 -07:00
Kyle AltendorfandGitHub 93d5fd3723 add dispatch options for test workflow (#17818)
* inputs.build-job-matrix-arguments

* selectable os

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* debug

* empty

* empty

* maybe
2024-04-26 08:07:58 -07:00
Arvid NorbergandGitHub 603910578d remove unnecessary function, dataclass_to_json_dict() (#17917) 2024-04-26 08:07:20 -07:00
Arvid NorbergandGitHub 47fddc54d6 introduce early continue/exit to reduce the indentation level (#17918) 2024-04-26 08:07:02 -07:00
8eb41c59d7 bump chia_rs to 0.7.0 (#17909)
* bump chia_rs to 0.7.0 and transition using sized ints and sized bytes from chia_rs

* transition StructStream to use the version from chia_rs

* Initial port of ConsensusConstants to Rust

* Revert max cost calculation to use int for now

* Remove SizedBytes, since it was moved to chia_rs

* Remove test_struct_stream, since it was moved to chia_rs

* use [0] * 100 instead of bytes(100)

* restore wallet_rpc_api, and make type hints match JsonDict (Any)

* fixup ConsensusConstants; restore return value of calculate_prefix_bits()

* fixup ConsensusConstants; construct int for intermedate cost values

* fixup ConsensusConstants; construct int for intermedate cost values

* fixup: transition StructStream to use the version from chia_rs

* revert changing type annotations for json dict

---------

Co-authored-by: Rigidity <me@rigidnetwork.com>
2024-04-26 08:06:25 -07:00
80880bfa71 DL Multistore batch update. (#17806)
* Multistore batch update.

* Lint

* Lint.

* Add test.

* Update data_layer_rpc_api.py

* Read from 'transactions' instead of 'tx_records'

* Fix test.

* Improve coverage.

* Submit all pending roots.

* Lint.

* Revert debug change.

* Add fee.

* Fix fee test.

* Update chia/cmds/data_funcs.py

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

* Address review comments.

* Lint.

* Refactor RPC.

* Apply suggestions from code review

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

* Improve coverage

* Lint

* Update data_layer_rpc_api.py

---------

Co-authored-by: Matt <quexington@gmail.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-04-26 08:05:30 -07:00
Izumi HoshinoandGitHub ddfcd77c88 Updated the GUI submodule ref (#17914) 2.3.0-rc3 2024-04-24 14:49:42 -07:00
Matt HauffandGitHub 6c1579c414 Do not return unexpected coins from get_coin_state (#17850)
* Do not return unexpected coins from get_coin_state

* Add test

* Add no cover comment

* Ban instead of skipping

* Do better

* Better exception message
2024-04-24 14:37:16 -07:00
Earle LoweandGitHub c04cd66b15 Skip problem test_every_simulator_command (#17898)
Skip problem
2024-04-24 14:13:54 -07:00
Matt HauffandGitHub 1821d6b575 Add new command class framework for easier testing (#17851)
* Add new command class framework for easier testing

* Add better test coverage

* Surface exception message

* textwrap.dedent

* remove unnecessary list

* Remove type check

* helper attribute variable name

* Rename helper attribute

* Simplify and statement

* Do some de-nesting

* Take default suggestion

* Add a __call__ method to the command parser

* subclass -> member

* Remove requirement that requied=False on optionals

* remove useless is_command_option

* Use global 'register' for special types

* Use a class for metadata optiona args

* Revert option args to class
2024-04-23 18:09:09 -07:00
Arvid NorbergandGitHub 861280f08c push out soft-fork 4 activation point to 5716000 (#17892)
push out soft-fork 4 activation point to 5716000 since the 2.3.0 release is slipping
2024-04-22 12:25:19 -07:00
Kyle AltendorfandGitHub 698455ee7e update example.net IPs (main) (#17897) 2024-04-19 15:46:15 -05:00
Kyle AltendorfandGitHub f4d2d31646 update example.net IPs (release/2.3.0) (#17894)
* update `example.net` ip to `93.184.215.14`

* and v6
2024-04-19 12:45:18 -07:00
Amine Khaldi c4f0cc742b Merge commit 'cfa218dd8288945a454da3f56ed03356d45a43a6' into checkpoint/main_from_release_2.3.0_cfa218dd8288945a454da3f56ed03356d45a43a6 2024-04-19 16:43:05 +01:00
Patrick MaslanaandGitHub f77ca017a7 checkpoint: into main from release/2.3.0 @ 8b6f761791 (#17891)
Source hash: 8b6f761791
Remaining commits: 2
2024-04-19 08:41:41 -07:00
Amine Khaldi f57d538795 Merge commit '8b6f76179109838efc844e3fb51dc5e08c86aba8' into checkpoint/main_from_release_2.3.0_8b6f76179109838efc844e3fb51dc5e08c86aba8 2024-04-18 22:29:10 +01:00
Patrick MaslanaandGitHub b3f1f0229c checkpoint: into main from release/2.3.0 @ 9da7fd2980 (#17888)
Source hash: 9da7fd2980
Remaining commits: 1
2024-04-18 14:27:23 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2c262f8085 build(deps): bump chiabip158 from 1.4 to 1.5.1 (#17879)
Bumps [chiabip158](https://github.com/Chia-Network/chiabip158) from 1.4 to 1.5.1.
- [Release notes](https://github.com/Chia-Network/chiabip158/releases)
- [Commits](https://github.com/Chia-Network/chiabip158/compare/1.4...1.5.1)

---
updated-dependencies:
- dependency-name: chiabip158
  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-04-18 14:26:54 -07:00
Amine KhaldiandGitHub 960274899e Move SimulatorFullNodeService type alias to start_simulator (#17875)
Move SimulatorFullNodeService type alias to start_simulator.
2024-04-18 14:26:36 -07:00
Izumi HoshinoandGitHub 71fcbf50b6 Updated the GUI submodule ref (#17862) 2024-04-18 14:25:53 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6b870bb21c build(deps): bump typing-extensions from 4.10.0 to 4.11.0 (#17878)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.10.0...4.11.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  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-04-17 12:22:15 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d8af3f954f build(deps-dev): bump pylint from 3.0.3 to 3.1.0 (#17877)
Bumps [pylint](https://github.com/pylint-dev/pylint) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.0.3...v3.1.0)

---
updated-dependencies:
- dependency-name: pylint
  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-04-17 12:22:02 -07:00
Izumi HoshinoandGitHub cfa218dd82 Added --skip-keyring option to chia start xxx command (#17857)
* Added `--skip-keyring` option to `chia start daemon` command

* Fixed a lint error and adopted review comments

* Fixed a lint error

* Fixed a test

* Fixed a test

* Added mocks to test

* Fixed a test

* Removed `bt: BlockTools` from the test case because it seemed to cause config file dead lock

* Removed unused mock method

* Set `parallel=False` to chia/_tests/cmds/config.py

* Set `parallel=False` to chia/_tests/core/util/config.py

* Added missing coverage

* Fixed mypy error
2024-04-17 10:02:42 -07:00