Skip to content

Commit b56b122

Browse files
authored
simulators/portal/history: fix bug where only headers were tested (#1001)
1 parent 37723c2 commit b56b122

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simulators/portal/history/src/suites/interop.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,16 @@ fn process_content(
5656
"Block Body".to_string(),
5757
header_with_proof.header.number,
5858
vec![
59-
content_pair_to_string_pair(last_header.clone()),
6059
content_pair_to_string_pair(history_content),
60+
content_pair_to_string_pair(last_header.clone()),
6161
],
6262
),
6363
HistoryContentKey::BlockReceipts(_) => (
6464
"Block Receipt".to_string(),
6565
header_with_proof.header.number,
6666
vec![
67-
content_pair_to_string_pair(last_header.clone()),
6867
content_pair_to_string_pair(history_content),
68+
content_pair_to_string_pair(last_header.clone()),
6969
],
7070
),
7171
HistoryContentKey::EpochAccumulator(_) => (

0 commit comments

Comments
 (0)