-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat(api): add query for listing all transactions #240
base: master
Are you sure you want to change the base?
Commits on Nov 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 27794c6 - Browse repository at this point
Copy the full SHA 27794c6View commit details
Commits on Nov 21, 2024
-
feat(utils): add utility function to construct tx_search endpoint. Ad…
…ded a function to simplify the creation of tx_search endpoint URLs. This utility takes the RPC address, query, pagination parameters, and order criteria as input, and returns a well-formatted endpoint string.
Configuration menu - View commit details
-
Copy full SHA for 0811c45 - Browse repository at this point
Copy the full SHA 0811c45View commit details -
feat(types): add height field to TransactionResponse and TxsResponse …
…struct. - Added a field to the struct to include the block height in transaction details. - Introduced a new struct for wrapping multiple transactions with a total count, enhancing API response consistency. This change improves the API structure by providing more granular transaction information and supporting batch responses effectively.
Configuration menu - View commit details
-
Copy full SHA for 4a6e29a - Browse repository at this point
Copy the full SHA 4a6e29aView commit details -
chore(dependencies): update cosmossdk.io/math to direct dependency.- …
…Added as a direct dependency in . - Removed its previous listing as an indirect dependency. This change ensures the package is explicitly managed, improving dependency clarity and avoiding potential issues with transitive dependency resolution.
Configuration menu - View commit details
-
Copy full SHA for 2b01ca5 - Browse repository at this point
Copy the full SHA 2b01ca5View commit details -
feat(tests): enhance transaction test suite and add block height retr…
…ieval.Updated interx.tx_test.go to use types.TxsResponse instead of TxsResponse for consistency with the types package. Added getBlockHeight function to retrieve block height for a transaction hash from cache or Tendermint. Improved error handling and logging in getBlockHeight.
Configuration menu - View commit details
-
Copy full SHA for e3eeed2 - Browse repository at this point
Copy the full SHA e3eeed2View commit details -
refactor(database): enhance transaction file path logic and caching b…
…ehavior. Refactored GetTransactions to simplify file path construction using basePath and suffix. Added a new resolveFileName helper function to centralize file name determination logic. Updated SaveTransactions to use resolveFileName, improving readability and maintainability. Improved conditional handling in SaveTransactions to append cached transactions only when an address is provided. Enhanced error logging with more descriptive messages in SaveTransactions.
Configuration menu - View commit details
-
Copy full SHA for a0ab572 - Browse repository at this point
Copy the full SHA a0ab572View commit details -
refactor(interx): improve transaction handling and direction processi…
…ng.Removed the redundant TxsResponse definition and replaced it with types.TxsResponse for consistency.Refactored GetTransactionsWithSync. Consolidated outbound and inbound logic with improved query construction.Eliminated unnecessary checks for empty addresses.Replaced repetitive endpoint construction with BuildTxSearchEndpoint. Simplified GetFilteredTransactions.Introduced processDirection to handle direction-specific logic modularly.Removed redundant loops and conditions for processing inbound and outbound transactions.Added processDirection as a reusable function for transaction direction handling.Enhanced QueryBlockTransactionsHandler.Removed redundant address validation.Updated responses to use types.TxsResponse for consistency.Removed the obsolete getBlockHeight function, as it is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for aaa1a97 - Browse repository at this point
Copy the full SHA aaa1a97View commit details
Commits on Nov 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5a2b775 - Browse repository at this point
Copy the full SHA 5a2b775View commit details