diff --git a/zebra-test/src/vectors/block.rs b/zebra-test/src/vectors/block.rs index 72a5bb8e7..9fcde69a5 100644 --- a/zebra-test/src/vectors/block.rs +++ b/zebra-test/src/vectors/block.rs @@ -17,8 +17,12 @@ lazy_static! { // Update these lists of blocks when you add new block test vectors to // this file + // + // We use integer heights in these maps, to avoid a dependency on zebra_chain /// Mainnet blocks, indexed by height + /// + /// This is actually a bijective map, the tests ensure that values are unique. pub static ref MAINNET_BLOCKS: BTreeMap = BTreeMap::from_iter( [ // Genesis @@ -57,6 +61,8 @@ lazy_static! { ); /// Testnet blocks, indexed by height + /// + /// This is actually a bijective map, the tests ensure that values are unique. pub static ref TESTNET_BLOCKS: BTreeMap = BTreeMap::from_iter( [ // Genesis