From 6f89dfee516ff55d8469f0e884028b3164bdfd34 Mon Sep 17 00:00:00 2001 From: Josh Klopfenstein Date: Fri, 24 Nov 2023 09:41:15 -0600 Subject: [PATCH] Ensure all builtin applciations are stored in db --- core/transaction.go | 17 +++++++++-------- starknet/transaction.go | 17 +++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/core/transaction.go b/core/transaction.go index c84e3ebdf3..cdbd663254 100644 --- a/core/transaction.go +++ b/core/transaction.go @@ -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 { diff --git a/starknet/transaction.go b/starknet/transaction.go index 0efab86923..d9075d3307 100644 --- a/starknet/transaction.go +++ b/starknet/transaction.go @@ -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 {