@pytest.fixture(params=('nodeid', 'nodeid-hex', 'enode', 'enr', 'enr-repr'))
def ping_param_w3(request, alice, bob, bob_network):
    alice.enr_db.set_enr(bob.enr)
    if (request.param == 'nodeid'):
        return bob.node_id
    elif (request.param == 'nodeid-hex'):
        return encode_hex(bob.node_id)
    elif (request.param == 'enode'):
        return f'enode://{bob.node_id.hex()}@{bob.endpoint}'
    elif (request.param == 'enr'):
        return bob.enr
    elif (request.param == 'enr-repr'):
        return repr(bob.enr)
    else:
        raise Exception(f'Unhandled param: {request.param}')
@pytest.fixture(params=('nodeid', 'nodeid-hex', 'enode', 'enr', 'enr-repr'))
def ping_param_w3(request, alice, bob, bob_network):
    alice.enr_db.set_enr(bob.enr)
    if (request.param == 'nodeid'):
        return bob.node_id
    elif (request.param == 'nodeid-hex'):
        return encode_hex(bob.node_id)
    elif (request.param == 'enode'):
        return f'enode://{bob.node_id.hex()}@{bob.endpoint}'
    elif (request.param == 'enr'):
        return bob.enr
    elif (request.param == 'enr-repr'):
        return repr(bob.enr)
    else:
        raise Exception(f'Unhandled param: {request.param}')