diff --git a/rpc/types_trace.go b/rpc/types_trace.go index 5c84c22a..8f5c8bd9 100644 --- a/rpc/types_trace.go +++ b/rpc/types_trace.go @@ -65,6 +65,7 @@ type DeployAccountTxnTrace struct { type L1HandlerTxnTrace struct { //the trace of the __execute__ call or constructor call, depending on the transaction type (none for declare transactions) FunctionInvocation FnInvocation `json:"function_invocation"` + StateDiff StateDiff `json:"state_diff"` Type TransactionType `json:"type"` } @@ -107,6 +108,9 @@ type FnInvocation struct { // The messages sent by this invocation to L1 L1Messages []OrderedMsg `json:"messages"` + + // Resources consumed by the internal call + ExecutionResources ExecutionResources `json:"execution_resources"` } // A single pair of transaction hash and corresponding trace