File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -208,21 +208,21 @@ impl<T> CheatStatus<T> {
208208
209209#[ derive( Clone , Debug ) ]
210210pub struct GasReportData {
211- execution_summary : ExecutionSummary ,
212- gas : OnceCell < GasVector > ,
211+ pub execution_summary : ExecutionSummary ,
212+ partial_gas_usage : OnceCell < GasVector > ,
213213}
214214
215215impl GasReportData {
216216 #[ must_use]
217217 pub fn new ( execution_summary : ExecutionSummary ) -> Self {
218218 Self {
219219 execution_summary,
220- gas : OnceCell :: new ( ) ,
220+ partial_gas_usage : OnceCell :: new ( ) ,
221221 }
222222 }
223223
224224 pub fn get_gas ( & self ) -> & GasVector {
225- self . gas . get_or_init ( || {
225+ self . partial_gas_usage . get_or_init ( || {
226226 self . execution_summary . clone ( ) . to_partial_gas_vector (
227227 VersionedConstants :: latest_constants ( ) ,
228228 & GasVectorComputationMode :: All ,
You can’t perform that action at this time.
0 commit comments