Skip to content

Commit 225be55

Browse files
committed
fix: remove redundant block kind; tag -> type
1 parent 8748f92 commit 225be55

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

data/simulation/trace.haskell.d.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type HaskellEvent =
1313
| HaskellNetworkEvent; // Combine Sent/Received into network events
1414

1515
interface HaskellCpuEvent {
16-
tag: "Cpu";
16+
type: "Cpu";
1717
node: string;
1818
cpu_time_s: number;
1919
// CPU task types: Block validation (ValIB, ValEB, ValRB), Header validation (ValIH, ValRH), Vote validation (ValVote). Format: "<task_type>: <id>"
@@ -29,25 +29,21 @@ interface BaseBlockEvent {
2929
}
3030

3131
interface InputBlockEvent extends BaseBlockEvent {
32-
kind: "IB";
3332
slot: number;
3433
payload_bytes: number;
3534
rb_ref: string; // Reference to ranking block
3635
}
3736

3837
interface EndorserBlockEvent extends BaseBlockEvent {
39-
kind: "EB";
4038
slot: number;
4139
input_blocks: string[]; // References to input blocks
4240
}
4341

4442
interface RankingBlockEvent extends BaseBlockEvent {
45-
kind: "RB";
4643
slot: number;
4744
}
4845

4946
interface VoteEvent extends BaseBlockEvent {
50-
kind: "VT";
5147
votes: number;
5248
endorse_blocks: string[]; // References to endorser blocks
5349
}

0 commit comments

Comments
 (0)