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(ibc-union): Add query responses #3508

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

adairrr
Copy link

@adairrr adairrr commented Jan 14, 2025

Adds QueryResponses macro for the union-ibc contract along with a cw-orch interface.

Current issues:

  • Some return types do not implement cw-serde and need to
  • We should feature-gate the cw-orch interfaces.

Copy link

vercel bot commented Jan 14, 2025

@adairrr is attempting to deploy a commit to the unionbuild Team on Vercel.

A member of the Team first needs to authorize it.

@adairrr adairrr changed the title Add query responses to ibc-union feat(ibc-union): Add query responses Jan 14, 2025
@Kayanski Kayanski force-pushed the adair/ibc-query-responses branch from 9798b59 to 1efa953 Compare January 15, 2025 09:05
cosmwasm/ibc-union/core/src/interface.rs Outdated Show resolved Hide resolved
cosmwasm/ibc-union/core/src/interface.rs Outdated Show resolved Hide resolved
"Hash".to_string()
}

/// The `FixedBytes` object is serialized as an array in JSON
Copy link
Contributor

Choose a reason for hiding this comment

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

it's serialized as string according to E (hex, hex unprefixed, base64, etc). jsonschema for FixedBytes and Bytes are a bit more complicated if you want full correctness, but for now just make them be strings

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