Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump common; use SugaredLogger methods #11556

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Conversation

jmank88
Copy link
Contributor

@jmank88 jmank88 commented Dec 13, 2023

This PR bumps chainlink-common and swaps in SugaredLogger with chained method calls in places where we were wrapping calls to helper funcs.

Requires:

Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

@jmank88 jmank88 force-pushed the common-sugared-logger branch from 5062f07 to 189b07e Compare December 13, 2023 13:48
@jmank88 jmank88 marked this pull request as ready for review December 13, 2023 13:48
@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 69.3% 69.3% Coverage on New Code (is less than 75%)
Failed condition 3.1% 3.09% Duplicated Lines (%) on New Code (is greater than 3%)

See analysis details on SonarQube

@@ -40,7 +40,7 @@ type HeadTracker[
BLOCK_HASH types.Hashable,
] struct {
services.StateMachine
log logger.Logger
log logger.SugaredLogger
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: what are your thoughts on changing log -> lggr?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in favor, but we can circle back to limit scope creep on this PR.

@jmank88 jmank88 added this pull request to the merge queue Dec 13, 2023
Merged via the queue into develop with commit 862f79a Dec 13, 2023
80 of 82 checks passed
@jmank88 jmank88 deleted the common-sugared-logger branch December 13, 2023 18:39
fbac pushed a commit that referenced this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants