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

Federation envoy re-attempts sync push for issuance proofs #698

Merged
merged 16 commits into from
Dec 8, 2023

Commits on Dec 8, 2023

  1. Configuration menu
    Copy the full SHA
    5f7daf0 View commit details
    Browse the repository at this point in the history
  2. universe: add doc to fields

    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a284ce0 View commit details
    Browse the repository at this point in the history
  3. tapdb: rename ListUniverseServers into QueryUniverseServers

    This commit renames `ListUniverseServers` into `QueryUniverseServers`.
    It also adds a `WHERE` clause to the SQL statement to allow us to filter
    on server host or row ID.
    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    46f692d View commit details
    Browse the repository at this point in the history
  4. universe: add function to derive universe ID from bytes

    This commit adds a new function called `NewUniIDFromRawArgs`. The
    function can be used to derive a universe identifier from raw
    asset ID/group key bytes.
    
    We will use this function to derive a universe ID from data stored in
    the database.
    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    b5ea17d View commit details
    Browse the repository at this point in the history
  5. universe+tapdb: add universe federation proof sync log table

    This commit also adds log query/upserts SQL statements.
    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    721e064 View commit details
    Browse the repository at this point in the history
  6. universe: use proof log db table in federation envoy

    This commit adds a flag to the federation universe push request to
    indicate that the proof leaf sync attempt should be logged and actively
    managed to ensure that the federation push procedure is repeated in the
    event of a failure.
    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    14644ff View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    14a653e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    499f452 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    75f93b2 View commit details
    Browse the repository at this point in the history
  10. itest: test that the fed envoy reattempts mint proof push syncs

    This commit adds an integration test which helps to ensure that a
    minting node will retry pushing a minting proof to a federation server
    peer node, in the event that that peer node failed to receive the proof
    at the time of the initial sync attempt.
    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    9fbf274 View commit details
    Browse the repository at this point in the history
  11. tapdb: add unit test multi db store handler

    This structure will allow us to pass around the same db store handler to
    different helper functions which will aid in setting up a unit test db.
    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    078cdb6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b76189f View commit details
    Browse the repository at this point in the history
  13. tapdb: extract unit test func for populating asset and proof in db

    This commit adds a unit test db handler helper method which we will use
    in a new test (in a subsequent commit) to populate a unit test db with
    an asset and its corresponding proof.
    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    473ae23 View commit details
    Browse the repository at this point in the history
  14. tapdb: add test db helper func for server addresses and proof leaves

    This commit adds a helper method for inserting server addresses into a
    unit test db. It also adds a helper method for inserting a proof leaf
    into a unit test db.
    
    These helper methods will be used in a subsequent commit.
    ffranr committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    fece1d1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b732d20 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a34ec30 View commit details
    Browse the repository at this point in the history