Skip to content

Failed to deserialize BTreeMap<ChainId, CryptoHash> from graphql input #3734

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

Open
kikakkz opened this issue Apr 8, 2025 · 3 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@kikakkz
Copy link
Contributor

kikakkz commented Apr 8, 2025

Description
When we try to sign block then submit to node service, it failed to deserialize BTreeMap<ChainId, CryptoHash> due to key of the BTreeMap is string in the input.

Screenshot
Image

@morimoo37

This comment was marked as spam.

@ma2bd ma2bd added the bug Something isn't working label Apr 9, 2025
@ma2bd
Copy link
Contributor

ma2bd commented Apr 9, 2025

I wonder if we should just skip this field in GraphQL for now.

@kikakkz
Copy link
Contributor Author

kikakkz commented Apr 9, 2025

I wonder if we should just skip this field in GraphQL for now.

I think it's acceptable to skip in GraphQL due to we're able to serialize with bcs then we can have whole block currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

4 participants