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

[BUG] chain_get_era_info_by_switch_block RPC fails to execute #5054

Open
devendran-m opened this issue Jan 8, 2025 · 4 comments
Open

[BUG] chain_get_era_info_by_switch_block RPC fails to execute #5054

devendran-m opened this issue Jan 8, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@devendran-m
Copy link
Contributor

devendran-m commented Jan 8, 2025

This bug is reported by MAKE;

They reported that they are facing with a new one on RPC call chain_get_era_info_by_switch_block , in Devnet testing (with Condor RC6):

rpc call failed, details: key: Query failed to execute, data: "request for era info has failed: the provided global state query failed to execute"

Error:

$ curl 44.197.182.12:7777/rpc -sd '{"jsonrpc":"2.0","method":"chain_get_era_info_by_switch_block"
,"id":0,"params":{"block_identifier":{"Height":22736}}}' -H "Content-Type: application/json"
{"jsonrpc":"2.0","id":0,"error":{"code":-32004,"message":"Query failed to execute","data":"request for era info has failed: the provided global state query failed to execute"}}
@devendran-m devendran-m changed the title [BUG} chain_get_era_info_by_switch_block RPC fails to execute [BUG] chain_get_era_info_by_switch_block RPC fails to execute Jan 8, 2025
@sacherjj
Copy link
Contributor

sacherjj commented Jan 8, 2025

Also sometimes getting this:

curl 44.197.182.12:7777/rpc -sd '{"jsonrpc":"2.0","method":"chain_get_era_info_by_switch_block","id":0,"params":{"block_identifier"1{"Height":3343163}}}' -H "Content-Type: application/json"
{"jsonrpc":"2.0","id":null,"error":{"code":-32700,"message":"Parse error","data":"expected `:` at line 1 column 99"}}

@sacherjj
Copy link
Contributor

sacherjj commented Jan 8, 2025

This could be either node or sidecar.

@devendran-m devendran-m added the bug Something isn't working label Jan 8, 2025
@sacherjj
Copy link
Contributor

sacherjj commented Jan 8, 2025

Running on sidecar based on commit 6ed71c527976a030dffeccea3273cb7293cd9889
casper-node on release-2.0.0rc6

@devendran-m
Copy link
Contributor Author

@zajko will triage and update.

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

No branches or pull requests

4 participants