@@ -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 )
@@ -437,7 +437,7 @@ func StartEngine(
437437}
438438
439439// setupCrossSporkClient sets up a cross-spork AN client.
440- func setupCrossSporkClient (config * config.Config , logger zerolog.Logger ) (* requester.CrossSporkClient , error ) {
440+ func setupCrossSporkClient (config config.Config , logger zerolog.Logger ) (* requester.CrossSporkClient , error ) {
441441 // create access client with cross-spork capabilities
442442 currentSporkClient , err := grpc .NewClient (
443443 config .AccessNodeHost ,
@@ -479,7 +479,7 @@ func setupCrossSporkClient(config *config.Config, logger zerolog.Logger) (*reque
479479// setupStorage creates storage and initializes it with configured starting cadence height
480480// in case such a height doesn't already exist in the database.
481481func setupStorage (
482- config * config.Config ,
482+ config config.Config ,
483483 client * requester.CrossSporkClient ,
484484 logger zerolog.Logger ,
485485) (* pebbleDB.DB , * Storages , error ) {
@@ -576,7 +576,7 @@ func setupStorage(
576576// Run will run complete bootstrap of the EVM gateway with all the engines.
577577// Run is a blocking call, but it does signal readiness of the service
578578// through a channel provided as an argument.
579- func Run (ctx context.Context , cfg * config.Config , ready component.ReadyFunc ) error {
579+ func Run (ctx context.Context , cfg config.Config , ready component.ReadyFunc ) error {
580580 boot , err := New (cfg )
581581 if err != nil {
582582 return err
0 commit comments