Commit Graph
14659 Commits
Author SHA1 Message Date
Earle Lowe 4c43a57cbe Add in check for same tree hash and raise error 2022-07-07 15:18:22 -07:00
Earle Lowe 2e963c9056 Merge branch 'long_lived/atari' into el.delete_unknown_key 2022-07-07 14:47:19 -07:00
Jack NelsonandGitHub 96199c008c speed up pool rpc tests (#12279)
* Optimize test_pool_rpc.py

* make code readable
2022-07-07 15:42:18 -05:00
Jack NelsonandGitHub eb0eabaa62 Convert DID Wallet to use the new coin selection algorithm that the normal wallet and the CAT wallet already use (#12063)
* small type change

* use coin_selection.py with DID Wallet

use more efficient coin selection methods.

* Add special DID edgecase + fix int type
2022-07-07 15:35:49 -05:00
Jack NelsonandGitHub cab3b00d2d fix little cli annoyance (#12280) 2022-07-07 15:19:15 -05:00
Sebastjan 4cb54ccda4 deprecated series 2022-07-07 16:47:07 +02:00
Sebastjan 075a9177e4 updated wallet name 2022-07-07 14:42:06 +02:00
Florin Chirica e591f654eb Fix test. 2022-07-07 14:20:18 +02:00
Mariano SorgenteandGitHub f2eafaae31 Fix a flaky test and optimize speed (#12277) 2022-07-07 06:01:39 -05:00
Kyle AltendorfandGitHub ac1bee09e4 Initialize logging before Service instantiation (#12253) 2022-07-07 06:00:54 -05:00
Jack NelsonandGitHub 383326c3b7 extend min_coin to rpc calls & cli for coin selection (#12274)
* add tests to test if min_coin is working

they are passing, but no harm in being safe

* expand min coin amount across wallet.py

* extend to trade_manager

* add new options to rpc's

almost done lol.

* add min_coin_amount to wallet send

* make param non optional

alleviate None errors

* add cat wallet changes, rpc and all + fix a bug i accidentally made

oops
2022-07-07 00:17:26 -05:00
Kyle AltendorfandGitHub 6923ad8e12 Removing logging.basicConfig() from ChiaServer.__init__() (#12252) 2022-07-06 21:02:47 -05:00
dustinfaceandGitHub 3f740d375c plot_sync: Fix type hints in Receiver._process (#11890)
* plot_sync: Fix type hints in `Receiver._process`

* Move `PlotSyncMessage` and `T_PlotSyncMessage` into `plot_sync.util`
2022-07-06 21:02:09 -05:00
f0c5a16c30 streamable: Expand Field and introduce Streamable._streamable_fields (#11856)
* Integrate all cached functions into `Field`

* Drop `FIELDS_FOR_STREAMABLE_CLASS`, store them in the class instead

* Use index operator

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

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-07-06 21:01:41 -05:00
wjblankeandGitHub b8fc526db6 Merge pull request #12267 from Chia-Network/catchup/long_lived_atari_from_long_lived_datalayer_c438d08bc132cad349f03d3868d7cb386813d692
catchup: into long_lived/atari from long_lived/datalayer @ c438d08bc1
2022-07-06 16:54:50 -07:00
Kyle AltendorfandGitHub 4197b39987 use a variable in the workflow for blocks and plots version (#12209)
* use a variable in the workflow for blocks and plots version

* Update benchmarks.yml
2022-07-06 17:24:47 -05:00
Kyle AltendorfandGitHub 7efe443928 Merge pull request #12272 from Chia-Network/atari-ci_timeouts_extend 2022-07-06 14:53:30 -04:00
Kyle Altendorf 7376134d71 job_timeout = 40 for data layer tests 2022-07-06 13:59:17 -04:00
Florin ChiricaandGitHub b76e6b484b Remove dead code. 2022-07-06 19:42:54 +03:00
Kyle Altendorf 426de0edc8 Merge commit 'c438d08bc132cad349f03d3868d7cb386813d692' into catchup/long_lived_atari_from_long_lived_datalayer_c438d08bc132cad349f03d3868d7cb386813d692 2022-07-06 12:27:10 -04:00
Kyle AltendorfandGitHub c438d08bc1 Merge pull request #12265 from Chia-Network/atari-ci_catchups 2022-07-06 12:26:29 -04:00
Sebastjan TrepcaandKyle Altendorf bc1a24682e Merge pull request #12262 from Chia-Network/catch_up_with_types_aiofiles_hinting
catch up with types-aiofiles hinting
2022-07-06 11:40:07 -04:00
Kyle Altendorf e7089064eb make pre-commit mypy run use regular venv (via activated shim) (#12077)
* make pre-commit mypy run use regular venv (via activated shim)

* & not Invoke-Expression

* Update activated.ps1

* install for pre-commit

* Update activated.sh

* Update .pre-commit-config.yaml
2022-07-06 11:40:06 -04:00
Sebastjan TrepcaandGitHub ee642115f6 Merge pull request #12262 from Chia-Network/catch_up_with_types_aiofiles_hinting
catch up with types-aiofiles hinting
2022-07-06 14:50:17 +02:00
Kyle Altendorf f69bfb4033 catch up with types-aiofiles hinting 2022-07-06 08:07:15 -04:00
Kyle AltendorfandGitHub ef6359638f avoid responding to an ack (#12251) 2022-07-06 05:06:55 -05:00
olivernycandGitHub c699a2a20e Fix misleading argument name (#12180) 2022-07-05 18:49:27 -05:00
olivernycandGitHub cb2528b78d Remove unused finished_sync_up_to (#12224) 2022-07-05 18:49:04 -05:00
Mariano SorgenteandGitHub 391c1a0077 Add reorg test (#12230)
* Add reorg test

* Add another reorg test
2022-07-05 17:30:16 -05:00
Chris MarslenderandGitHub dea1182299 Remove break (its preventing other sockets from getting data when earlier ones have an error) (#12241) 2022-07-05 16:45:43 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d18fff0a8a Bump typing-extensions from 4.0.1 to 4.3.0 (#12207)
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.0.1 to 4.3.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.0.1...4.3.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>
2022-07-05 16:31:14 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5504f36d42 Bump fasteners from 0.16.3 to 0.17.3 (#12206)
Bumps [fasteners](https://github.com/harlowja/fasteners) from 0.16.3 to 0.17.3.
- [Release notes](https://github.com/harlowja/fasteners/releases)
- [Changelog](https://github.com/harlowja/fasteners/blob/main/CHANGELOG.md)
- [Commits](https://github.com/harlowja/fasteners/compare/0.16.3...0.17.3)

---
updated-dependencies:
- dependency-name: fasteners
  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>
2022-07-05 16:29:44 -05:00
Arvid NorbergandGitHub 7c5a4b2199 remove pool transition store cache (#12146) 2022-07-05 16:29:12 -05:00
Kyle AltendorfandGitHub 61de7bdb39 EndpointResult (#12026)
* just create and apply EndpointResult

* int -> uint32

* hexstr_to_bytes -> bytes32.from_hexstr

* deal with returning tuples with success and error data

* uint64

* assert height is not None

* more uint64() for nft coin amount

(cherry picked from commit 544d3d5892)

* TransactionRecord -> List[TransactionRecord]

* return generic error from create_new_wallet()

* Dict[Union[int, bytes32], int]

* just ignore the optional coin issues
2022-07-05 16:27:47 -05:00
Almog De PazandGitHub b54e3c315c dont request ses (#11733)
* dont request ses, us wp instead

* lint

* fix inserted index

* merge fixes

* unused imports
2022-07-05 16:27:01 -05:00
Florin Chirica ae40b6fdb8 Fix bug. 2022-07-05 01:01:05 +02:00
Kyle AltendorfandGitHub 0ed21a703e Merge pull request #12222 from Chia-Network/checkpoint/long_lived_datalayer_from_release_1.4.0_bd35cb183bd9cd752dc9df5ffba3efd437011c90 2022-07-02 18:49:49 -04:00
Kyle Altendorf 29840d1691 Merge commit 'bd35cb183bd9cd752dc9df5ffba3efd437011c90' into checkpoint/long_lived_datalayer_from_release_1.4.0_bd35cb183bd9cd752dc9df5ffba3efd437011c90 2022-07-02 18:01:05 -04:00
Kyle AltendorfandGitHub b9bd6a282c Merge pull request #12221 from Chia-Network/checkpoint/long_lived_datalayer_from_release_1.4.0_91b3ab38861f57fd0bb14d617750deaa625d48a9 2022-07-02 18:00:53 -04:00
Kyle Altendorf 05602c9944 Merge commit '91b3ab38861f57fd0bb14d617750deaa625d48a9' into checkpoint/long_lived_datalayer_from_release_1.4.0_91b3ab38861f57fd0bb14d617750deaa625d48a9 2022-07-02 17:49:01 -04:00
Kyle AltendorfandGitHub c68d49f087 Merge pull request #12220 from Chia-Network/checkpoint/long_lived_datalayer_from_release_1.4.0_56c0868fe995163b0dd7c1233a1edc0793668df2 2022-07-02 17:48:47 -04:00
Kyle Altendorf b185c4a431 Merge commit '56c0868fe995163b0dd7c1233a1edc0793668df2' into checkpoint/long_lived_datalayer_from_release_1.4.0_56c0868fe995163b0dd7c1233a1edc0793668df2 2022-07-02 17:40:07 -04:00
Kyle AltendorfandGitHub 2a5fab586b Merge pull request #12219 from Chia-Network/checkpoint/long_lived_datalayer_from_release_1.4.0_d04f7200be27a768000026256f6d26e6325696d3 2022-07-02 17:39:16 -04:00
Kyle Altendorf d4693fb78a Merge commit 'd04f7200be27a768000026256f6d26e6325696d3' into checkpoint/long_lived_datalayer_from_release_1.4.0_d04f7200be27a768000026256f6d26e6325696d3 2022-07-02 17:19:36 -04:00
Kyle AltendorfandGitHub be03621129 Merge pull request #12218 from Chia-Network/checkpoint/long_lived_datalayer_from_release_1.4.0_ff68a23946e49806fbda3fc0affc7628b6ca22be 2022-07-02 17:19:22 -04:00
Kyle Altendorf c8ebc2a857 Merge commit 'ff68a23946e49806fbda3fc0affc7628b6ca22be' into checkpoint/long_lived_datalayer_from_release_1.4.0_ff68a23946e49806fbda3fc0affc7628b6ca22be 2022-07-02 17:04:17 -04:00
Kyle AltendorfandGitHub df146cddcb Merge pull request #12217 from Chia-Network/checkpoint/long_lived_datalayer_from_release_1.4.0_16e27cda6b1d2a34bb1987904a530546d1353f33 2022-07-02 17:04:03 -04:00
Kyle Altendorf 46324c2166 Merge commit '16e27cda6b1d2a34bb1987904a530546d1353f33' into checkpoint/long_lived_datalayer_from_release_1.4.0_16e27cda6b1d2a34bb1987904a530546d1353f33 2022-07-02 16:51:31 -04:00
Kyle AltendorfandGitHub 65239c1426 Merge pull request #12216 from Chia-Network/checkpoint/long_lived_datalayer_from_release_1.4.0_9be94447aba9bb6ad3bff8bee3f5625b42fb7c65 2022-07-02 16:49:57 -04:00
Kyle Altendorf de2d812449 Merge commit '9be94447aba9bb6ad3bff8bee3f5625b42fb7c65' into checkpoint/long_lived_datalayer_from_release_1.4.0_9be94447aba9bb6ad3bff8bee3f5625b42fb7c65 2022-07-02 16:15:02 -04:00