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: improved schema for finalized bundles query #104

Merged
merged 12 commits into from
Jul 10, 2023

Conversation

mbreithecker
Copy link
Member

This PR makes it possible to handle the responses for multiple versions of the raw stored finalized bundles.
It also renames the verbose endpoints
kyve/query/v1beta1/finalized_bundle/{pool_id} to kyve/v1/bundles/{pool_id} and
kyve/query/v1beta1/finalized_bundle/{pool_id}/{id} to kyve/v1/bundles/{pool_id}/{id}.

This change will be back-ported to all versions so that all versions will always have the latests schema.

@mbreithecker mbreithecker added backport/v1.0.x backport patches to v1.0.x branch backport/v1.1.x backport patches to v1.1.x branch backport/v1.2.x backport patches to v1.2.x branch backport/v1.3.x backport patches to v1.3.x branch labels Jul 7, 2023
# Conflicts:
#	proto/kyve/bundles/v1beta1/bundles.proto
#	x/bundles/types/bundles.pb.go
#	x/bundles/types/keys.go
@mbreithecker mbreithecker removed backport/v1.0.x backport patches to v1.0.x branch backport/v1.1.x backport patches to v1.1.x branch labels Jul 10, 2023
@mbreithecker mbreithecker marked this pull request as ready for review July 10, 2023 12:02
@mbreithecker mbreithecker merged commit cf4857f into main Jul 10, 2023
@mbreithecker mbreithecker deleted the feat/finalized_bundles branch July 10, 2023 15:49
mergify bot pushed a commit that referenced this pull request Jul 10, 2023
mergify bot pushed a commit that referenced this pull request Jul 10, 2023
(cherry picked from commit cf4857f)

# Conflicts:
#	CHANGELOG.md
#	app/upgrades/v1_3/upgrade.go
#	proto/kyve/bundles/v1beta1/bundles.proto
#	x/bundles/types/bundles.pb.go
#	x/bundles/types/keys.go
mbreithecker added a commit that referenced this pull request Jul 11, 2023
mbreithecker added a commit that referenced this pull request Jul 11, 2023
Co-authored-by: Maximilian Breithecker <[email protected]>
Co-authored-by: mbreithecker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v1.2.x backport patches to v1.2.x branch backport/v1.3.x backport patches to v1.3.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants