Skip to content

Commit

Permalink
Fix head assertion csv data
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Feb 14, 2024
1 parent f58e1d7 commit c749723
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const headAssertion: SimulationAssertion<"head", HeadSummary> = {
*/
const result = [`Slot,${nodes.map((n) => n.beacon.id).join(", ")}`];
for (let s = 1; s <= slot; s++) {
result.push(`${s}, ${nodes.map((n) => store[n.beacon.id][s] ?? "-").join(",")}`);
result.push(`${s}, ${nodes.map((n) => store[n.beacon.id][s].blockRoot ?? "-").join(",")}`);
}
return {"headAssertion.csv": result.join("\n")};
},
Expand Down

0 comments on commit c749723

Please sign in to comment.