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

Add AllDenomMetadata BankQuery (backport #1426) #1518

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 18, 2023

This is an automatic backport of pull request #1426 done by Mergify.
Cherry-pick of d2e9ace has failed:

Resolved the merge conflict manually

* x/wasm: add AllDenomMetadata BankQuery

* x/wasm: fix AllDenomMetadata BankQuery to have pagination and add DenomMetadata BankQuery

* Use simplified pagination

* Fix request conversion

* Add unknown denom test cases

* Add test for pagination conversion

* Fix nits

* Use wasmvm 1.3.0-rc.0

* Fix test

---------

Co-authored-by: Nikhil Suri <nikhilsuri@comcast.net>
(cherry picked from commit d2e9ace)

# Conflicts:
#	x/wasm/keeper/query_plugins.go
@mergify mergify bot requested a review from alpe as a code owner July 18, 2023 13:32
@mergify mergify bot added the conflicts label Jul 18, 2023
@alpe
Copy link
Contributor

alpe commented Jul 18, 2023

I have resolved the conflicts. The DenomMetadata for sdk 45 and 47+ are differnet:

  •           URI:         metadata.URI,
    
  •           URIHash:     metadata.URIHash,
    

@alpe alpe requested a review from pinosu July 18, 2023 13:51
@alpe alpe removed the conflicts label Jul 18, 2023
@alpe alpe removed their request for review July 18, 2023 13:54
@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Merging #1518 (22c12f2) into releases/v0.3x (c2a8e51) will increase coverage by 0.19%.
The diff coverage is 95.55%.

Impacted file tree graph

@@                Coverage Diff                 @@
##           releases/v0.3x    #1518      +/-   ##
==================================================
+ Coverage           57.68%   57.88%   +0.19%     
==================================================
  Files                  57       57              
  Lines                7534     7579      +45     
==================================================
+ Hits                 4346     4387      +41     
- Misses               2879     2881       +2     
- Partials              309      311       +2     
Impacted Files Coverage Δ
x/wasm/keeper/query_plugins.go 84.06% <95.45%> (+1.45%) ⬆️
app/wasm.go 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Copy link
Contributor

@pinosu pinosu left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@alpe alpe merged commit 309146a into releases/v0.3x Jul 19, 2023
8 checks passed
@alpe alpe deleted the mergify/bp/releases/v0.3x/pr-1426 branch July 19, 2023 09:27
@pinosu pinosu mentioned this pull request Aug 1, 2023
5 tasks
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