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

fix: Support deleted object in ledger_entry #1483

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from

Commits on May 27, 2024

  1. created query to fetch last two entries (#1)

    * created query to fetch last two entries
    
    * fix duplicate query
    Kassaking7 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    87ac1a6 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Ticket 2 add db fetch func branch (#2)

    * created query to fetch last two entries
    
    * fix duplicate query
    
    * add db fetch func
    
    * adding db fetching func
    
    * changed Blob to pair<uint, Blob> to catch sequence as well
    Kassaking7 committed May 29, 2024
    Configuration menu
    Copy the full SHA
    71c4cba View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Ticket 3 modify ledger entry api branch (#3)

    * added deleted_ledger_index logic to extract last two ledger objects
    
    * fixed a bug on index, should be non-negative
    
    * optimize the logic
    
    * fixed a previous bug in doFetchLastTwoLedgerObjects and develped the new API for entry ledger
    
    * fix tag_invoke default value for deleted_ledger_index & add some log info
    
    * add RPC field for include deleted and improve a style issue
    
    * remove an impossible case for LedgerEntry
    
    * fix an assignment issue on deleted_ledger_index
    
    * add a comment
    Kassaking7 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d1364eb View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Ticket 4 unit tests for ledger entry api (#4)

    * init unit test cases
    
    * add a new case and change a test name
    
    * add a new test case
    
    * added comments to each test and remove redudant code
    
    * change {} to Blob{} to improve readability
    Kassaking7 committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    72fe747 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Ticket 4 unit tests for ledger entry api (#5)

    * remove previous fetchTwo functions and change the unit tests
    Kassaking7 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    83d0b62 View commit details
    Browse the repository at this point in the history
  2. style fix

    Kassaking7 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    2bb1cd9 View commit details
    Browse the repository at this point in the history
  3. style fix

    Kassaking7 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    f4d573b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a15e39e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fa8ca2a View commit details
    Browse the repository at this point in the history
  6. change ==false to not

    Kassaking7 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    2c615bd View commit details
    Browse the repository at this point in the history
  7. add new line

    Kassaking7 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    6c60a99 View commit details
    Browse the repository at this point in the history
  8. add spaces back

    Kassaking7 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    5de3327 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9aa9c57 View commit details
    Browse the repository at this point in the history
  10. since develop branch changed CreateLedgerInfo method to CreateLedgerH…

    …eader. Make changes on those name
    Kassaking7 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    e968ad3 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

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

Commits on Jul 2, 2024

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

Commits on Jul 4, 2024

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

Commits on Jul 5, 2024

  1. add an edge case check

    Kassaking7 committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    dce5424 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02e0289 View commit details
    Browse the repository at this point in the history
  3. style fix

    Kassaking7 committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    5c8388b View commit details
    Browse the repository at this point in the history