Commit Graph
14659 Commits
Author SHA1 Message Date
Florin Chirica 421640c5ed Fix test. 2022-08-17 18:53:09 +03:00
Kyle Altendorf 5b54c128c1 some store id/root checking of the actual offer vs. the reference data 2022-08-17 11:32:52 -04:00
William AllenandGitHub b4bbadc348 Merge pull request #13022 from Chia-Network/checkpoint/main_from_release_1.5.1_32967f78e233b8053c0d9c2b6d01b4c73e03dec8
checkpoint: into main from release/1.5.1  @ 32967f78e2
2022-08-17 10:31:15 -05:00
Kyle AltendorfandGitHub 8f2646e3d9 Remove noqa: F401 from test_data_rpc 2022-08-17 11:24:34 -04:00
Arvid NorbergandGitHub 415006235d enable mypy for nft wallet (#12999) 2022-08-17 09:54:59 -05:00
Florin Chirica d07626c1e2 Atari change root primary key. 2022-08-17 17:41:05 +03:00
Florin Chirica cb8d8fe27e Default urls to []. 2022-08-17 17:09:40 +03:00
Kyle AltendorfandGitHub d179e2d085 Merge pull request #12996 from Chia-Network/atari-blobs
atari - blobs
2022-08-17 09:56:01 -04:00
Kyle AltendorfandGitHub 0dff7cd302 Merge pull request #13026 from Chia-Network/checkpoint/long_lived_atari_from_main_a0f27537a94525b1ed94d94dac4b1f253af958af
checkpoint: into long_lived/atari from main  @ a0f27537a9
2022-08-17 09:17:15 -04:00
Amine Khaldi 0c0f5e0c41 Merge commit 'a0f27537a94525b1ed94d94dac4b1f253af958af' into checkpoint/long_lived_atari_from_main_a0f27537a94525b1ed94d94dac4b1f253af958af 2022-08-17 14:16:31 +01:00
Kyle AltendorfandGitHub 2e0b004283 Merge pull request #13025 from Chia-Network/checkpoint/long_lived_atari_from_main_0fc63d62d22cd13dac653fe6370105c716cc5928
checkpoint: into long_lived/atari from main  @ 0fc63d62d2
2022-08-17 09:15:35 -04:00
Amine Khaldi daac216b01 Merge commit '0fc63d62d22cd13dac653fe6370105c716cc5928' into checkpoint/long_lived_atari_from_main_0fc63d62d22cd13dac653fe6370105c716cc5928 2022-08-17 14:01:37 +01:00
Kyle AltendorfandGitHub 2763329019 Merge pull request #13024 from Chia-Network/checkpoint/long_lived_atari_from_main_baaa77b71d92668640fec820ca883425b4b7accf
checkpoint: into long_lived/atari from main  @ baaa77b71d
2022-08-17 09:00:47 -04:00
Kyle AltendorfandGitHub a107b08b6a Merge pull request #13013 from Chia-Network/atari-offer_relocate_to_data_layer
atari - move most of the dl offer code to DataLayer (and dedupe)
2022-08-17 08:57:42 -04:00
Amine Khaldi c51b38707b Merge commit 'baaa77b71d92668640fec820ca883425b4b7accf' into checkpoint/long_lived_atari_from_main_baaa77b71d92668640fec820ca883425b4b7accf 2022-08-17 13:43:57 +01:00
Kyle AltendorfandGitHub 7fef851974 Merge pull request #13023 from Chia-Network/checkpoint/long_lived_atari_from_main_14ada52e1ca3b545776a7c19e8dfd173095747ff
checkpoint: into long_lived/atari from main  @ 14ada52e1c
2022-08-17 08:43:01 -04:00
Amine Khaldi 40fbfba176 Merge commit '14ada52e1ca3b545776a7c19e8dfd173095747ff' into checkpoint/long_lived_atari_from_main_14ada52e1ca3b545776a7c19e8dfd173095747ff 2022-08-17 11:57:46 +01:00
Amine Khaldi 3827a72fc8 Merge commit '32967f78e233b8053c0d9c2b6d01b4c73e03dec8' into checkpoint/main_from_release_1.5.1_32967f78e233b8053c0d9c2b6d01b4c73e03dec8 2022-08-17 11:54:27 +01:00
Jack NelsonandGitHub a376057295 fix slight issue with simulator loading, this only really could affect tests (#12810)
* fix slight issue, this does not really effect anything

* remove old line

this is now part of the full node
2022-08-17 02:07:51 -05:00
36c06241d8 Adds handling for daemon not sending initial_target_state (#10058) (#10087)
Currently, if the daemon doesn't send `initial_target_state` for
new pool_wallets, it will cause a `KeyError`.

This commit makes it give a more informative error, so less users
are confused by this.

Signed-off-by: wallentx <william.allentx@gmail.com>

Signed-off-by: wallentx <william.allentx@gmail.com>
Co-authored-by: bolshoytoster <toasterbig@gmail.com.com>
2022-08-17 01:11:22 -05:00
Kyle AltendorfandGitHub bd7ed405eb No traceback for OSError 113 in WSChiaConnection.outbound_handler() (#13016)
* No traceback for OSError 113 in WSChiaConnection.outbound_handler()

```python-traceback
Aug 16 21:24:08 fullnode chia_full_node[58416]: 2022-08-16T21:24:08.489 full_node full_node_server        : ERROR    Exception: [Errno 113] No route to host with 121.236.62.254
Aug 16 21:24:08 fullnode chia_full_node[58416]: 2022-08-16T21:24:08.490 full_node full_node_server        : ERROR    Exception Stack: Traceback (most recent call last):
Aug 16 21:24:08 fullnode chia_full_node[58416]:   File "/farm/chia-blockchain/chia/server/ws_connection.py", line 262, in outbound_handler
Aug 16 21:24:08 fullnode chia_full_node[58416]:     await self._send_message(msg)
Aug 16 21:24:08 fullnode chia_full_node[58416]:   File "/farm/chia-blockchain/chia/server/ws_connection.py", line 416, in _send_message
Aug 16 21:24:08 fullnode chia_full_node[58416]:     await self.ws.send_bytes(encoded)
Aug 16 21:24:08 fullnode chia_full_node[58416]:   File "/farm/chia-blockchain/venv/lib/python3.8/site-packages/aiohttp/web_ws.py", line 315, in send_bytes
Aug 16 21:24:08 fullnode chia_full_node[58416]:     await self._writer.send(data, binary=True, compress=compress)
Aug 16 21:24:08 fullnode chia_full_node[58416]:   File "/farm/chia-blockchain/venv/lib/python3.8/site-packages/aiohttp/http_websocket.py", line 688, in send
Aug 16 21:24:08 fullnode chia_full_node[58416]:     await self._send_frame(message, WSMsgType.BINARY, compress)
Aug 16 21:24:08 fullnode chia_full_node[58416]:   File "/farm/chia-blockchain/venv/lib/python3.8/site-packages/aiohttp/http_websocket.py", line 659, in _send_frame
Aug 16 21:24:08 fullnode chia_full_node[58416]:     await self.protocol._drain_helper()
Aug 16 21:24:08 fullnode chia_full_node[58416]:   File "/farm/chia-blockchain/venv/lib/python3.8/site-packages/aiohttp/base_protocol.py", line 87, in _drain_helper
Aug 16 21:24:08 fullnode chia_full_node[58416]:     await asyncio.shield(waiter)
Aug 16 21:24:08 fullnode chia_full_node[58416]:   File "/usr/lib/python3.8/asyncio/selector_events.py", line 848, in _read_ready__data_received
Aug 16 21:24:08 fullnode chia_full_node[58416]:     data = self._sock.recv(self.max_size)
Aug 16 21:24:08 fullnode chia_full_node[58416]: OSError: [Errno 113] No route to host
Aug 16 21:24:08 fullnode chia_full_node[58416]:
```

* Update ws_connection.py

* refactor
2022-08-17 01:03:10 -05:00
Jack NelsonandGitHub 764a5a2276 Allow developers to easily use standard chia clvm puzzles and libraries (#13010)
* clean up types

* allow devs to easily include puzzles from chia_blockchain
2022-08-17 01:02:03 -05:00
Jack NelsonandGitHub 0bba9f88aa fix split (#13007) 2022-08-17 01:01:36 -05:00
5b56a562ed cat_wallet mypy fixes (#12998)
* enable mypy for cat_utils

* mypy fixes for cat_wallet

* mypy fixes for cat_wallet.lineage_proof

* Update chia/wallet/cat_wallet/cat_utils.py

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

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-08-17 01:01:21 -05:00
dustinfaceandGitHub 4f8c778b84 streamable: Fix the message of ParameterMissingError + Test custom error messages (#12988)
* streamable: Fix the message of `ParameterMissingError`

* Test error messages

* Python 3.10 differs in the output of the `TypeError`
2022-08-17 01:00:58 -05:00
Patrick MaslanaandGitHub 1a673c9453 Change the pattern for running pre-commit. Previously, this was using… (#12891)
* Change the pattern for running pre-commit. Previously, this was using a deprecated action workflow.

* Fix the python version for the - uses: ./.github/actions/install step

* Added --all-files and --verbose to the pre-commit run command

* Precommit is already installed as part of the dev dependencies. Removing the installation step.
2022-08-17 01:00:35 -05:00
dustinfaceandGitHub 765356ef7b util: Simplify unlocks_keyring and move it with obtain_current_passphrase into cmds (#12850)
* Drop `use_passphrase_cache` parameter, its always `True`

* Drop `unlocks_keyring` calls in `Keychain`

* Change `unlocks_keyring` to `unlock_keyring` and drop the decorator fun

* Move `obtain_current_passphrase` and `unlock_keyring` into `chia.cmds`
2022-08-16 23:29:32 -05:00
JeffandGitHub a25ba0d673 Bump chia-blockchain-gui to 67004b2d5dcd85c15936e927f6b5706662110fc7 (#13017)
Updates:
Electron 19.0.12
2022-08-16 19:19:50 -05:00
William AllenandGitHub 3479644118 Merge pull request #13012 from Chia-Network/checkpoint/main_from_release_1.5.1_b5cff3b39d4c926605b44d5077e590c3f3975b7d
checkpoint: into main from release/1.5.1  @ b5cff3b39d
2022-08-16 19:09:02 -05:00
Kyle Altendorf ea50701457 Merge branch 'long_lived/atari' into atari-blobs 2022-08-16 19:08:20 -04:00
Kyle Altendorf a1ae6b5594 Merge branch 'long_lived/atari' into atari-offer_relocate_to_data_layer 2022-08-16 19:05:20 -04:00
Kyle AltendorfandGitHub ac235ea6d1 Merge pull request #12411 from Chia-Network/atari-offer_rpc_stubs
atari - make and take offer routes
2022-08-16 19:02:36 -04:00
Kyle AltendorfandGitHub 272eb18699 Merge pull request #13011 from AmineKhaldi/improve_launcher_spend_in_track_new_launcher_id
Improve the way we handle launcher spend in track_new_launcher_id()
2022-08-16 18:07:16 -04:00
Kyle Altendorf 3beb220930 move most of the dl offer code to DataLayer (and dedupe) 2022-08-16 15:55:03 -04:00
Amine Khaldi 3e88e8fb2c Merge commit 'b5cff3b39d4c926605b44d5077e590c3f3975b7d' into checkpoint/main_from_release_1.5.1_b5cff3b39d4c926605b44d5077e590c3f3975b7d 2022-08-16 20:15:32 +01:00
Amine Khaldi 98b514cffb Improve the way we handle launcher spend in track_new_launcher_id(). 2022-08-16 20:05:20 +01:00
Kyle AltendorfandGitHub 5f1e483511 make web socket timeout a warning with a traceback (#12824) 2022-08-16 13:45:40 -05:00
Arvid NorbergandGitHub 3bcfb21f74 Fix the DBWrapper test (#13000) 2022-08-16 13:45:06 -05:00
William AllenandGitHub c8608651e2 Merge pull request #13002 from Chia-Network/checkpoint/main_from_release_1.5.1_87e1ade8bc6bb0f00121af8505a7270d04d81a53
checkpoint: into main from release/1.5.1  @ 87e1ade8bc
2022-08-16 13:36:53 -05:00
Jack NelsonandGitHub 97f5c6dc7c update package ver (#13008) 2022-08-16 10:20:41 -07:00
Kyle Altendorf 57b0630cf7 actually use DataStore.batch_insert() 2022-08-16 11:13:37 -04:00
William AllenandGitHub 4e5996301c Merge pull request #13004 from Chia-Network/checkpoint/long_lived_atari_from_main_83f08b58074a54506601be4e1c97550c8468ca20
checkpoint: into long_lived/atari from main  @ 83f08b5807
2022-08-16 09:23:52 -05:00
Amine Khaldi 829052372f Merge commit '83f08b58074a54506601be4e1c97550c8468ca20' into checkpoint/long_lived_atari_from_main_83f08b58074a54506601be4e1c97550c8468ca20 2022-08-16 13:42:59 +01:00
Kyle AltendorfandGitHub 7c11b951ec Merge pull request #13003 from Chia-Network/checkpoint/long_lived_atari_from_main_f318f98fc794b8b1513721454730ada70fb048b7
checkpoint: into long_lived/atari from main  @ f318f98fc7
2022-08-16 08:39:43 -04:00
Amine Khaldi 3371c1607c Merge commit 'f318f98fc794b8b1513721454730ada70fb048b7' into checkpoint/long_lived_atari_from_main_f318f98fc794b8b1513721454730ada70fb048b7 2022-08-16 13:39:08 +01:00
Kyle AltendorfandGitHub 42c8cf3bf0 Merge pull request #13001 from Chia-Network/checkpoint/long_lived_atari_from_main_a3f5a4e65d73f6edd52256865f7cc3b5d7a433c2
checkpoint: into long_lived/atari from main  @ a3f5a4e65d
2022-08-16 08:37:09 -04:00
Amine Khaldi aca338ec79 Merge commit '87e1ade8bc6bb0f00121af8505a7270d04d81a53' into checkpoint/main_from_release_1.5.1_87e1ade8bc6bb0f00121af8505a7270d04d81a53 2022-08-16 12:57:32 +01:00
Amine Khaldi c6b6c39cfc Merge commit 'a3f5a4e65d73f6edd52256865f7cc3b5d7a433c2' into checkpoint/long_lived_atari_from_main_a3f5a4e65d73f6edd52256865f7cc3b5d7a433c2 2022-08-16 12:24:01 +01:00
Arvid NorbergandGitHub beaead8598 remove a redundant enumerate(). remove redundant bytes32 copies. print a warning when inserting a mempool item takes a long time (#12762) 2022-08-16 03:41:14 -05:00
Arvid NorbergandGitHub 97390eef67 revert change to change OR REPLACE -> OR FAIL in wallet_coin_store. There's not enough test coverage to make this change with confidence, and it's not necessary (#12924) 2022-08-16 03:33:13 -05:00