3520 Commits
Author SHA1 Message Date
Geoff WalmsleyandGitHub 219667b6d8 DAO resync (#17029) 2023-12-11 15:12:37 -06:00
Earle LoweandGitHub cfab3a407d Adjust ban times for DL dat files (#17021) 2023-12-08 15:40:44 -06:00
Geoff WalmsleyandGitHub 531e01c5d1 dedupe parent_amount_list (#16724) 2023-11-29 09:28:27 -06:00
53519801fb DL: remove data from DB on unsubscribe (#16786)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-28 17:46:26 -06:00
Kyle AltendorfandGitHub 35e9149844 Revert "Make the sync store tests synchronous (#16529)" (#16941) 2023-11-28 13:23:18 -06:00
Kyle AltendorfandGitHub 3caa0754cc add DBWrapper2.managed() (#16880) 2023-11-22 13:48:01 -06:00
30fb9f3d00 avoid redundant list->set and set->list conversions (#16855)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-22 09:02:33 -06:00
Arvid NorbergandGitHub 5318514582 update the StateChangeSummary to not keep full NPCResult objects (#16793) 2023-11-21 17:06:49 -06:00
Arvid NorbergandGitHub c0deb18405 remove special case logic for soft-fork 3 activation (#16819) 2023-11-21 17:06:17 -06:00
Amine KhaldiandGitHub 6f3f54c974 Speedup and simplify test_mempool_update_performance (#16848) 2023-11-20 09:42:56 -06:00
Kyle AltendorfandGitHub 410f328c15 cleanup assertions of True and False (#16874) 2023-11-20 09:42:06 -06:00
Arvid NorbergandGitHub 5ab1721cff clean up SpendBundle class (#16808) 2023-11-16 19:21:28 -06:00
Kyle AltendorfandGitHub fbdb27bef1 managers for services (#16670) 2023-11-16 19:21:12 -06:00
Kyle AltendorfandGitHub 5484024ef3 move time_out_assert() family back to tests (#16846) 2023-11-16 11:20:18 -06:00
Amine KhaldiandGitHub ee7aa96d20 Simplify a test for mempool manager's new_peak (#16796) 2023-11-15 13:04:14 -06:00
Arvid NorbergandGitHub 038f5e8fb7 Fix deep reorgs (#16594) 2023-11-15 10:51:04 -06:00
Amine KhaldiandGitHub d619b7cf86 Fix silently failing to submit a transaction in test_mempool_update_performance (#16828) 2023-11-15 09:16:53 -06:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
e986d1e3ee build(deps-dev): bump mypy from 1.5.1 to 1.7.0 (#16788)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-14 12:20:56 -06:00
Arvid NorbergandGitHub d127353030 Fix mypy types (#16807) 2023-11-14 09:28:30 -06:00
Kyle AltendorfandGitHub a64dd20f06 increase tests.core.full_node timeouts (#16824) 2023-11-14 08:00:58 -06:00
Amine KhaldiandGitHub b275aee485 Make get_temp_keyring not async (#16818) 2023-11-13 08:58:29 -06:00
Amine KhaldiandGitHub d054314a18 Move generate_in_memory_db_uri to the chia/util to avoid importing tests from the chia package (#16752)
Move generate_in_memory_db_uri to the chia/util to avoid importing tests from the chia package.
2023-11-09 09:04:03 -08:00
Arvid NorbergandGitHub 23dfcd85ac reduce redundant calls to compute the header hash (#16797)
* reduce redundant calls to compute the header hash for FullBlocks in multiprocess_validation

* test_long_reorg_nodes() still seem to take longer on CI sometimes
2023-11-08 16:17:05 -08:00
Arvid NorbergandGitHub 5a1c15e20b Fix peak height race (#16776)
when we add a block, there's a subtle co-routine suspension point in between updating the height-to-hash map and the peak height. This leaves a window for a call to get_peak() to fail, because the peak height doesn't exist in height-to-hash map. This patch moves the suspension point to make these updates atomic. This allows for removing a hack in a test, that previously had to catch this exception
2023-11-08 08:41:40 -08:00
Earle LoweandGitHub 206b5c5185 Fix problems with wallet node discovery (#16782)
* Fix problems with wallet node discovery

* Adjust tests to work more consistently

* Attempt to debug rate limit test

* Limit rate test to one consensus mode
2023-11-08 08:40:21 -08:00
Arvid NorbergandGitHub 64d6fb56a6 simplify the interface to mempool_manager.new_peak() (#16787)
simplify the interface to mempool_manager.new_peak() to just take the spent coin IDs rather than full NPCResult objects
2023-11-07 10:40:16 -08:00
Matt HauffandGitHub eabeac82b4 Port trade test to WalletTestFramework (#16293) 2023-11-07 09:50:22 -08:00
Arvid NorbergandGitHub d2c2b91b30 add test performing a deep reorg with 3 nodes (#16774)
* increase test_constant BLOCKS_CACHE_SIZE to fit 3 epochs, to better mimic mainnet

* add test performing a deep reorg with 3 nodes, along with various fixes to make it work
2023-11-07 09:08:54 -08:00
Arvid NorbergandGitHub 95e5b97557 Use bls from chia rs (#16715)
* replace blspy imports with chia_rs imports for BLS types

* remove blspy-stubs, since we're dropping the blspy dependency. chia_rs has type stubs already
2023-11-07 09:06:52 -08:00
Matt HauffandGitHub bf4cdf22a5 Port VC lifecycle tests to WalletTestFramework (#16292) 2023-11-03 08:30:59 -05:00
Geoff WalmsleyandGitHub c2b35009de fix flaky dao tests (#16740) 2023-11-03 08:30:41 -05:00
b1bdbc40ab use anyio for tests (#16738)
Co-authored-by: Amine Khaldi <amine.khaldi@reactos.org>
2023-11-01 13:04:27 -05:00
53435588a0 Update to support looking up mnemonic by just the first 4 letters of each word (#16704)
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2023-11-01 11:52:52 -05:00
Amine KhaldiandGitHub 97fb769755 Speed up test runs by leveraging in-memory databases within reason (#16637) 2023-11-01 10:56:40 -05:00
Geoff WalmsleyandGitHub 402cbc0499 return List[TransactionRecord] from nft bulk mint functions (#16680) 2023-11-01 08:24:40 -05:00
Arvid NorbergandGitHub ca85e485e6 transition away from __bytes__ conversion for fixed-size integers (#16701) 2023-10-31 16:57:17 -05:00
Arvid NorbergandGitHub 7ad1db1b62 bump chia_rs to version 0.2.13 (#16737) 2023-10-30 13:05:15 -07:00
Izumi HoshinoandGitHub c9f414611a Distinguish insufficient_partials from invalid_partials (#16667) 2023-10-30 10:12:06 -07:00
Kyle AltendorfandGitHub 609452303b stop using pytest-monitor for now (#16736) 2023-10-30 08:51:32 -07:00
a1edda5c3d datalayer test coverage (#16645)
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2023-10-30 08:50:58 -07:00
Kyle AltendorfandGitHub d481ab3a6a fix full node hangs and timeouts (#16735) 2023-10-30 08:43:22 -07:00
Arvid NorbergandGitHub 0d1abd71a5 move vdf validation to a free free function (#16633) 2023-10-30 07:40:47 -07:00
Geoff WalmsleyandGitHub 2382df975c dao updates (#16691) 2023-10-26 20:00:36 -05:00
Kyle AltendorfandGitHub c935126081 bump benchmark limits (#16700) 2023-10-26 19:59:59 -05:00
Arvid NorbergandGitHub f863326d87 harmonize SerializedProgram with Program (#16694) 2023-10-26 15:55:10 -05:00
Arvid NorbergandGitHub 709190bbfd Sync no farmer (#16698) 2023-10-26 15:33:58 -05:00
Amine KhaldiandGitHub c27cba07df Annotate test_mempool_performance.py (#16693) 2023-10-26 10:34:11 -05:00
Amine KhaldiandGitHub a420d8ea0c Simplify add_block_batch by making it take PeerInfo instead of WSChiaConnection (#16692) 2023-10-26 10:33:45 -05:00
Amine KhaldiandGitHub e29d71fe6b Simplify test_mempool_performance.py (#16644) 2023-10-25 12:17:24 -05:00
Kyle AltendorfandGitHub 311d0143f6 add junit output and summaries for benchmarks (#16660) 2023-10-25 08:37:36 -05:00