Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/trace_json_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ Example: the default `TypeKind::Seq` has value `0`, `TypeKind::Set` has value `1
| 10 | Open |
| 11 | Error |
| 12 | TraceLogEvent |
| 13 | EvmEvent |

## Summary

Expand Down
2 changes: 2 additions & 0 deletions runtime_tracing/src/capnptrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ impl From<trace::EventLogKind> for crate::EventLogKind {
trace::EventLogKind::Open => crate::EventLogKind::Open,
trace::EventLogKind::Error => crate::EventLogKind::Error,
trace::EventLogKind::TraceLogEvent => crate::EventLogKind::TraceLogEvent,
trace::EventLogKind::EvmEvent => crate::EventLogKind::EvmEvent,
}
}
}
Expand All @@ -127,6 +128,7 @@ impl From<crate::EventLogKind> for trace::EventLogKind {
crate::EventLogKind::Open => trace::EventLogKind::Open,
crate::EventLogKind::Error => trace::EventLogKind::Error,
crate::EventLogKind::TraceLogEvent => trace::EventLogKind::TraceLogEvent,
crate::EventLogKind::EvmEvent => trace::EventLogKind::EvmEvent,
}
}
}
Expand Down
1 change: 1 addition & 0 deletions runtime_tracing/src/trace.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,6 @@ struct Trace {
open @8;
error @9;
traceLogEvent @10;
evmEvent @13;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why does it jump from @10 to @13

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, this is declaration order in time of schema changes, sorry

}
}
1 change: 1 addition & 0 deletions runtime_tracing/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,5 @@ pub enum EventLogKind {
Error,
// used for trace events
TraceLogEvent,
EvmEvent
}