Skip to content

Commit

Permalink
rpcv06 incorporate updates from trace_api_openrpc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rianhughes committed Nov 22, 2023
1 parent 96944d9 commit f3fa90a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpc/types_trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f3fa90a

Please sign in to comment.