diff --git a/src/rust/cctrusted_vm/src/tdvm.rs b/src/rust/cctrusted_vm/src/tdvm.rs index 7434fbf..c066aea 100644 --- a/src/rust/cctrusted_vm/src/tdvm.rs +++ b/src/rust/cctrusted_vm/src/tdvm.rs @@ -597,7 +597,7 @@ impl CVM for TdxVM { &self, eventlogs: Vec, ) -> Result, anyhow::Error> { - EventLogs::replay(eventlogs) + EventLogs::replay(eventlogs, TdxRTMR::max_index().into()) } // CVM trait function: retrive CVM type