cuprate_test_utils::data

Static BLOCK_V1_TX2

Source
pub static BLOCK_V1_TX2: LazyLock<VerifiedBlockInformation>
Expand description

Return BLOCK_5ECB7E as a VerifiedBlockInformation.

Contained transactions:

use cuprate_helper::map::combine_low_high_bits_to_u128;

let block = &*BLOCK_V1_TX2;
assert_eq!(&block.block.serialize(), BLOCK_5ECB7E);
assert_eq!(block.pow_hash, hex!("c960d540000459480560b7816de968c7470083e5874e10040bdd4cc501000000"));
assert_eq!(block.height, 202609);
assert_eq!(block.generated_coins, 14535350982449);
assert_eq!(block.weight, 21905);
assert_eq!(block.long_term_weight, 21905);
assert_eq!(block.txs.len(), 2);

assert_eq!(block.cumulative_difficulty, combine_low_high_bits_to_u128(126_650_740_038_710, 0));