ghost-portal/packages/react-query/src
Arjun Porwal 9c1c4ee96f
Improve block time handling for chains with elastic scaling (#11876)
* fix: last block timer

* refactor: update BlockHeader and BlockHeaders to use AugmentedBlockHeader type and add blockTime calculation

* refactor: remove isLast prop from BlockHeader and update BlockHeaders mapping
fix: update label in Summary component from 'target' to 'slot'
fix: improve block time calculation in BlockAuthors context

* refactor: update BlockHeader to accept multiple headers and group by timestamp in BlockHeaders

* refactor: update BlockHeader time formatting and adjust display value units

* refactor: simplify BlockAuthorsCtxRoot by removing blockTime calculation and parent timestamp retrieval

* feat: enhance calcDelay function to handle elastic scaling and distribute delays across blocks
2025-10-06 09:55:47 +05:30
..
Available.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
Balance.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
BalanceFree.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
BalanceVoting.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
BestFinalized.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
BestNumber.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
BlockToTime.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
Bonded.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
Chain.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
CoreDescriptor.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
Elapsed.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
FormatBalance.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
index.ts 2025 (#11172) 2025-01-03 03:59:53 +02:00
LockedVote.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
NodeName.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
NodeVersion.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
Nonce.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
PoolSize.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
SessionToTime.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
TimeNow.tsx Improve block time handling for chains with elastic scaling (#11876) 2025-10-06 09:55:47 +05:30
TotalInactive.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
TotalIssuance.tsx 2025 (#11172) 2025-01-03 03:59:53 +02:00
translate.ts 2025 (#11172) 2025-01-03 03:59:53 +02:00