import { Block } from '../../state/blocks' ; import { State } from '../../state' ; description param state param height export const getBlock = ( state , height ) : Block => state . blocks . blocks [ height ] ;