@@ -64,7 +64,7 @@ index 4e764de..93cfd6c 100644
6464 [dev-dependencies]
6565 assert_matches = { workspace = true }
6666diff --git a/program-runtime/src/invoke_context.rs b/program-runtime/src/invoke_context.rs
67- index a54e083..4681ab6 100644
67+ index a54e083..05b63f8 100644
6868--- a/program-runtime/src/invoke_context.rs
6969+++ b/program-runtime/src/invoke_context.rs
7070@@ -121,4 +121,5 @@ impl fmt::Display for AllocErr {
@@ -87,13 +87,13 @@ index a54e083..4681ab6 100644
8787+ #[serde(with = "test_fuzz::serde_ref")]
8888 sysvar_cache: &'a SysvarCache,
8989 }
90- @@ -177,4 +184 ,5 @@ impl<'a> EnvironmentConfig<'a> {
90+ @@ -177,4 +181 ,5 @@ impl<'a> EnvironmentConfig<'a> {
9191 }
9292
9393+ #[derive(Clone, serde::Deserialize, serde::Serialize)]
9494 pub struct SyscallContext {
9595 pub allocator: BpfAllocator,
96- @@ -183,5 +191 ,11 @@ pub struct SyscallContext {
96+ @@ -183,5 +188 ,11 @@ pub struct SyscallContext {
9797 }
9898
9999- #[derive(Debug, Clone)]
@@ -106,7 +106,7 @@ index a54e083..4681ab6 100644
106106+ #[derive(Debug, Clone, serde::Deserialize, serde::Serialize)]
107107 pub struct SerializedAccountMetadata {
108108 pub original_data_len: usize,
109- @@ -192,9 +206 ,24 @@ pub struct SerializedAccountMetadata {
109+ @@ -192,9 +203 ,24 @@ pub struct SerializedAccountMetadata {
110110 }
111111
112112+ fn default_program_cache_for_tx_batch<'de, D>(
@@ -131,13 +131,13 @@ index a54e083..4681ab6 100644
131131+ )]
132132 pub program_cache_for_tx_batch: &'a mut ProgramCacheForTxBatch,
133133 /// Runtime configurations used to provision the invocation environment.
134- @@ -207,4 +239 ,5 @@ pub struct InvokeContext<'a> {
134+ @@ -207,4 +233 ,5 @@ pub struct InvokeContext<'a> {
135135 log_collector: Option<Rc<RefCell<LogCollector>>>,
136136 /// Latest measurement not yet accumulated in [ExecuteDetailsTimings::execute_us]
137137+ #[serde(skip)]
138138 pub execute_time: Option<Measure>,
139139 pub timings: ExecuteDetailsTimings,
140- @@ -213,4 +246 ,23 @@ pub struct InvokeContext<'a> {
140+ @@ -213,4 +240 ,23 @@ pub struct InvokeContext<'a> {
141141 }
142142
143143+ impl<'a> Clone for InvokeContext<'a> {
0 commit comments