Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

feat: add WebRTC transport #12529

Open
wants to merge 79 commits into
base: master
Choose a base branch
from

Commits on Nov 18, 2022

  1. upgrade libp2p to 0.50.0

    melekes committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    81bdbdf View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Configuration menu
    Copy the full SHA
    21cf90c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a227e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a97a52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9b731b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d27d73a View commit details
    Browse the repository at this point in the history
  6. update libp2p

    melekes committed Nov 21, 2022
    Configuration menu
    Copy the full SHA
    672cac2 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Configuration menu
    Copy the full SHA
    41ab633 View commit details
    Browse the repository at this point in the history
  2. libp2p 0.50.0

    melekes committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    2fa1b2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3c33b5 View commit details
    Browse the repository at this point in the history
  4. remove unused var

    melekes committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    20437d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dbb7bec View commit details
    Browse the repository at this point in the history
  6. client: add WebRTC transport

    Refs paritytech/smoldot#1712
    Impl libp2p/rust-libp2p#2622
    
    - WebRTC transport is enabled for non-validators and developers by default.
    - The transport will generate and store the certificate, which is required for WebRTC identity, in
    base dir. In the future, when a new version of `ring` library is released, the certificate will be
    deterministically derived from the node's peer ID.
    melekes committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    f793dad View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1e6f631 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Configuration menu
    Copy the full SHA
    27ef639 View commit details
    Browse the repository at this point in the history
  2. fixes after the merge

    melekes committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    a955481 View commit details
    Browse the repository at this point in the history
  3. fix docs

    melekes committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    82fd633 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. better vars names in tests

    melekes committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    c6eb8c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f964453 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0db37d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    b7070e0 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Configuration menu
    Copy the full SHA
    05238ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f404a4 View commit details
    Browse the repository at this point in the history
  3. copy warp-sync zombienet test

    melekes committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    05fb813 View commit details
    Browse the repository at this point in the history
  4. rename test files

    melekes committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    ce05840 View commit details
    Browse the repository at this point in the history
  5. update test name

    melekes committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    f929b72 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7781776 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Configuration menu
    Copy the full SHA
    1e153d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Apply suggestions from code review

    Co-authored-by: Javier Viola <pepoviola@gmail.com>
    melekes and pepoviola authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    dcd00f4 View commit details
    Browse the repository at this point in the history
  2. bump zombienet version

    melekes committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    1c7a375 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. Configuration menu
    Copy the full SHA
    727b487 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Configuration menu
    Copy the full SHA
    b549d2b View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Configuration menu
    Copy the full SHA
    35b971a View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. Configuration menu
    Copy the full SHA
    6e9c7ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4516910 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    41fc433 View commit details
    Browse the repository at this point in the history
  4. Update .gitlab-ci.yml

    pepoviola authored Feb 10, 2023
    Configuration menu
    Copy the full SHA
    722ccad View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2023

  1. Configuration menu
    Copy the full SHA
    be72387 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22c1a15 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    c596bb4 View commit details
    Browse the repository at this point in the history
  2. bump zombienet version

    melekes committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    2d35bec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a63e5d6 View commit details
    Browse the repository at this point in the history
  4. add missing features

    melekes committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    407ce5a View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Configuration menu
    Copy the full SHA
    a26fabb View commit details
    Browse the repository at this point in the history
  2. enable logging for bob

    melekes committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    f2ca191 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. Configuration menu
    Copy the full SHA
    52be5fd View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Configuration menu
    Copy the full SHA
    b10a5cb View commit details
    Browse the repository at this point in the history
  2. zombienet: set p2p_cert_hash

    melekes committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    b4b92bf View commit details
    Browse the repository at this point in the history
  3. set p2p_cert_hash for alice

    melekes committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    a9f2bd7 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Configuration menu
    Copy the full SHA
    0764cc9 View commit details
    Browse the repository at this point in the history
  2. try to fix unsupported address error

    ```
    m": Other(Custom { kind: Other, error: A(Other(A(A(A(A(B(MultiaddrNotSupported("/ip4/10.24.104.30/udp/30333/webrtc/certhash/uEiAvF2IuPZJuKkdb5E-gSM_AmumLi3P5ZR_fvZGPE3vJEA/p2p/12D3KooWQCkBm1BYtkHpocxCwMgR8yjitEeHGx8spzcDLGt2gkBm")))))))) })
    ```
    by changing the ordering of transports
    melekes committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    1282e57 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    45c3d64 View commit details
    Browse the repository at this point in the history
  2. remove leftovers from merge

    melekes committed May 30, 2023
    Configuration menu
    Copy the full SHA
    e4003ef View commit details
    Browse the repository at this point in the history
  3. add missing dev dep

    melekes committed May 30, 2023
    Configuration menu
    Copy the full SHA
    342be2a View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. Configuration menu
    Copy the full SHA
    2b37e04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8347be8 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Revert "rename /webrtc to /webrtc-direct"

    This reverts commit 2b37e04.
    melekes committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    62a4658 View commit details
    Browse the repository at this point in the history
  2. Revert "Revert "rename /webrtc to /webrtc-direct""

    This reverts commit 62a4658.
    melekes committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    a518c81 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    35ef2e8 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. add logging to all nodes

    melekes committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    ae89a63 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. Configuration menu
    Copy the full SHA
    ef632a1 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. trace webrtc package

    melekes committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    656faf7 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    baf5b8f View commit details
    Browse the repository at this point in the history
  2. fixes after merge

    melekes committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    424e319 View commit details
    Browse the repository at this point in the history
  3. fix protocol name

    melekes committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    e24baa9 View commit details
    Browse the repository at this point in the history
  4. use libp2p-webrtc dep in CLI

    melekes committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    6025ea4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    09efa75 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Configuration menu
    Copy the full SHA
    f0f7075 View commit details
    Browse the repository at this point in the history
  2. bump regex to resolve polkadot companion CI job

    ```
    [2023-07-26 09:13:50] error: failed to select a version for `regex`.
    [2023-07-26 09:13:50]     ... required by package `webrtc v0.8.0`
    [2023-07-26 09:13:50]     ... which satisfies dependency `webrtc = "^0.8.0"` of package `libp2p-webrtc v0.6.0-alpha`
    [2023-07-26 09:13:50]     ... which satisfies dependency `libp2p-webrtc = "^0.6.0-alpha"` of package `sc-network v0.10.0-dev (/builds/parity/mirrors/substrate/client/network)`
    [2023-07-26 09:13:50]     ... which satisfies git dependency `sc-network` (locked to 0.10.0-dev) of package `polkadot-availability-distribution v0.9.43 (/builds/parity/mirrors/substrate/companions/polkadot/node/network/availability-distribution)`
    [2023-07-26 09:13:50]     ... which satisfies path dependency `polkadot-availability-distribution` (locked to 0.9.43) of package `polkadot-service v0.9.43 (/builds/parity/mirrors/substrate/companions/polkadot/node/service)`
    [2023-07-26 09:13:50]     ... which satisfies path dependency `service` (locked to 0.9.43) of package `polkadot-cli v0.9.43 (/builds/parity/mirrors/substrate/companions/polkadot/cli)`
    [2023-07-26 09:13:50]     ... which satisfies path dependency `polkadot-cli` (locked to 0.9.43) of package `polkadot v0.9.43 (/builds/parity/mirrors/substrate/companions/polkadot)`
    [2023-07-26 09:13:50] versions that meet the requirements `^1.7.1` are: 1.9.1, 1.9.0, 1.8.4, 1.8.3, 1.8.2, 1.8.1, 1.8.0, 1.7.3, 1.7.2, 1.7.1
    [2023-07-26 09:13:50]
    [2023-07-26 09:13:50] all possible versions conflict with previously selected packages.
    [2023-07-26 09:13:50]
    [2023-07-26 09:13:50]   previously selected package `regex v1.6.0`
    [2023-07-26 09:13:50]     ... which satisfies dependency `regex = "^1.1"` (locked to 1.6.0) of package `Inflector v0.11.4`
    [2023-07-26 09:13:50]     ... which satisfies dependency `Inflector = "^0.11.4"` (locked to 0.11.4) of package `frame-benchmarking-cli v4.0.0-dev (/builds/parity/mirrors/substrate/utils/frame/benchmarking-cli)`
    [2023-07-26 09:13:50]     ... which satisfies git dependency `frame-benchmarking-cli` (locked to 4.0.0-dev) of package `polkadot-cli v0.9.43 (/builds/parity/mirrors/substrate/companions/polkadot/cli)`
    [2023-07-26 09:13:50]     ... which satisfies path dependency `polkadot-cli` (locked to 0.9.43) of package `polkadot v0.9.43 (/builds/parity/mirrors/substrate/companions/polkadot)`
    [2023-07-26 09:13:50]
    [2023-07-26 09:13:50] failed to select a version for `regex` which could resolve this conflict
    ```
    melekes committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    142b884 View commit details
    Browse the repository at this point in the history
  3. more logging

    melekes committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    01ba6d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d4e8e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Revert "bump regex to resolve polkadot companion CI job"

    This reverts commit 142b884.
    melekes committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    ff958f8 View commit details
    Browse the repository at this point in the history
  2. Revert "set mode to server by default"

    This reverts commit 7d4e8e2.
    melekes committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    27ef6c9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    634ed48 View commit details
    Browse the repository at this point in the history
  4. reduce logging

    melekes committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    2647ae6 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Configuration menu
    Copy the full SHA
    fb2caf8 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    c650ae8 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Configuration menu
    Copy the full SHA
    20d33ad View commit details
    Browse the repository at this point in the history
  2. more logging for dave

    melekes committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    7d8623a View commit details
    Browse the repository at this point in the history