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

namada_sdk::rpc::get_all_validators always returns empty set #2693

Closed
dadamu opened this issue Feb 22, 2024 · 1 comment
Closed

namada_sdk::rpc::get_all_validators always returns empty set #2693

dadamu opened this issue Feb 22, 2024 · 1 comment

Comments

@dadamu
Copy link

dadamu commented Feb 22, 2024

namada_sdk::rpc::get_all_validators always returns empty set whenever epoch is set to a valid epoch number like 1 or 2.

let validators = namada_sdk::rpc::get_all_validators(&client, Epoch::from(1)).await?;
println!("{:?}", validators); // {}
@sug0
Copy link
Collaborator

sug0 commented Feb 22, 2024

this is not a bug, it's intentional behavior. we prune validator sets after a certain number of epochs

#1944

@sug0 sug0 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2024
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

2 participants