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

Pallet: Atomic Swap #6349

Merged
merged 21 commits into from
Jun 18, 2020
Merged

Pallet: Atomic Swap #6349

merged 21 commits into from
Jun 18, 2020

Commits on Jun 14, 2020

  1. Init atomic swap pallet

    sorpaas committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    b029265 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb0fbef View commit details
    Browse the repository at this point in the history
  3. Add successful swap test

    sorpaas committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    b08c1ea View commit details
    Browse the repository at this point in the history
  4. Bump node spec_version

    sorpaas committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    0b4454f View commit details
    Browse the repository at this point in the history
  5. Fix storage name

    sorpaas committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    c3f88f5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f885efb View commit details
    Browse the repository at this point in the history
  7. Add missing events

    sorpaas committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    8ce4cce View commit details
    Browse the repository at this point in the history
  8. Basic weight support

    sorpaas committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    3088ff1 View commit details
    Browse the repository at this point in the history
  9. Add basic docs

    sorpaas committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    8e18344 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Mark swap on claim

    This handles the additional case if `repatriate_reserved` fails.
    sorpaas committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    47877fa View commit details
    Browse the repository at this point in the history
  2. Add additional expire handler

    sorpaas committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    d51b1de View commit details
    Browse the repository at this point in the history
  3. Update frame/atomic-swap/src/lib.rs

    Co-authored-by: Shawn Tabrizi <[email protected]>
    sorpaas and shawntabrizi committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    fe70944 View commit details
    Browse the repository at this point in the history
  4. Add docs on ProofLimit

    sorpaas committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    fa2a85e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7148509 View commit details
    Browse the repository at this point in the history
  6. Fix test

    sorpaas committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    b71ca91 View commit details
    Browse the repository at this point in the history
  7. Return Ok(()) even when the transfer fails

    Because we need to mark the swap as claimed no matter what.
    sorpaas committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    2aa173b View commit details
    Browse the repository at this point in the history
  8. Remove retry logic

    It's overkill. Swap is about something being executed, not necessarily successful.
    Although there should be logic (reserve and unreserve) to make it so that both parties *believes*
    that the execution is successful.
    sorpaas committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    ad36185 View commit details
    Browse the repository at this point in the history
  9. succeed -> succeeded

    sorpaas committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    a46db72 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. Configuration menu
    Copy the full SHA
    96b1392 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fad3708 View commit details
    Browse the repository at this point in the history
  3. Missing trait type

    sorpaas committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    9cc2350 View commit details
    Browse the repository at this point in the history