Commit Graph
14659 Commits
Author SHA1 Message Date
Kyle AltendorfandGitHub bee296a6d2 build both sdist and wheel for upload to pypi (#18356) 2024-07-29 12:30:17 -07:00
Kyle AltendorfandGitHub 740282a636 add poetry check ... well, check (#18357)
* add poetry check ...  well, check

* add poetry check to pre-commit

* touchup

* Update activated.sh

* Update activated.ps1
2024-07-29 12:30:05 -07:00
Matt HauffandGitHub 2c2b0f4e1a [CHIA-1032] Add a config slot in action scopes and use it for wallets (#18365)
* Add a config slot in action scopes and use it for wallets

* Simplify tx_endpoint a bit

* pylint
2024-07-29 11:24:06 -07:00
1c1e030e1e refactor new_peak_timelord (#16881)
* refactor new_peak_timelord

* fix test

* improve test assertions

* lint

* return after skipping peak

* improve comments

* limit condition to a diff of one block

* remove log

* refactor test

* better conditions
consider overflows as well

* pre commit

* test with overflow

* add test for EOS case

* lint

* comment

* prefer lower iterations peaks

* test full node receiving same weight lower iterations

* lint

* fix reorg test, lint

* fix block tools bug

* use signage point param in test

* use signage point param for overflows as well

* remove unused case

* fix block_tools condition

* lint

* lint

* Add check for peak not none in test

---------

Co-authored-by: Earle Lowe <e.lowe@chia.net>
2024-07-29 11:23:39 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
904d905215 build(deps): bump cryptography from 42.0.8 to 43.0.0 (#18353)
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.8 to 43.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.8...43.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  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-07-29 11:23:17 -07:00
Kyle AltendorfandGitHub 18438883f1 move poetry plugin installation to poetry setup scripts (#18360) 2024-07-25 15:31:35 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bb3cb3eca7 build(deps): bump setuptools from 70.0.0 to 71.1.0 (#18348)
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.0.0 to 71.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v70.0.0...v71.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  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-07-25 10:55:46 -07:00
ClydeWallace22andGitHub 54ff8ba7a1 update link for chia guide during install (#18358) 2024-07-24 12:03:27 -07:00
628b9c37a7 Remove dangling reference to twine (#18325)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-07-24 10:43:02 -07:00
Earle LoweandGitHub 65e888f245 CHIA-590: Add in connect timeout to DL http download (#18339)
* Add in connect timeout to DL http download

* Update mock function

* Consolidate to using aiohttp.ClientTimeout

* Revert "Consolidate to using aiohttp.ClientTimeout"

This reverts commit db3e77c101.

* Consolidate to using aiohttp.ClientTimeout

* Fix up default value with proper use of default_factory
2024-07-24 10:32:42 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41ce8e1fa7 build(deps): bump keyring from 25.1.0 to 25.2.1 (#18323)
Bumps [keyring](https://github.com/jaraco/keyring) from 25.1.0 to 25.2.1.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v25.1.0...v25.2.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>
2024-07-23 08:58:41 -07:00
Adam KellyandGitHub 5462631d99 CHIA-942 Use launcher_id as the primary key when updating (current) pool config. (#18341)
Use launcher_id as the primary key when updating (current) pool config.
Add an error diagnostic for the case where updating fails due to the supplied closure.
2024-07-22 12:30:54 -07:00
Kyle AltendorfandGitHub d57329d9c4 more variable quoting in setup-poetry.sh (#18328) 2024-07-22 08:54:59 -07:00
Kyle AltendorfandGitHub 4003f399c2 disable keyring for poetry (#18342)
* disable keyring for poetry

* Update poetry.toml
2024-07-22 08:54:43 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
444bec606d build(deps): bump aiofiles from 23.2.1 to 24.1.0 (#18317)
Bumps [aiofiles](https://github.com/Tinche/aiofiles) from 23.2.1 to 24.1.0.
- [Release notes](https://github.com/Tinche/aiofiles/releases)
- [Commits](https://github.com/Tinche/aiofiles/compare/v23.2.1...v24.1.0)

---
updated-dependencies:
- dependency-name: aiofiles
  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-07-18 14:35:15 -07:00
Kyle AltendorfandGitHub 5ec2b54399 only upload torrent for gui installers (#18338)
https://github.com/Chia-Network/chia-blockchain/actions/runs/9995431619/job/27628175412
2.4.3-b2
2024-07-18 13:08:02 -07:00
Kyle AltendorfandGitHub a7ad644c5a friendly name for installer publishing jobs (#18336) 2.4.3-b1 2024-07-18 09:39:51 -07:00
Kyle AltendorfandGitHub a9ad2aceb7 consistently use concurrency-name (including correcting errors) (#18335) 2024-07-18 09:39:40 -07:00
Matt HauffandGitHub 8fcfd20d88 [CHIA-958] In cmd class framework: help -> short_help (#18334)
help -> short_help
2024-07-18 09:39:29 -07:00
Matt HauffandGitHub a44d4e15ca [CHIA-959] Conform to CHIP-0029 (#18333)
* Conform to CHIP-0029

* fix test
2024-07-18 09:39:14 -07:00
Kyle AltendorfandGitHub 812cea3a21 correct secret passing to new reflow-publish-installer (#18331) 2024-07-17 13:51:22 -07:00
Kyle AltendorfandGitHub 3983600165 publish torrent for prereleases as well as full releases (#18332)
* publish torrent for prereleases as well as full releases

* Update reflow-publish-installer.yml
2024-07-17 13:51:10 -07:00
Chris MarslenderandGitHub b14d912d3c Crawler Loop Fix + Test Improvements (#18329)
* Change a bunch of info logs back to warning in crawler, since crawlers are typically run in warning mode, to avoid the info log connection spam

* Ensure that the crawler loop ONLY doesn't start when in tests

* Rename the crawler service to crawler_service_no_loop, so defaults can also be tested WITH a loop

* Test crawler loop modes

* Add message when we received state chaged callback

* Add log to indicate crawling has started and how many peers we're crawling
2024-07-17 12:17:42 -07:00
Matt HauffandGitHub 055588914e [CHIA-714] Add usage of action scope throughout wallet codebase (#18128)
* Add the concept of 'action scopes'

* Add `WalletActionScope`

* Fix CATWallet pending_change calculation

* Add action_scope: WalletActionScope to all tx endpoints

* Add usage of action scope throughout wallet codebase

* Add the concept of 'action scopes'

* pylint and test coverage

* add try/finally

* add try/except

* Undo giving a variable a name

* Fix CRCAT test

* Fix trade tests

* Fix cat test

* Fix miscellaneous test

* Fix miscellaneous test

* Fix miscellaneous test

* pylint

* Add auto claim test coverage

* Take advantage of extra_spends

* Fix tests

* test fixes

* pylint
2024-07-17 12:17:16 -07:00
Chris MarslenderandGitHub f48660c7be Add testneta to initial config (#18324) 2024-07-17 12:16:42 -07:00
Matt HauffandGitHub 4ffb6dfa6f [CHIA-713] Add action_scope: WalletActionScope to all tx endpoints (#18127)
* Add the concept of 'action scopes'

* Add `WalletActionScope`

* Fix CATWallet pending_change calculation

* Add action_scope: WalletActionScope to all tx endpoints

* Add the concept of 'action scopes'

* pylint and test coverage

* add try/finally

* add try/except

* Undo giving a variable a name

* Fix CRCAT test

* Fix trade tests

* Fix cat test

* Fix miscellaneous test

* Fix miscellaneous test

* Fix miscellaneous test

* Add auto claim test coverage
2024-07-16 11:06:01 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0ef148eeee build(deps): bump clvm-tools-rs from 0.1.40 to 0.1.43 (#18162)
Bumps [clvm-tools-rs](https://github.com/Chia-Network/clvm_tools_rs) from 0.1.40 to 0.1.43.
- [Release notes](https://github.com/Chia-Network/clvm_tools_rs/releases)
- [Changelog](https://github.com/Chia-Network/clvm_tools_rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Chia-Network/clvm_tools_rs/compare/0.1.40...0.1.43)

---
updated-dependencies:
- dependency-name: clvm-tools-rs
  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-07-16 11:05:48 -07:00
a4da91a86d Changed: Enhance DataLayer Plugin Registration System for Improved Third-Party Integration (#17711)
* feat: load plugins from file

* feat: add tests

* feat: add file based datalayr plugin support

* fix: isort

* match mozilla-ca repo with main

* chore: fix linting

* add additional test coverage

* Update chia/util/misc.py

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

* move utility to datalayer folder

* fix lint

* use PluginRemote schema

* remove check

* remove check

* Update chia/data_layer/util/plugin.py

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

* load plugin using yaml.safe_load instead of json.load

* add default value to headers if doesnt exist

* fix: syntax error

* add log exception

* Update chia/data_layer/util/plugin.py

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

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-07-16 11:05:11 -07:00
Florin ChiricaandGitHub 74b7f1b946 DL Increase test RPC timeout (#17893) 2024-07-16 11:04:59 -07:00
Chris MarslenderandGitHub 2c36263c24 Update all selected_network config values when setting up simulator (#17998)
Add more selected network configs for simulator
2024-07-16 11:04:49 -07:00
RigidityandGitHub eed8f21679 Remove ALERTS_URL and CHIA_ALERTS_PUBKEY (#18027) 2024-07-16 11:04:32 -07:00
ChiaAutomationandGitHub 55a87b9f3b Update Managed Files (#18308)
* Update dependabot

* Update prettier
2024-07-16 11:04:07 -07:00
Kyle AltendorfandGitHub c6b44f3150 add reflow-publish-installer (#18311)
* add reflow-publish-installer

* fixup

* fixup

* fixup

* fixup

* fixup

* fixup

* fixup

* fixup
2024-07-16 11:03:19 -07:00
Kyle AltendorfandGitHub a4984ede74 ** for actions-reviewers (#18312) 2024-07-16 11:03:00 -07:00
Kyle AltendorfandGitHub dbce6ed28c use Chia-Network/actions/git-ssh-to-https@main in windows (#18221) 2024-07-16 08:22:14 -07:00
Chris MarslenderandGitHub 8b01fdcfa8 Add prune old peers functionality for crawler (#18310)
* Add prune old peers functionality for crawler to keep the database size and write times under control

* Add test

* Make starting the crawler loop optional for tests. Test the pruning of old peers

* Fix lint issues
2024-07-16 08:19:09 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1c6ca1df44 build(deps): bump click from 8.1.3 to 8.1.7 (#18161)
Bumps [click](https://github.com/pallets/click) from 8.1.3 to 8.1.7.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.3...8.1.7)

---
updated-dependencies:
- dependency-name: click
  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-07-15 18:48:26 -07:00
Kyle AltendorfandGitHub 29944cee77 set pip rebase strategy to disabled (#18306) 2024-07-15 18:47:50 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3cc89daf59 build(deps): bump cryptography from 42.0.5 to 42.0.8 (#18204)
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.5 to 42.0.8.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.5...42.0.8)

---
updated-dependencies:
- dependency-name: cryptography
  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-07-15 13:36:26 -07:00
Kyle AltendorfandGitHub 7de41fc9b4 tidy import aiosqlite as aiosqlite (#18278) 2024-07-15 13:36:01 -07:00
Kyle AltendorfandGitHub 0b6360f601 refactor installer publish jobs (#18220)
* first pass

* correct linux

* some macos

* windows

* rpm

* tidy

* remove extension from variable names

* some

* yep, we use it

* matchy matchy

* fixup

* fixup

* almost the same

* fixup

* fixup

* fixup

* maybe

* fixup

* INSTALL_PATH

* fixup

* fixup

* file-arch-name

* fixup

* fixup

* fixup

* windows diagnostics

* fixup

* fixup

* windows diagnostics

* fixup

* fixup

* absolute

* one more time (until the next time)

* more

* yep

* maybe

* perhaps

* possibly

* tidy

* tidy

* more generic

* correct endpoints for gui vs. cli glue calls
2024-07-15 13:35:49 -07:00
Kyle AltendorfandGitHub f438b4fee1 prettier again (#18307) 2024-07-15 13:34:26 -07:00
SpaceFarmers.ioandGitHub d5c1bb9ede Trusted wallet peer enhancements (#17872)
* Show trusted (wallet) peers

* Warn when the subscription limit has been reached

* Revert: (39022fe) Warn when the subscription limit has been reached
2024-07-15 12:37:31 -07:00
peicuipingandGitHub 2dbd5b3b67 chore: remove repetitive words (#17996) 2024-07-15 12:36:59 -07:00
Kyle AltendorfandGitHub dfa0557ca2 attempt to "commonize" prettier config (#18297)
* attempt to "commonize" prettier config

* apply to md

* manual touchup
2024-07-15 12:36:34 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1a7d722714 build(deps): bump aiohttp from 3.9.4 to 3.9.5 (#18203)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.4 to 3.9.5.
- [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.4...v3.9.5)

---
updated-dependencies:
- dependency-name: aiohttp
  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-07-15 10:55:00 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e0840affbc build(deps): bump filelock from 3.14.0 to 3.15.4 (#18252)
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.14.0 to 3.15.4.
- [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.14.0...3.15.4)

---
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-07-14 21:36:18 -07:00
Matt HauffandGitHub 064d34f184 [CHIA-738] Add a better clawback auto claim test and fix related issue (#18141)
* Add the concept of 'action scopes'

* Add `WalletActionScope`

* Fix CATWallet pending_change calculation

* Add the concept of 'action scopes'

* pylint and test coverage

* add try/finally

* add try/except

* Undo giving a variable a name

* Fix CRCAT test

* Fix trade tests

* Fix cat test

* Add auto claim test coverage
2024-07-12 12:29:09 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3b4d71e8f2 Bump pyinstaller from 6.7.0 to 6.9.0 (#18283)
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 6.7.0 to 6.9.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.7.0...v6.9.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-07-12 12:28:56 -07:00
Arvid NorbergandGitHub 2ff9c876b5 [CHIA-902] default flags for Program.run() and Program.run_with_cost() (#18287)
make plain Program.run() and Program.run_with_cost() default to enabling all the most recent features, and to disallow unknown opcodes (i.e. strict mode). To have full control of which features are enabled, introduce a run2() function
2024-07-12 12:28:41 -07:00