Add base_size test

This commit is contained in:
yancy 2023-08-29 15:07:23 +02:00
parent 8e573f4b57
commit 9536a9947c
1 changed files with 1 additions and 0 deletions

View File

@ -487,6 +487,7 @@ mod tests {
assert_eq!(real_decode.header.difficulty_float(), 1.0);
// [test] TODO: check the transaction data
assert_eq!(real_decode.base_size(), 81);
assert_eq!(real_decode.size(), some_block.len());
assert_eq!(real_decode.stripped_size(), Weight::from_wu_usize(some_block.len()));
assert_eq!(