Skip to content

Commit a5e79dc

Browse files
committed
feat: add state root time to meter bundle response
Add state_root_time_us field to MeterBundleResponse to expose state root calculation time in the metering RPC response. This enables clients to track the performance of state root calculations separately from total execution time.
1 parent 27674ae commit a5e79dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/core/src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ pub struct MeterBundleResponse {
156156
pub state_block_number: u64,
157157
pub total_gas_used: u64,
158158
pub total_execution_time_us: u128,
159+
pub state_root_time_us: u128,
159160
}
160161

161162
#[cfg(test)]

0 commit comments

Comments
 (0)