casper-network / casper-network/casper-node

Update chain synchronizer tests in the node to cover the trie leaf chunking scenario

Open
#3,077 0 comments 0 reactions 0 assignees View on GitHub
tech-debt
Dominant language
Rust
Stars
399
Forks
224
Avg merge
15h 44m
Merged PRs (30d)
2

Description

The chunking mechanism is only tested indirectly via `casper-test`.

We should extend the tests in node ([`test_chain.rs`](http://test_chain.rs/)) to cover trie chunking, so it is tested on CI for each PR.

The test should focus on the `fetch_trie_retry_forever` and exercise the code path associated with the `TrieOrChunk::ChunkWithProof` variant being retrieved, however, there might be more tests needed for the `chain_synchronizer` module.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.