cuprate_test_utils::data

Static BLOCK_V9_TX3

Source
pub static BLOCK_V9_TX3: LazyLock<VerifiedBlockInformation>
Expand description

Return BLOCK_F91043 as a VerifiedBlockInformation.

Contained transactions:

use cuprate_helper::map::combine_low_high_bits_to_u128;

let block = &*BLOCK_V9_TX3;
assert_eq!(&block.block.serialize(), BLOCK_F91043);
assert_eq!(block.pow_hash, hex!("7c78b5b67a112a66ea69ea51477492057dba9cfeaa2942ee7372c61800000000"));
assert_eq!(block.height, 1731606);
assert_eq!(block.generated_coins, 3403774022163);
assert_eq!(block.weight, 6597);
assert_eq!(block.long_term_weight, 6597);
assert_eq!(block.txs.len(), 3);

assert_eq!(block.cumulative_difficulty, combine_low_high_bits_to_u128(23_558_910_234_058_343, 0));