Skip to content

Commit

Permalink
refactor: Move out utilities from resharding_v3 test loop (#12601)
Browse files Browse the repository at this point in the history
The resharding V3 test loop became a beast of a file rather quickly.

This PR simply moves some utility functions outside of the test into
three other files, grouped by theme:
- `receipts.rs` for all things about checking receipts existence
- `sharding.rs` for everything related to shards and shard layout
- `trie_sanity.rs` for the new TrieChecker implemented by
@marcelo-gonzalez

Hopefully this will make the method more reusable.

`TestReshardingParameters` is not touched. It still needs improvements
though.
  • Loading branch information
Trisfald authored Dec 12, 2024
1 parent 53503e8 commit 537b8d9
Show file tree
Hide file tree
Showing 6 changed files with 694 additions and 647 deletions.
Loading

0 comments on commit 537b8d9

Please sign in to comment.