0g-storage-node/tests
Bo QIU 9b68a8b7d7
Some checks failed
abi-consistent-check / build-and-compare (push) Has been cancelled
code-coverage / unittest-cov (push) Has been cancelled
rust / check (push) Has been cancelled
rust / test (push) Has been cancelled
rust / lints (push) Has been cancelled
functional-test / test (push) Has been cancelled
Implement file sync protocol V2 (#249)
* Add new P2P protocol NewFile

* Publish NewFile message when any file finalized

* handle NewFile message in router

* handle NewFile in sync servic to write in db

* use propagation source to handle NewFile message

* Disable sequential sync and store new file in v2 sync store

* Add shard config in FindFile

* Add AnnounceFile RPC message in network layer

* do not propagate FindFile to whole network

* Mark peer connected if FileAnnouncement RPC message received

* fix unit test failures

* Change P2P protocol version

* Ignore py tests of sequential auto sync

* Add py test for auto sync v2

* fmt code

* remove dummy code in py test

* fix random test failure

* Add comments

* Enable file sync protocol v2 in config file by default
2024-10-28 14:56:08 +08:00
..
config test: use fixed 0g binary (#218) 2024-09-30 14:56:38 +08:00
test_framework Start nodes sequentially to fix some random failure. (#243) 2024-10-28 10:53:28 +08:00
utility test: update contracts, shard submission test (#225) 2024-10-09 16:33:20 +08:00
cache_test.py feat: write cached segments to storage on log synced (#7) 2024-01-23 18:47:14 +08:00
ccov.sh Initial commit 2024-01-04 18:05:32 +08:00
cli_submission_test.py Store shard config for peers and choose sync peers accordingly. (#77) 2024-06-07 16:58:15 +08:00
crash_test.py Use LRU to cache MPT nodes. (#227) 2024-10-27 12:52:06 +08:00
dep_pip3.sh Initial commit 2024-01-04 18:05:32 +08:00
example_test.py Enforce rear padding data check for segment proofs. (#55) 2024-04-17 18:46:04 +08:00
fuzz_test.py Initial commit 2024-01-04 18:05:32 +08:00
long_time_mine_test_local.py Change miner id logic & request miner id automatically (#60) 2024-04-27 11:15:57 +08:00
mine_test.py Use 0gchain to test mine tests (#191) 2024-09-11 10:13:31 +08:00
mine_with_market_test.py Use 0gchain to test mine tests (#191) 2024-09-11 10:13:31 +08:00
node_cache_test.py Use LRU to cache MPT nodes. (#227) 2024-10-27 12:52:06 +08:00
parallel_submission_test.py Initial commit 2024-01-04 18:05:32 +08:00
partial_submission_test.py Initial commit 2024-01-04 18:05:32 +08:00
pruner_test.py Prune no reward chunks. (#145) 2024-08-06 15:06:15 +08:00
random_test.py Adjust default value for testnet configs (#180) 2024-09-05 10:09:29 +08:00
recovery_test.py Initial commit 2024-01-04 18:05:32 +08:00
revert_test.py Supports evmos as blockchain fullnode in python tests (#40) 2024-04-09 15:45:02 +08:00
root_consistency_test.py Test flow root consistency (#230) 2024-10-15 14:24:56 +08:00
rpc_test.py Store shard config for peers and choose sync peers accordingly. (#77) 2024-06-07 16:58:15 +08:00
same_root_test.py Use inner lock in storage and use async lock. (#92) 2024-06-29 17:08:02 +08:00
shard_submission_test.py test: update contracts, shard submission test (#225) 2024-10-09 16:33:20 +08:00
shard_sync_test.py Prune no reward chunks. (#145) 2024-08-06 15:06:15 +08:00
submission_test.py Store shard config for peers and choose sync peers accordingly. (#77) 2024-06-07 16:58:15 +08:00
sync_auto_random_test.py Adjust default value for testnet configs (#180) 2024-09-05 10:09:29 +08:00
sync_auto_random_v2_test.py Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
sync_auto_sequential_test_ignore.py Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
sync_auto_test_ignore.py Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
sync_test.py Adjust default value for testnet configs (#180) 2024-09-05 10:09:29 +08:00
test_all.py Change zg chain block time in python tests (#181) 2024-09-08 08:38:53 +08:00