mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 03:22:18 +00:00
195a72bf74
That's an initial PR mostly for code review, not ready for production use Got basic GraphQL working when querying a single block --------- Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
20 lines
515 B
Go
20 lines
515 B
Go
package graph
|
|
|
|
import (
|
|
"github.com/ledgerwatch/erigon-lib/kv"
|
|
"github.com/ledgerwatch/erigon/cmd/rpcdaemon/commands"
|
|
"github.com/ledgerwatch/erigon/turbo/rpchelper"
|
|
"github.com/ledgerwatch/erigon/turbo/services"
|
|
)
|
|
|
|
// This file will not be regenerated automatically.
|
|
//
|
|
// It serves as dependency injection for your app, add any dependencies you require here.
|
|
|
|
type Resolver struct {
|
|
GraphQLAPI commands.GraphQLAPI
|
|
db kv.RoDB
|
|
filters *rpchelper.Filters
|
|
blockReader services.FullBlockReader
|
|
}
|