@@ -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 )
@@ -185,7 +185,7 @@ func (b *Bootstrap) StartAPIServer(ctx context.Context) error {
185185	b .server  =  api .NewServer (b .logger , b .collector , b .config )
186186
187187	// create the signer based on either a single coa key being provided and using a simple in-memory 
188- 	// signer, or multiple keys being provided and using signer with key-rotation mechanism. 
188+ 	// signer, or multiple keys being provided and using signer with key-rotation mechanism.bootstrap/bootstrap.go  
189189	var  signer  crypto.Signer 
190190	var  err  error 
191191	switch  {
@@ -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