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

patch/result key check in RPC time response #28

Merged
merged 2 commits into from
Oct 21, 2023

Conversation

pharr117
Copy link
Collaborator

Add result key check to RPC time requests since some chains do not return the data with result key as the top level.

The SEI chain RPC endpoint is not returning data in the expected format. Our RPC block requests expect the "result" key to be at the top level, but they seem to have flattened the Node response so that its missing the "result".

image

Add a basic check to flatten the data ourselves for other chains.

…turn the data with result key as the top level
@pharr117 pharr117 added the bug Something isn't working label Oct 21, 2023
@danbryan danbryan merged commit 87c1749 into main Oct 21, 2023
2 checks passed
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants