From f0a8824f8883137e24ea42f3badc0149fccf24cc Mon Sep 17 00:00:00 2001 From: Arijit Das Date: Thu, 1 Jul 2021 11:45:11 +0530 Subject: [PATCH] Remove type definition for AccessListElementModel --- statediff/indexer/indexer.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/statediff/indexer/indexer.go b/statediff/indexer/indexer.go index 85d0018d0..c67442760 100644 --- a/statediff/indexer/indexer.go +++ b/statediff/indexer/indexer.go @@ -23,8 +23,6 @@ import ( "math/big" "time" - "github.com/lib/pq" - "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/state" "github.com/ethereum/go-ethereum/core/types" @@ -335,14 +333,6 @@ func (sdi *StateDiffIndexer) processReceiptsAndTxs(tx *sqlx.Tx, args processArgs return err } - // AccessListEntryModel is the db model for eth.access_list_entry - type AccessListElementModel struct { - ID int64 `db:"id"` - Index int64 `db:"index"` - TxID int64 `db:"tx_id"` - Address string `db:"address"` - StorageKeys pq.StringArray `db:"storage_keys"` - } // index access list if this is one for j, accessListElement := range trx.AccessList() { storageKeys := make([]string, len(accessListElement.StorageKeys))