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

Protocol 22 Breaking changes #280

Merged
merged 23 commits into from
Oct 3, 2024
Merged

Protocol 22 Breaking changes #280

merged 23 commits into from
Oct 3, 2024

Commits on Jul 19, 2024

  1. Use TransactionInfo within GetTransactionResponse (#251)

    * Encode createdAt as a string for JS support
    Shaptic authored Jul 19, 2024
    Configuration menu
    Copy the full SHA
    2c74888 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    61fa441 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8a75a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    30814ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2daf023 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    b668361 View commit details
    Browse the repository at this point in the history
  2. Cleanup old retention window and upgrade history-retention-window (#277)

    * Cleanup old retention-windows and increase history-retention-window to 7 days
    
    * fix tests
    psheth9 authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    7913265 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Improve startup by eliminating unnecessary migration ranges (#282)

    Speed up startup time in "already migrated" cases by eliminating unnecessary
    ledger range traversals.
    
    Specifically, this includes the following changes:
    
     - Fee stats windows cannot exceed the history retention window, as this doesn't
       make sense.
    
     - Migrations that are already applied are not added to the list of
       "multi-migrations".
    
     - Fee stats window building conforms to the migration interface to simplify
       code.
    
     - LedgerSeqRange has been refactored to always use a value reference.
    
    As a result, if all migrations have occurred, the traversal only occurs over the fee window.
    Shaptic authored Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e110732 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Optimise db performance of GetLedgerRange (#256)

    * Use GetLedgerRange to get the latest ledger
    
    * Remove latestLedger key from meta table
    
    * Remove latestLedger key from meta table - 2
    
    * Fix failing unittest - 1
    
    * Remove cache check condition
    
    * Fix failing unittest - 2
    
    * Uncomment failing ledger entry test
    
    * Remove db.SessionInterface param
    
    * Fix failing unittest
    
    * Cache ledger range - 1
    
    * Cache ledger range - 2
    
    * Cache ledger range - 3
    
    * Cache ledger range - 4
    
    * Fix failing test
    
    * Fix failing test - 2
    
    * Fix linting - 1
    
    * Fix linting - 2
    
    * Reduce the time further
    
    * Remove creating transaction for GetLedgerRange
    
    * Remove creating transaction for GetLedgerRange - 2
    
    * Remove creating transaction for GetLedgerRange - 3
    
    * Fix failing unittest - 1
    
    * Fix failing tests - 2
    
    * Update cmd/soroban-rpc/internal/db/ledger.go
    
    Co-authored-by: tamirms <tamirms@gmail.com>
    
    * Add check for empty result in ledger range
    
    * Add a cache check on GetLatestLedgerSequence call
    
    * Move cache read to DB function
    
    * Move cache read to DB function - 2
    
    * Revert "Move cache read to DB function - 2"
    
    This reverts commit f7ebe3e.
    
    * Lock cache before creating tx
    
    * Fix failing test
    
    * Add migration
    
    * Fix failing test
    
    * Refactor NewTx and NewCachedTx
    
    * Refactor NewTx and NewCachedTx - 2
    
    * Refactor NewTx and NewCachedTx - 3
    
    * Refactor NewTx and NewCachedTx - 4
    
    ---------
    
    Co-authored-by: tamirms <tamirms@gmail.com>
    aditya1702 and tamirms authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    918c978 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Fix lint error in /methods and remove usage of internal error package (

    …#285)
    
    * Replace internal error package
    
    * Replace internal error package in getEvents
    
    * remove nolint
    
    * go fmt
    
    * Fix lint pt1
    
    * Fix lint pt2
    
    * Fix lint pt3 - remove global var in getEvents
    
    * Fix lint pt4
    psheth9 authored Sep 9, 2024
    Configuration menu
    Copy the full SHA
    4203a0b View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Fix RPC linting (#286)

    * Fix config lint
    
    * Fix daemon lint
    
    * Fix db lint
    
    * Fix feewindow lint
    
    * Fix ingest lint
    
    * Fix ledgerbucketwindow lint
    
    * Fix ingest lint - 2
    
    * Fix preflight lint
    
    * Small fixes - 1
    
    * Clean up
    
    * gci file
    aditya1702 authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d81c47f View commit details
    Browse the repository at this point in the history
  2. Bump horizon to latest release tag (#290)

    * bump horizon to latest release tag
    
    * go mod tidy
    aditya1702 authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    2aeb13c View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Remove RELEASING.md (#292)

    * Remove RELEASING.md
    
    * Remove images
    aditya1702 authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e51095a View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

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

Commits on Sep 16, 2024

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

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    accd794 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3bca89b View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. simulate-transaction: remove confusing Cost field in response (#295)

    * simulate-transaction: remove confusing Cost field in response
    
    * Appease linter
    2opremio authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    b817750 View commit details
    Browse the repository at this point in the history
  2. Add cursor in GetEventResponse (#287)

    * Add endLedger in GetEventResponse
    
    * Add Cursor to response and deprecate PagingToken
    
    * Update cursor logic and tests
    
    * update CHANGELOG.md
    psheth9 authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    cae1740 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Add hash to getTransactions response (#299)

    Add transaction hash in the transaction object in the getTransactions response
    aditya1702 authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    e7debbe View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Update docker file to build 2 images based on BINARY_NAME (#300)

    * Update docker file to build 2 images based on argument
    
    * Update docker-build and makefile
    
    * remove duplicate assignments
    psheth9 authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    953a504 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38807d3 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

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