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

[SC] Minor refactored #1285

Merged
merged 7 commits into from
Apr 14, 2022
Merged

[SC] Minor refactored #1285

merged 7 commits into from
Apr 14, 2022

Conversation

hyunsooda
Copy link
Contributor

@hyunsooda hyunsooda commented Mar 28, 2022

Proposed changes

  • Added missing error check in the bridge_manager_test.go. Some of the existing error checking checks like if err != nil and panics with a log if it goes into that. I think they seem verbose and can be neat by replacing with assertion.
  • Fixed a variable typo.
  • Replaced literal string to global constant.

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes ($ make test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Related issues

  • Please leave the issue numbers or links related to this PR here.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@hyunsooda hyunsooda changed the title [SC] Added missing error check [SC] Minor refactored Mar 28, 2022
kjhman21
kjhman21 previously approved these changes Mar 28, 2022
Copy link
Collaborator

@kjhman21 kjhman21 left a comment

Choose a reason for hiding this comment

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

LGTM.

@kjhman21
Copy link
Collaborator

@aidan-kwon @henry-will Please take a look.

KimKyungup
KimKyungup previously approved these changes Mar 30, 2022
henry-will
henry-will previously approved these changes Mar 31, 2022
Copy link
Contributor

@henry-will henry-will left a comment

Choose a reason for hiding this comment

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

it's Good.

@hyunsooda hyunsooda dismissed stale reviews from henry-will, KimKyungup, and kjhman21 via cc66fce March 31, 2022 14:13
@hyunsooda
Copy link
Contributor Author

The name of constant variables was renamed by go-convention.

hqjang-pepper
hqjang-pepper previously approved these changes Apr 4, 2022
node/sc/bridge_accounts.go Outdated Show resolved Hide resolved
node/sc/bridge_accounts.go Outdated Show resolved Hide resolved
@henry-will henry-will added this to the v1.8.3 milestone Apr 7, 2022
@hyunsooda hyunsooda requested a review from ehnuje as a code owner April 7, 2022 04:17
ehnuje
ehnuje previously approved these changes Apr 7, 2022
kjhman21
kjhman21 previously approved these changes Apr 7, 2022
hqjang-pepper
hqjang-pepper previously approved these changes Apr 7, 2022
aidan-kwon
aidan-kwon previously approved these changes Apr 12, 2022
KimKyungup
KimKyungup previously approved these changes Apr 13, 2022
@aidan-kwon aidan-kwon added the need to merge Need to merge for the next time label Apr 14, 2022
@henry-will
Copy link
Contributor

@jeongkyun-oh please, review in your valuable time.

@aidan-kwon aidan-kwon merged commit 97b8e67 into klaytn:dev Apr 14, 2022
@henry-will henry-will modified the milestones: v1.8.3, v1.8.4 Apr 18, 2022
@henry-will henry-will removed the need to merge Need to merge for the next time label May 9, 2022
aidan-kwon added a commit that referenced this pull request May 13, 2022
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.

None yet

8 participants