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

Improve query/response structs in cosmwasm clientcontroller in e2e tests #92

Open
gusin13 opened this issue Sep 24, 2024 · 0 comments
Open
Assignees

Comments

@gusin13
Copy link
Contributor

gusin13 commented Sep 24, 2024

The structs could be grouped together in something like this

type QueryMsg struct {
    FinalityProvider *FinalityProviderQuery `json:"finality_provider,omitempty"`
    // Add other query types here as needed
    // For example:
    // Delegation        *DelegationQuery        `json:"delegation,omitempty"`
    // ValidatorSet      *ValidatorSetQuery      `json:"validator_set,omitempty"`
}
type QueryResponse struct {
    FinalityProvider *FinalityProviderResponse `json:"finality_provider,omitempty"`
    // Add other response types here as needed
    // For example:
    // Delegation        *DelegationResponse        `json:"delegation,omitempty"`
    // ValidatorSet      *ValidatorSetResponse      `json:"validator_set,omitempty"`
}

type FinalityProviderResponse struct {
    // Fields for finality provider response
}

// Define other response structs here
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

No branches or pull requests

1 participant