Skip to content

Commit

Permalink
chore(logs): Remove unneeded logs (#3256)
Browse files Browse the repository at this point in the history
  • Loading branch information
timwu20 authored May 16, 2023
1 parent d7a90f9 commit df269d0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions dot/core/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ func (s *Service) handleCodeSubstitution(hash common.Hash,
return fmt.Errorf("creating new runtime instance: %w", err)
}

logger.Info("instantiated runtime!!!")

err = s.codeSubstitutedState.StoreCodeSubstitutedBlockHash(hash)
if err != nil {
return fmt.Errorf("storing code substituted block hash: %w", err)
Expand Down
1 change: 0 additions & 1 deletion dot/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ func createRuntime(cfg *Config, ns runtime.NodeStorage, st *state.Service,
if err != nil {
return nil, fmt.Errorf("failed to create runtime executor: %s", err)
}
logger.Info("instantiated runtime!!!")
default:
return nil, fmt.Errorf("%w: %s", ErrWasmInterpreterName, cfg.Core.WasmInterpreter)
}
Expand Down
2 changes: 0 additions & 2 deletions dot/state/initialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,5 @@ func (s *Service) CreateGenesisRuntime(t *trie.Trie, gen *genesis.Genesis) (runt
return nil, fmt.Errorf("failed to create genesis runtime: %w", err)
}

logger.Info("instantiated runtime!!!")

return r, nil
}

0 comments on commit df269d0

Please sign in to comment.