Skip to content

Commit

Permalink
test: add mainnet block 202 test vector
Browse files Browse the repository at this point in the history
  • Loading branch information
hdevalence committed Nov 25, 2020
1 parent 55329a7 commit dcf3901
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zebra-test/src/vectors/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ lazy_static! {
(8, BLOCK_MAINNET_8_BYTES.as_ref()),
(9, BLOCK_MAINNET_9_BYTES.as_ref()),
(10, BLOCK_MAINNET_10_BYTES.as_ref()),
(202, BLOCK_MAINNET_202_BYTES.as_ref()),
(347_499, BLOCK_MAINNET_347499_BYTES.as_ref()),
// Overwinter
(347_500, BLOCK_MAINNET_347500_BYTES.as_ref()),
Expand Down Expand Up @@ -162,6 +163,9 @@ lazy_static! {
pub static ref BLOCK_MAINNET_10_BYTES: Vec<u8> =
<Vec<u8>>::from_hex(include_str!("block-main-0-000-010.txt").trim())
.expect("Block bytes are in valid hex representation");
pub static ref BLOCK_MAINNET_202_BYTES: Vec<u8> =
<Vec<u8>>::from_hex(include_str!("block-main-0-000-202.txt").trim())
.expect("Block bytes are in valid hex representation");

// Overwinter transition
// for i in 347499 347500 347501; do
Expand Down

0 comments on commit dcf3901

Please sign in to comment.