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

refactor: refactor TestStoreAndInstantiateContract #98

Merged
merged 14 commits into from
Aug 25, 2023

Conversation

Kynea0b
Copy link

@Kynea0b Kynea0b commented Aug 24, 2023

Description

Refactor TestStoreAndInstantiateContract

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. (not needed)
  • I have updated the documentation accordingly. (not needed)
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml (not needed)

@Kynea0b Kynea0b marked this pull request as ready for review August 24, 2023 06:48
@Kynea0b Kynea0b self-assigned this Aug 24, 2023
Copy link

@170210 170210 left a comment

Choose a reason for hiding this comment

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

I think there's no need to test the Index field

x/wasmplus/keeper/msg_server_integration_test.go Outdated Show resolved Hide resolved
x/wasmplus/keeper/msg_server_integration_test.go Outdated Show resolved Hide resolved
x/wasmplus/keeper/msg_server_integration_test.go Outdated Show resolved Hide resolved
@Kynea0b Kynea0b changed the title refactor: Changed to use abci type refactor: refactor TestStoreAndInstantiateContract Aug 24, 2023
@da1suk8
Copy link
Member

da1suk8 commented Aug 25, 2023

LGTM, I will approve when the conflict has been corrected.

@Kynea0b
Copy link
Author

Kynea0b commented Aug 25, 2023

@170210 Since there is no particular reason to delete it, it is better to test all fields.

@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Merging #98 (31d0bab) into main (be8e483) will decrease coverage by 0.08%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
- Coverage   63.69%   63.62%   -0.08%     
==========================================
  Files          80       80              
  Lines        9994    10001       +7     
==========================================
- Hits         6366     6363       -3     
- Misses       3299     3308       +9     
- Partials      329      330       +1     

see 2 files with indirect coverage changes

dudong2
dudong2 previously approved these changes Aug 25, 2023
da1suk8
da1suk8 previously approved these changes Aug 25, 2023
@Kynea0b Kynea0b dismissed stale reviews from da1suk8 and dudong2 via f72ad5b August 25, 2023 06:15
@Kynea0b
Copy link
Author

Kynea0b commented Aug 25, 2023

Sorry, the last two commits are wrong, so I will revert.

@Kynea0b Kynea0b merged commit 93fed34 into Finschia:main Aug 25, 2023
12 checks passed
@zemyblue zemyblue mentioned this pull request Oct 19, 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.

4 participants