Skip to content

Commit

Permalink
Ensure all builtin applciations are stored in db
Browse files Browse the repository at this point in the history
  • Loading branch information
joshklop committed Nov 24, 2023
1 parent 1739224 commit 6f89dfe
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
17 changes: 9 additions & 8 deletions core/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,15 @@ type ExecutionResources struct {
}

type BuiltinInstanceCounter struct {
Pedersen uint64
RangeCheck uint64
Bitwise uint64
Output uint64
Ecsda uint64
EcOp uint64
Keccak uint64
Poseidon uint64
Pedersen uint64
RangeCheck uint64
Bitwise uint64
Output uint64
Ecsda uint64
EcOp uint64
Keccak uint64
Poseidon uint64
SegmentArena uint64
}

type TransactionReceipt struct {
Expand Down
17 changes: 9 additions & 8 deletions starknet/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,15 @@ type ExecutionResources struct {
}

type BuiltinInstanceCounter struct {
Pedersen uint64 `json:"pedersen_builtin"`
RangeCheck uint64 `json:"range_check_builtin"`
Bitwise uint64 `json:"bitwise_builtin"`
Output uint64 `json:"output_builtin"`
Ecsda uint64 `json:"ecdsa_builtin"`
EcOp uint64 `json:"ec_op_builtin"`
Keccak uint64 `json:"keccak_builtin"`
Poseidon uint64 `json:"poseidon_builtin"`
Pedersen uint64 `json:"pedersen_builtin"`
RangeCheck uint64 `json:"range_check_builtin"`
Bitwise uint64 `json:"bitwise_builtin"`
Output uint64 `json:"output_builtin"`
Ecsda uint64 `json:"ecdsa_builtin"`
EcOp uint64 `json:"ec_op_builtin"`
Keccak uint64 `json:"keccak_builtin"`
Poseidon uint64 `json:"poseidon_builtin"`
SegmentArena uint64 `json:"segment_arena_builtin"`
}

type TransactionReceipt struct {
Expand Down

0 comments on commit 6f89dfe

Please sign in to comment.