reth_cli_commands::test_vectors::compact

Function read_vector

Source
pub fn read_vector<T>() -> Result<()>
where T: Compact,
Available on crate feature arbitrary only.
Expand description

Reads a vector of type T from a file and compares each item with its reconstructed version using T::from_compact.