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

[Chore] Cleanup with more lint rules #338

Merged
merged 6 commits into from
Feb 12, 2024
Merged

[Chore] Cleanup with more lint rules #338

merged 6 commits into from
Feb 12, 2024

Conversation

RogerKSI
Copy link
Contributor

@RogerKSI RogerKSI commented Feb 3, 2024

Implementation details

  • add more lint rules
  • fix lint based on new rules

Please ensure the following requirements are met before submitting a pull request:

  • The pull request is targeted against the correct target branch
  • The pull request is linked to an issue with appropriate discussion and an accepted design OR is linked to a spec that describes the work.
  • The pull request includes a description of the implementation/work done in detail.
  • The pull request includes any and all appropriate unit/integration tests
  • You have added a relevant changelog entry to CHANGELOG_UNRELEASED.md
  • You have re-reviewed the files affected by the pull request (e.g. using the Files changed tab in the Github PR explorer)

@RogerKSI RogerKSI changed the base branch from master to cleanup February 3, 2024 12:28
@RogerKSI RogerKSI requested review from taobun, colmazia and satawatnack and removed request for taobun and colmazia February 3, 2024 12:29
Base automatically changed from cleanup to master February 8, 2024 09:20
@@ -71,7 +70,7 @@ func (k WrappedBankKeeper) BurnCoins(ctx sdk.Context, moduleName string, amt sdk
}

// Instead of burning coins, we send them to the community pool.
k.SendCoinsFromModuleToModule(ctx, moduleName, distrtypes.ModuleName, amt)
_ = k.SendCoinsFromModuleToModule(ctx, moduleName, distrtypes.ModuleName, amt)
Copy link
Member

Choose a reason for hiding this comment

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

Should return error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@@ -86,7 +86,7 @@ func TestExecuteResponseNotOk(t *testing.T) {
}

func TestExecuteFail(t *testing.T) {
testServer := creatExecuteFailSenarioServer()
testServer := createExecuteFailSenarioServer()
Copy link
Member

Choose a reason for hiding this comment

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

Scenario

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@RogerKSI RogerKSI requested a review from taobun February 11, 2024 14:55
@taobun taobun merged commit 69e278e into master Feb 12, 2024
2 checks passed
@taobun taobun deleted the cleanup-stricter branch February 12, 2024 11:17
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