near-explorer
near-explorer copied to clipboard
Show Chunk information in Block page
Currently there is absolutely no information about chunks / shards.
We should show summary of chunk information in the Block page: group tx by chunk in the details and show for each chunk total tx count, gas spent, gas limit, rent paid and other meta data available in ChunkHeader.
Note: we need a visual design for that.
We need to review what the current Chunk model misses from the Chunk Header available from RPC.
Chunk model contains:
- block hash
- shard id (integer index)
- signature
- gas limit
- gas used
- height created
- height included
Chunk header contains (e.g. http post https://rpc.nearprotocol.com/ jsonrpc=2.0 id=dontcare method=chunk 'params:=[[1, 1]]'
):
- shard id
- ~chunk hash~ (does not seem very useful to me in Explorer)
- signature
- gas limit
- gas used
- height created
- height included
- encoded length
- encoded merkle root
- balance burnt
- outcome root
- outgoing receipts root
- ~previous block hash~ (does not seem very useful to me in Explorer)
- ~previous state root~ (does not seem very useful to me in Explorer)
- rent paid
- tx root
- validator proposals
- validator reward
CC @jakestutzman @corwinharrell for design for this.