def test_api_get_genesis_block():
    client = EpochClient()
    genesis_block = client.get_genesis_block()
    zero_height_block = client.get_key_block_by_height(
        0)  # these should be equivalent
    # assert type(genesis_block) == BlockWithTx
    # assert type(zero_height_block) == BlockWithTx
    assert genesis_block.height == 0
    assert zero_height_block.height == 0
def test_api_get_block_by_heigt():
    client = EpochClient()
    height = client.get_height()
    block = client.get_key_block_by_height(height)
    # assert type(block) == BlockWithTx
    assert block.height > 0