From 3da33b6b39e85092637268d226c5c0a1d89da1ae Mon Sep 17 00:00:00 2001 From: Joonatan Saarhelo Date: Mon, 6 May 2024 14:06:04 +0200 Subject: [PATCH] public pubdata --- src/callframe.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callframe.rs b/src/callframe.rs index 9f316cfe..98e364fb 100644 --- a/src/callframe.rs +++ b/src/callframe.rs @@ -20,6 +20,8 @@ pub struct Callframe { pub gas: u32, pub stipend: u32, + pub total_pubdata_spent: i32, + near_calls: Vec, pub(crate) program: Program, @@ -36,8 +38,6 @@ pub struct Callframe { pub(crate) heaps_i_am_keeping_alive: Vec, pub(crate) world_before_this_frame: Snapshot, - - pub(crate) total_pubdata_spent: i32, } #[derive(Clone, PartialEq, Debug)]