File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ impl Store for ComputePhase {
68
68
ok ! ( builder. store_u32( phase. vm_steps) ) ;
69
69
ok ! ( builder. store_u256( & phase. vm_init_state_hash) ) ;
70
70
ok ! ( builder. store_u256( & phase. vm_final_state_hash) ) ;
71
+ ok ! ( phase. missing_library. store_into( & mut builder, context) ) ;
71
72
ok ! ( builder. build_ext( context) )
72
73
} ;
73
74
@@ -107,6 +108,7 @@ impl<'a> Load<'a> for ComputePhase {
107
108
vm_steps : ok ! ( slice. load_u32( ) ) ,
108
109
vm_init_state_hash : ok ! ( slice. load_u256( ) ) ,
109
110
vm_final_state_hash : ok ! ( slice. load_u256( ) ) ,
111
+ missing_library : ok ! ( Option :: <HashBytes >:: load_from( slice) ) ,
110
112
} ) )
111
113
}
112
114
}
@@ -141,6 +143,8 @@ pub struct ExecutedComputePhase {
141
143
pub vm_init_state_hash : HashBytes ,
142
144
/// Hash of the VM state after executing this phase.
143
145
pub vm_final_state_hash : HashBytes ,
146
+ /// Hash of the library which was missing during execution.
147
+ pub missing_library : Option < HashBytes > ,
144
148
}
145
149
146
150
/// Skipped compute phase info.
You can’t perform that action at this time.
0 commit comments