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

feat: New Release #197

Draft
wants to merge 69 commits into
base: main
Choose a base branch
from
Draft

feat: New Release #197

wants to merge 69 commits into from

Conversation

akhercha
Copy link
Member

@akhercha akhercha commented Mar 12, 2025

Do not merge yet! 🫷

  • New files structure - removed infra folder etc
  • Updated from multi numbers decimals to 18
  • Better errors for every endpoints
  • Added an RPC connection to lookup onchain decimals

To-do

  • fix lint
  • fix db performance issues

yezz123 and others added 30 commits February 24, 2025 16:12
…s to 18 (#184)

* remove-currencies-and-merkle:

* remove-currencies-and-merkle: Added todos for next steps

* remove-currencies-and-merkle: Removed currencies

* remove-currencies-and-merkle:

* remove-currencies-and-merkle: Unused deps

* remove-currencies-and-merkle: Exclude E2E tests for release builds

* test: E2E get_entry (#178)

* tests(e2e_get_entry): get_entry simple

* tests(e2e_get_entry): removed to_owned

* tests(e2e_get_entry): removed postgre from CI

* tests(e2e_get_entry): Added nextest config

* tests(e2e_get_entry): test OK

* tests(e2e_get_entry): OK for multiple intervals

* tests(e2e_get_entry): increased startup timeout

* tests(e2e_get_entry): Increase startup timeout for pragma nod

* tests(e2e_get_entry): Local mode for integration tests

* test: e2e get_entry for strk/eth (#185)

* tests: add fake datas

* tests: deps

* tests: more tests

* tests: more tests

* tests: fix view refresh call

* tests: add twap table

* tests: fix routing many

* tests: fix twap

* tests: uncomment

* tests: fix

* tests: remove pairs const

* tests: lint

* tests(e2e_get_entry): toml lint

* tests(e2e_get_entry): Removed one test

* tests(e2e_get_entry): Fixed deadlock

* tests(e2e_get_entry): Removed outliers filtering

---------

Co-authored-by: Rémi <[email protected]>

* remove-currencies-and-merkle:

* remove-currencies-and-merkle: E2Es

---------

Co-authored-by: Rémi <[email protected]>
Bumps the github-actions group with 1 update: [astraly-labs/workflows](https://github.com/astraly-labs/workflows).


Updates `astraly-labs/workflows` from 1.0.5 to 1.0.6
- [Release notes](https://github.com/astraly-labs/workflows/releases)
- [Commits](astraly-labs/workflows@v1.0.5...v1.0.6)

---
updated-dependencies:
- dependency-name: astraly-labs/workflows
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Add MarketEntry enum to support multiple market types

Introduces a new MarketEntry enum in entries.rs to handle both spot and perpetual market entries. Updates related utility functions and handlers to support the new enum, enabling more flexible market data representation.

* fix: clippy

* fix: rebase
* ✨ Add support for Google Cloud Secret Manager

* gcp-integration: GCP Manager

* ♻️ Simplify secret path formatting in GCP utility

* ♻️ Enhance GCP client authentication to support service account credentials

* gcp-integration: Removed pragma signer restriction

* ♻️ Improve GCP with logging

---------

Co-authored-by: akhercha <[email protected]>
- Generalize `publish_to_kafka` function to support multiple entry types
- Split entry processing in `publish_entry_ws` to handle spot and perpetual entries separately
- Add `convert_perp_entry_to_db` utility function for perpetual entries
- Simplify Kafka publishing logic across handlers
* feat: multi stream endpoint

* fix: clippy
akhercha and others added 30 commits March 12, 2025 13:06
* feat: cleanup migrations using postgres functions

* feat: compression migration using hypercore

* fix: migrations bugs

* fix: typo in last migration
* refactor: remove Mean aggregation mode and update related logic

- Removed Mean from AggregationMode enum and adjusted related code in handlers and repositories.
- Updated interval specifier to include new FiveMinutes interval and ensure proper handling of Twap aggregation.

* feat: add TenSeconds interval and update related logic

- Introduced TenSeconds interval to the Interval enum with appropriate serde renaming.
- Updated to_minutes method to handle TenSeconds interval.
- Modified get_interval_specifier and get_window_size functions to include TenSeconds interval handling.

* refactor: remove unused expiration timestamp filter and clean up SQL queries

- Removed the get_expiration_timestamp_filter function from sql.rs as it was no longer needed.
- Updated SQL queries in entry_repository.rs to eliminate references to the removed filter.
- Minor formatting adjustments in get_entry.rs and pragma_node.rs for consistency.

* fix: twap interval names are now the same as for median
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants