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

feat: Add smart provider log setter #4007

Merged
merged 9 commits into from
Jun 21, 2024
Merged

Conversation

ltyu
Copy link
Contributor

@ltyu ltyu commented Jun 19, 2024

Description

  • Add logic to enable setting of log levels to the SmartProvider.
  • Add logic to set log level to silent in the beginning of deriveTokenType(), and then resetting it after.

Related issues

Backward compatibility

Yes

Testing

Manual

Copy link

changeset-bot bot commented Jun 19, 2024

🦋 Changeset detected

Latest commit: 007ef7f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@hyperlane-xyz/sdk Minor
@hyperlane-xyz/cli Minor
@hyperlane-xyz/helloworld Minor
@hyperlane-xyz/infra Minor
@hyperlane-xyz/core Minor
@hyperlane-xyz/ccip-server Minor
@hyperlane-xyz/utils Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ltyu ltyu requested review from nbayindirli and removed request for Skunkchain and avious00 June 19, 2024 17:46
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.56%. Comparing base (39f66df) to head (007ef7f).

Additional details and impacted files
@@           Coverage Diff            @@
##           cli-2.0    #4007   +/-   ##
========================================
  Coverage    60.56%   60.56%           
========================================
  Files          129      129           
  Lines         1656     1656           
  Branches       176      176           
========================================
  Hits          1003     1003           
  Misses         626      626           
  Partials        27       27           
Components Coverage Δ
core 84.61% <ø> (ø)
hooks 67.50% <ø> (ø)
isms 39.52% <ø> (ø)
token 62.83% <ø> (ø)
middlewares 77.05% <ø> (ø)

@ltyu ltyu marked this pull request as draft June 19, 2024 21:02
@ltyu ltyu marked this pull request as ready for review June 20, 2024 17:28
@ltyu ltyu requested a review from aroralanuk as a code owner June 20, 2024 17:41
@ltyu ltyu enabled auto-merge June 21, 2024 13:26
@ltyu ltyu force-pushed the ltyu/smart-provider-logging branch from ccfe7a3 to 311417f Compare June 21, 2024 13:57
@ltyu ltyu added this pull request to the merge queue Jun 21, 2024
Merged via the queue into cli-2.0 with commit e38d316 Jun 21, 2024
32 of 33 checks passed
@ltyu ltyu deleted the ltyu/smart-provider-logging branch June 21, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants