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: CosmWasm Pool raw state query (backport #9006) #9008

Merged
merged 3 commits into from
Feb 28, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 28, 2025

What is the purpose of the change

These changes add a new query to the x/cosmwasmpool module that allows querying raw contract state. The query also accepts a filtering string for both key and/or value that will only return values that contain the string for the provided filters.

Testing and Verifying

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes?
  • Changelog entry added to Unreleased section of CHANGELOG.md?

Where is the change documented?

* feat: orderbook orders raw grpc query

* chore: comment

* ref: generalised pool raw state query

* fix: generate proto

* fix: remove unused keeper

* Generated protofile changes

* chore: changelog

* fix: readd query

* Generated protofile changes

* fix: register new grpc query

* Update ingest/sqs/pools/transformer/alloy_transmuter_test.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
(cherry picked from commit c2f0905)

# Conflicts:
#	CHANGELOG.md
#	ingest/sqs/pools/transformer/alloy_transmuter_test.go
#	x/cosmwasmpool/client/queryproto/query.pb.go
Copy link
Contributor Author

mergify bot commented Feb 28, 2025

Cherry-pick of c2f0905 has failed:

On branch mergify/bp/v28.x/pr-9006
Your branch is up to date with 'origin/v28.x'.

You are currently cherry-picking commit c2f09056.
  (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:
	modified:   proto/osmosis/cosmwasmpool/v1beta1/query.proto
	modified:   proto/osmosis/cosmwasmpool/v1beta1/query.yml
	modified:   x/cosmwasmpool/client/grpc/grpc_query.go
	modified:   x/cosmwasmpool/client/query_proto_wrap.go
	modified:   x/cosmwasmpool/client/queryproto/query.pb.gw.go
	modified:   x/cosmwasmpool/store.go
	modified:   x/cosmwasmpool/types/expected_keepers.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   CHANGELOG.md
	both modified:   ingest/sqs/pools/transformer/alloy_transmuter_test.go
	both modified:   x/cosmwasmpool/client/queryproto/query.pb.go

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

@github-actions github-actions bot added the C:CLI label Feb 28, 2025
@crnbarr93 crnbarr93 self-requested a review February 28, 2025 17:11
@crnbarr93 crnbarr93 merged commit b46c64d into v28.x Feb 28, 2025
1 check passed
@crnbarr93 crnbarr93 deleted the mergify/bp/v28.x/pr-9006 branch February 28, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant