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

fix: fill ContractInfo result's Updated field #89

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

170210
Copy link

@170210 170210 commented Aug 21, 2023

Description

Without this PR, ContractInfo always returns its' Updated field as nil.

How has this been tested?

Unit tests

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

Signed-off-by: 170210 <j170210@icloud.com>
Signed-off-by: 170210 <j170210@icloud.com>
@170210 170210 self-assigned this Aug 21, 2023
@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

Merging #89 (660547f) into main (40fa7c7) will increase coverage by 0.02%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #89      +/-   ##
==========================================
+ Coverage   62.80%   62.82%   +0.02%     
==========================================
  Files          80       80              
  Lines        9966     9965       -1     
==========================================
+ Hits         6259     6261       +2     
+ Misses       3379     3377       -2     
+ Partials      328      327       -1     
Files Changed Coverage Δ
x/wasm/keeper/querier.go 86.41% <ø> (-0.06%) ⬇️

... and 1 file with indirect coverage changes

@170210 170210 marked this pull request as ready for review August 21, 2023 06:39
@170210 170210 merged commit 1b88f0d into Finschia:main Aug 22, 2023
12 checks passed
170210 added a commit to 170210/wasmd that referenced this pull request Aug 22, 2023
* fix: fill Updated in queryContractInfo result

Signed-off-by: 170210 <j170210@icloud.com>

* chore: add this PR to CHANGELOG

Signed-off-by: 170210 <j170210@icloud.com>

---------

Signed-off-by: 170210 <j170210@icloud.com>
170210 added a commit that referenced this pull request Aug 22, 2023
* fix: fill ContractInfo result's Updated field (#89)

* fix: fill Updated in queryContractInfo result

Signed-off-by: 170210 <j170210@icloud.com>

* chore: add this PR to CHANGELOG

Signed-off-by: 170210 <j170210@icloud.com>

---------

Signed-off-by: 170210 <j170210@icloud.com>

* chore: fix CHANGELOG

Signed-off-by: 170210 <j170210@icloud.com>

---------

Signed-off-by: 170210 <j170210@icloud.com>
@170210 170210 deleted the fixup/query_code_nil branch September 7, 2023 04:28
@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