Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packet timeout support #206

Merged
merged 21 commits into from
Sep 25, 2023
Merged

Add packet timeout support #206

merged 21 commits into from
Sep 25, 2023

Commits on Sep 21, 2023

  1. implement timeoutPacket

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    293e558 View commit details
    Browse the repository at this point in the history
  2. implement commitments for recvPacket

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    9c69ea5 View commit details
    Browse the repository at this point in the history
  3. generate a binding to timeoutPacket

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    ee72204 View commit details
    Browse the repository at this point in the history
  4. tests: refactor test cases

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    57b67d1 View commit details
    Browse the repository at this point in the history
  5. tests: fix light client update

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    1a83713 View commit details
    Browse the repository at this point in the history
  6. fix timeout checks

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    bf1c65a View commit details
    Browse the repository at this point in the history
  7. add test for packet timeout

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    41caad8 View commit details
    Browse the repository at this point in the history
  8. implement timeoutOnClose

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    f251ef3 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. fix verification of counterparty's channel

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    d4b1734 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. fix test suite

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    1f163a5 View commit details
    Browse the repository at this point in the history
  2. improve event query condition

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    ab41617 View commit details
    Browse the repository at this point in the history
  3. refactor testing package

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    15780dd View commit details
    Browse the repository at this point in the history
  4. tests: improve AdvanceBlockNumber

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    abcf7a2 View commit details
    Browse the repository at this point in the history
  5. tests: make delayPeriod configurable

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    2c560bc View commit details
    Browse the repository at this point in the history
  6. tests: add RelayLastSentPacket func to coordinator

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    8acecda View commit details
    Browse the repository at this point in the history
  7. tests: split e2e tests into TestPacketRelay and `TestPacketRelayWit…

    …hDelay`
    
    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    1f399be View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. ibft2: fix verifyNonMembership

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    0c8ff91 View commit details
    Browse the repository at this point in the history
  2. e2e: add packet timeout test

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    b70d260 View commit details
    Browse the repository at this point in the history
  3. tests: improve unpacking event data

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    9f7366c View commit details
    Browse the repository at this point in the history
  4. e2e: add timeoutOnClose test

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    c419adc View commit details
    Browse the repository at this point in the history
  5. ics20: implement onTimeoutPacket callback

    Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
    bluele committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    6ddaf01 View commit details
    Browse the repository at this point in the history