Showing 1,971 of 13,422 total issues
Method EventDB.RetrieveLogsInRangeAsc
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *EventDB) RetrieveLogsInRangeAsc(ctx context.Context, logFilter db.LogFilter, startBlock uint64, endBlock uint64, page int) ([]*types.Log, error) {
Function PopulateWithLogs
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func PopulateWithLogs(ctx context.Context, t *testing.T, backend backends.SimulatedTestBackend, desiredBlockHeight uint64, managers []*DeployManager) (*TestChainHandler, error) {
Method Store.retrieveLogsInRangeQuery
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s Store) retrieveLogsInRangeQuery(ctx context.Context, logFilter db.LogFilter, startBlock, endBlock uint64, page int, order string) (logs []*types.Log, err error) {
Method Store.RetrieveReceiptsFromHeadRangeQuery
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s Store) RetrieveReceiptsFromHeadRangeQuery(ctx context.Context, receiptFilter db.ReceiptFilter, startBlock uint64, endBlock uint64, page int) ([]types.Receipt, error) {
Function getLogAmount
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func getLogAmount(ctx context.Context, db db.EventDB, filter db.LogFilter, startBlock uint64, endBlock uint64) (int, []*types.Log, error) {
Method EventDB.RetrieveEthTxsInRange
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *EventDB) RetrieveEthTxsInRange(ctx context.Context, ethTxFilter db.EthTxFilter, startBlock uint64, endBlock uint64, page int) ([]db.TxWithBlockNumber, error) {
Method EventDB.StoreLastIndexed
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *EventDB) StoreLastIndexed(ctx context.Context, contractAddress common.Address, chainID uint32, blockNumber uint64, livefillAtHead bool) error {
Function getDeployBlock
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func getDeployBlock(ctx context.Context, cg ClientGenerator, omniRPCUrl string, txhash common.Hash, chainID uint32) (block uint64, err error) {
Method EventDB.RetrieveReceiptsWithStaleBlockHash
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *EventDB) RetrieveReceiptsWithStaleBlockHash(ctx context.Context, chainID uint32, blockHashes []string, startBlock uint64, endBlock uint64) ([]types.Receipt, error) {
Method Store.RetrieveLogsFromHeadRangeQuery
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s Store) RetrieveLogsFromHeadRangeQuery(ctx context.Context, logFilter db.LogFilter, startBlock uint64, endBlock uint64, page int) ([]*types.Log, error) {
Method EventDB.RetrieveLogsInRange
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *EventDB) RetrieveLogsInRange(ctx context.Context, logFilter db.LogFilter, startBlock uint64, endBlock uint64, page int) ([]*types.Log, error) {
Method Client.GetReceipts
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c *Client) GetReceipts(ctx context.Context, chainID int, page int, blockNumber int, httpRequestOptions ...client.HTTPRequestOption) (*GetReceipts, error) {
Method EventDB.RetrieveReceiptsInRange
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *EventDB) RetrieveReceiptsInRange(ctx context.Context, receiptFilter db.ReceiptFilter, startBlock uint64, endBlock uint64, page int) ([]types.Receipt, error) {
Method Store.StoreLastIndexed
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s Store) StoreLastIndexed(parentCtx context.Context, contractAddress common.Address, chainID uint32, blockNumber uint64, livefillAtHead bool) (err error) {
Function performRequest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func performRequest(ctx context.Context, r http.Handler, method, contentType string, path string, body io.Reader) *httptest.ResponseRecorder {
Method Store.RetrieveReceiptsWithStaleBlockHash
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s Store) RetrieveReceiptsWithStaleBlockHash(ctx context.Context, chainID uint32, blockHashes []string, startBlock uint64, endBlock uint64) ([]types.Receipt, error) {
Function InitDB
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func InitDB(ctx context.Context, databaseType string, path string, metrics metrics.Handler, skipMigrations bool) (db.EventDB, error) {
Function saveElementState
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func saveElementState(m *HistoricalTree, h uint32, x uint32, count uint32, item []byte) {
Function newBaseHandlerWithTracerProvider
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func newBaseHandlerWithTracerProvider(rsr *resource.Resource, buildInfo config.BuildInfo, unwrappedTP *tracesdk.TracerProvider, tracerProvider trace.TracerProvider, propagator propagation.TextMapPropagator) *baseHandler {
Function RPCClient
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func RPCClient(ctx context.Context, metrics Handler, url string, client *http.Client, opts ...otelhttp.Option) (*rpc.Client, error) {