@@ -51,7 +51,7 @@ type Publishers struct {
5151
5252type Bootstrap struct {
5353 logger zerolog.Logger
54- config * config.Config
54+ config config.Config
5555 client * requester.CrossSporkClient
5656 storages * Storages
5757 publishers * Publishers
@@ -63,7 +63,7 @@ type Bootstrap struct {
6363 db * pebbleDB.DB
6464}
6565
66- func New (config * config.Config ) (* Bootstrap , error ) {
66+ func New (config config.Config ) (* Bootstrap , error ) {
6767 logger := zerolog .New (config .LogWriter ).
6868 With ().Timestamp ().Str ("version" , api .Version ).
6969 Logger ().Level (config .LogLevel )
@@ -432,7 +432,7 @@ func StartEngine(
432432}
433433
434434// setupCrossSporkClient sets up a cross-spork AN client.
435- func setupCrossSporkClient (config * config.Config , logger zerolog.Logger ) (* requester.CrossSporkClient , error ) {
435+ func setupCrossSporkClient (config config.Config , logger zerolog.Logger ) (* requester.CrossSporkClient , error ) {
436436 // create access client with cross-spork capabilities
437437 currentSporkClient , err := grpc .NewClient (
438438 config .AccessNodeHost ,
@@ -474,7 +474,7 @@ func setupCrossSporkClient(config *config.Config, logger zerolog.Logger) (*reque
474474// setupStorage creates storage and initializes it with configured starting cadence height
475475// in case such a height doesn't already exist in the database.
476476func setupStorage (
477- config * config.Config ,
477+ config config.Config ,
478478 client * requester.CrossSporkClient ,
479479 logger zerolog.Logger ,
480480) (* pebbleDB.DB , * Storages , error ) {
@@ -571,7 +571,7 @@ func setupStorage(
571571// Run will run complete bootstrap of the EVM gateway with all the engines.
572572// Run is a blocking call, but it does signal readiness of the service
573573// through a channel provided as an argument.
574- func Run (ctx context.Context , cfg * config.Config , ready component.ReadyFunc ) error {
574+ func Run (ctx context.Context , cfg config.Config , ready component.ReadyFunc ) error {
575575 boot , err := New (cfg )
576576 if err != nil {
577577 return err
0 commit comments