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

Incremental commits off-chain #1541

Merged
merged 37 commits into from
Oct 4, 2024
Merged

Incremental commits off-chain #1541

merged 37 commits into from
Oct 4, 2024

Commits on Oct 4, 2024

  1. Configuration menu
    Copy the full SHA
    ffff16e View commit details
    Browse the repository at this point in the history
  2. Update the protocol.md

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6d90cd2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3857514 View commit details
    Browse the repository at this point in the history
  4. Recover observation

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ac67b0c View commit details
    Browse the repository at this point in the history
  5. Make all tests green

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ef25bb4 View commit details
    Browse the repository at this point in the history
  6. Remove IncrementalCommitRecoverRequest

    We don't need to accept lower boundary slot number also
    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b01289d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    547ebc8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ce76f92 View commit details
    Browse the repository at this point in the history
  9. Add export

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9c40233 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9c97b44 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    200d403 View commit details
    Browse the repository at this point in the history
  12. Add instructions to recover a deposit

    ch1bo authored and v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    846a66a View commit details
    Browse the repository at this point in the history
  13. Define genRecoverTx in terms of genDepositTx

    This also enables re-enables observation properties of Deposit/Recover
    transitions. We note though, that these are not "real" head state
    transitions and the ctx / state return values are superficial.
    ch1bo authored and v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    49fde01 View commit details
    Browse the repository at this point in the history
  14. Change definition of recoverTx and move observeDepositTx to hydra-tx

    This makes it easier to use in combination with observing a deposit.
    ch1bo authored and v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4e70cfa View commit details
    Browse the repository at this point in the history
  15. Move recover observation to hydra-tx

    Remove deposit and recover from the Head tx observation tests and have
    dedicated tests for deposit/recover.
    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    56096d7 View commit details
    Browse the repository at this point in the history
  16. Resolve fixme in deposit observation

    Make sure to check if the deposit datum actually contains the deposit
    tx inputs.
    Remove the `utxo` from `DepositObservation` and propagate this change.
    Increment observation is broken now since it was depending on this utxo
    but we need to do it differently any way.
    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8236df1 View commit details
    Browse the repository at this point in the history
  17. Keep Map TxIn locally so we support multiple deposits

    Added TxInType since we needed abstract type for use in head logic.
    Ideally I would not try to find utxo in the map but deal with txin/id
    only on increment/recover
    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f6791e4 View commit details
    Browse the repository at this point in the history
  18. Add deposit TxIn to Increment and OnIncrementTx

    If we have this type around it will serve us well for deleting
    observed deposits and also on recovers.
    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0a9817a View commit details
    Browse the repository at this point in the history
  19. Add extra UTxO to make the observations pass

    On increment the UTxO we are incrementing is not part of the head UTxO
    yet so we need more information in order to be able to observe the
    relevant transaction.
    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d8d109e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    bedd0a8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    14b7e61 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    ff6c7c9 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    b13a8ae View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    4954793 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c43612a View commit details
    Browse the repository at this point in the history
  26. Make everything compile

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a577c9b View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    4ddcc56 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    524de66 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    5d5ac1f View commit details
    Browse the repository at this point in the history
  30. Make all tests green

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4e774ed View commit details
    Browse the repository at this point in the history
  31. Finish up the tutorial

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7f9aed0 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    7a4756a View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    5139946 View commit details
    Browse the repository at this point in the history
  34. Fix json schema errors

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    44f4da7 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    a786804 View commit details
    Browse the repository at this point in the history
  36. Fix plutus scripts

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9bd06ab View commit details
    Browse the repository at this point in the history
  37. Wrap things up

    v0d1ch committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    efe7083 View commit details
    Browse the repository at this point in the history