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

feat: add custom queries to wasm module (backport #5261) #5292

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 1, 2023

This is an automatic backport of pull request #5261 done by Mergify.
Cherry-pick of 7016a94 has failed:

On branch mergify/bp/08-wasm/release/v0.1.x+ibc-go-v7.3.x-wasmvm-v1.5.x/pr-5261
Your branch is up to date with 'origin/08-wasm/release/v0.1.x+ibc-go-v7.3.x-wasmvm-v1.5.x'.

You are currently cherry-picking commit 7016a94e.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   modules/light-clients/08-wasm/internal/ibcwasm/querier.go
	new file:   modules/light-clients/08-wasm/types/querier_test.go
	modified:   modules/light-clients/08-wasm/types/vm.go

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by us:   docs/docs/03-light-clients/04-wasm/03-integration.md
	deleted by us:   docs/docs/03-light-clients/04-wasm/05-governance.md
	both modified:   modules/light-clients/08-wasm/internal/ibcwasm/wasm.go
	both modified:   modules/light-clients/08-wasm/keeper/keeper.go
	both modified:   modules/light-clients/08-wasm/keeper/keeper_test.go
	both modified:   modules/light-clients/08-wasm/testing/simapp/app.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* feat: add custom queries to wasm module

Signed-off-by: aeryz <abdullaheryz@protonmail.com>

* linter stuff as per usual.

* review comments

Signed-off-by: aeryz <abdullaheryz@protonmail.com>

* lint

Signed-off-by: aeryz <abdullaheryz@protonmail.com>

* Use wasmvm.Querier.

* Lint this bad boy

* Small test nits.

* add default querier and update documentation

---------

Signed-off-by: aeryz <abdullaheryz@protonmail.com>
Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
Co-authored-by: Carlos Rodriguez <carlos@interchain.io>
(cherry picked from commit 7016a94)

# Conflicts:
#	docs/docs/03-light-clients/04-wasm/03-integration.md
#	docs/docs/03-light-clients/04-wasm/05-governance.md
#	modules/light-clients/08-wasm/internal/ibcwasm/wasm.go
#	modules/light-clients/08-wasm/keeper/keeper.go
#	modules/light-clients/08-wasm/keeper/keeper_test.go
#	modules/light-clients/08-wasm/testing/simapp/app.go
@DimitrisJim DimitrisJim removed their assignment Dec 1, 2023
@crodriguezvega crodriguezvega merged commit cc4eded into 08-wasm/release/v0.1.x+ibc-go-v7.3.x-wasmvm-v1.5.x Dec 1, 2023
17 checks passed
@crodriguezvega crodriguezvega deleted the mergify/bp/08-wasm/release/v0.1.x+ibc-go-v7.3.x-wasmvm-v1.5.x/pr-5261 branch December 1, 2023 10:33
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