casper-network / casper-network/casper-node

Get the last block height of an era

Open
#2,752 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
399
Forks
224
Avg merge
15h 44m
Merged PRs (30d)
2

Description

Reporter: community

Currently I am searching "era_end" field from casper-client get-block. But this command has to be issued several times to find the exact block height.

Trying to figure out how to find all last blocks for all eras in one month with the least number of calls to api.
The user also asked if we can get auction(state_get_auction_info) info and era info (chain_get_era_info_by_switch_block)by eraid instead of block heigh/hash

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.