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: add more unittest for MsgIssue of x/token #1128

Merged

Conversation

zemyblue
Copy link
Member

@zemyblue zemyblue commented Sep 20, 2023

Description

  • modify the input validate unittest of x/token MsgIssue
  • Add test case of MsgIssue to check conditions and actions

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

@zemyblue zemyblue self-assigned this Sep 20, 2023
@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #1128 (f1fc11d) into rc/v0.48.0-rcx (4f7b891) will increase coverage by 0.01%.
Report is 3 commits behind head on rc/v0.48.0-rcx.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           rc/v0.48.0-rcx    #1128      +/-   ##
==================================================
+ Coverage           69.76%   69.77%   +0.01%     
==================================================
  Files                 645      645              
  Lines               67469    67482      +13     
==================================================
+ Hits                47067    47083      +16     
+ Misses              18214    18212       -2     
+ Partials             2188     2187       -1     
Files Changed Coverage Δ
x/foundation/codec.go 100.00% <100.00%> (ø)
x/foundation/msgs.go 68.97% <100.00%> (+1.16%) ⬆️

... and 1 file with indirect coverage changes

@zemyblue zemyblue marked this pull request as ready for review September 21, 2023 03:25
Copy link
Contributor

@jaeseung-bae jaeseung-bae left a comment

Choose a reason for hiding this comment

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

How about this indentation for events?
스크린샷 2023-09-21 오후 5 34 09

@zemyblue
Copy link
Member Author

How about this indentation for events?
스크린샷 2023-09-21 오후 5 34 09

That's great. But don't you think is it too long to understand total codes?

@jaeseung-bae
Copy link
Contributor

How about this indentation for events?
스크린샷 2023-09-21 오후 5 34 09

That's great. But don't you think is it too long to understand total codes?

I think so, it is vertically too long. But the events in the original one are horizontally too long.
Let's keep it as is.

@zemyblue zemyblue merged commit d9c5d42 into Finschia:rc/v0.48.0-rcx Sep 22, 2023
37 checks passed
@zemyblue zemyblue deleted the feat/add_unittest_token_issue branch September 22, 2023 09:07
zemyblue added a commit to zemyblue/finschia-sdk that referenced this pull request Sep 22, 2023
…ssion

* rc/v0.48.0-rcx:
  chore: add more unittest for `MsgIssue` of x/token (Finschia#1128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants