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

test: add event checking to TestInstantiateContract #70

Merged
merged 3 commits into from
Aug 16, 2023

Conversation

da1suk8
Copy link
Member

@da1suk8 da1suk8 commented Aug 14, 2023

Description

TestInstantiateContract

https://github.com/Finschia/wasmd/blob/main/docs/proto/proto-docs.md#msginstantiatecontract

This PR adds an integration test for TestInstantiateContract.

This test is based on https://github.com/CosmWasm/wasmd/blob/33df4aeaaa419f6aad07b94d64c0423bee0a2d21/x/wasm/keeper/msg_server_integration_test.go#L827-L897

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

@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #70 (56dfeb6) into main (484e437) will increase coverage by 0.04%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   62.28%   62.32%   +0.04%     
==========================================
  Files          80       80              
  Lines        9966     9966              
==========================================
+ Hits         6207     6211       +4     
+ Misses       3432     3429       -3     
+ Partials      327      326       -1     

see 1 file with indirect coverage changes

@da1suk8 da1suk8 self-assigned this Aug 15, 2023
@da1suk8 da1suk8 marked this pull request as ready for review August 16, 2023 00:26
@da1suk8 da1suk8 merged commit 8eca926 into Finschia:main Aug 16, 2023
12 checks passed
@da1suk8 da1suk8 deleted the test/TestInstantiateContract branch August 16, 2023 02:45
@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.

3 participants