@pytest.mark.trio
async def test_rpc_ping(make_request, ping_params, alice, bob):
    pong = (await make_request('discv5_ping', ping_params))
    assert (pong['enr_seq'] == bob.enr.sequence_number)
    assert (pong['packet_ip'] == inet_ntoa(alice.endpoint.ip_address))
    assert (pong['packet_port'] == alice.endpoint.port)
@pytest.mark.trio
async def test_rpc_ping(make_request, ping_params, alice, bob):
    pong = (await make_request('discv5_ping', ping_params))
    assert (pong['enr_seq'] == bob.enr.sequence_number)
    assert (pong['packet_ip'] == inet_ntoa(alice.endpoint.ip_address))
    assert (pong['packet_port'] == alice.endpoint.port)