Zebra/zebra-test/src
teor 744aca9d45
7. test(database): snapshot raw RocksDB column family data (#3630)
* refactor(state): split database access into modules by Zebra types

Also split the genesis block check from the genesis note commitment trees.

* test(db): snapshot column family names

* fix(db): assert that the default column family is empty on open and close

* feat(test): apply `cargo insta` settings to all tests

* doc(db/test): improve test docs

* test(db): snapshot column family data for the empty state

* refactor(db/test): split out the raw database snapshot

* test(db): snapshot raw database for blocks 0-2

* test(db): initial serialized snapshot data for raw database

* test(db): tweak snapshot file names

* test(db): rename snapshots for consistency

* test(db): store empty column families in a single snapshot

* test(db): simplify snapshot files by combining empty snapshots

* doc(db/test): put comment in a better place

* refactor(db): fastmod assert_default_is_empty assert_default_cf_is_empty

* doc(test): explain when insta settings are needed

* fix(state/test): use the network to initialize the state

Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>

Co-authored-by: Janito Vaqueiro Ferreira Filho <janito.vff@gmail.com>
2022-03-02 02:44:39 +00:00
..
vectors Checking of Sprout anchors in non-finalized state (#3123) 2021-12-09 16:50:26 +00:00
command.rs fix(test): check for zebrad test output in the correct order (#3643) 2022-02-25 23:36:20 +00:00
lib.rs 7. test(database): snapshot raw RocksDB column family data (#3630) 2022-03-02 02:44:39 +00:00
mock_service.rs Ignore unexpected block responses to fix error cascade when synchronizing blocks (#3374) 2022-01-20 08:14:16 +00:00
net.rs Release Blocker? Disable IPv6 tests when $ZEBRA_SKIP_IPV6_TESTS is set (#2405) 2021-06-29 11:20:32 +10:00
network_addr.rs Parse received addrv2 messages (#3022) 2021-11-12 00:25:23 +00:00
prelude.rs Check MAX_BLOCK_SIGOPS in the block verifier (#3049) 2021-11-15 20:55:32 +00:00
service_extensions.rs Consolidate standard lints into a cargo config file (#3386) 2022-01-24 16:25:06 +00:00
transcript.rs Update to Tokio 1.13.0 (#2994) 2021-11-02 18:46:57 +00:00
vectors.rs Async Halo2 verifier service (#2645) 2021-11-17 13:26:15 +10:00
zip0143.rs Always compute sighash with librustzcash (#2469) 2021-07-09 09:55:08 +10:00
zip0243.rs Fix bug in sighash for coinbase transactions (#2459) 2021-07-08 16:05:40 -03:00
zip0244.rs Update shared NU5 dependencies, set the NU5 testnet activation network upgrade parameters (#2825) 2021-10-06 11:08:41 +10:00