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

[ECO-1758] Update dss-stable for DSS v2.2.0 release #776

Merged
merged 55 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2f53120
add new aggregator
CRBl69 Apr 12, 2024
e336c51
Include upstream incorporation in DSS changelog
alnoki Apr 22, 2024
68533ca
Merge pull request #759 from econia-labs/ECO-1594
CRBl69 Apr 23, 2024
ce24cfd
update aggv2
CRBl69 Apr 24, 2024
676ba91
add aggv2 documentation
CRBl69 Apr 26, 2024
b336209
Flag that build is experimental
alnoki Apr 26, 2024
8731bec
Merge pull request #755 from econia-labs/ECO-1477
alnoki Apr 26, 2024
25facaf
fix nominal error in /tickers endpoint
CRBl69 May 1, 2024
3c8734c
update changelog
CRBl69 May 1, 2024
869105c
Merge pull request #761 from econia-labs/ECO-1624
alnoki May 1, 2024
56d8a9e
improve preformance of api.markets
CRBl69 May 1, 2024
d5189ee
add changelog
CRBl69 May 1, 2024
fc8606f
fix accidental processor version regression
CRBl69 May 2, 2024
0ad7a05
Merge pull request #763 from econia-labs/ECO-1627
alnoki May 2, 2024
2fc2993
Merge pull request #760 from econia-labs/ECO-1597
alnoki May 2, 2024
5f0dff5
add dynamic batch size
CRBl69 May 1, 2024
a921ff2
factorize batch sizing logic
CRBl69 May 2, 2024
93946a2
update changelog
CRBl69 May 3, 2024
7c4c744
Merge pull request #762 from econia-labs/ECO-1224
alnoki May 3, 2024
af63e44
fix and update deps
CRBl69 May 6, 2024
8172718
update changelog
CRBl69 May 6, 2024
bd80423
Merge pull request #764 from econia-labs/ECO-1643
CRBl69 May 8, 2024
3454037
fix last price in tickers
CRBl69 May 8, 2024
b608aeb
update changelog
CRBl69 May 8, 2024
392c047
use create and replace
CRBl69 May 8, 2024
060d014
Merge pull request #766 from econia-labs/ECO-1652
alnoki May 9, 2024
349d643
fix migrations and rolling volume bug
CRBl69 May 8, 2024
78ca0bb
update changelog
CRBl69 May 8, 2024
f114988
allow regeneration of historical data
CRBl69 May 9, 2024
d816886
Merge pull request #765 from econia-labs/ECO-1653
alnoki May 9, 2024
6739139
fix price when tick size isn't 0
CRBl69 May 10, 2024
4eaaba4
update changelog
CRBl69 May 10, 2024
9098999
speed up daily volume
CRBl69 May 10, 2024
36e9d82
generate sqlx
CRBl69 May 10, 2024
bf89aa1
fix tick logic
CRBl69 May 10, 2024
992a367
Fix typo on tick size
alnoki May 10, 2024
2b8e2f1
Merge pull request #767 from econia-labs/ECO-1656
alnoki May 10, 2024
01cb4ac
Add note on changelog
alnoki May 10, 2024
e06819b
Merge branch 'main' into ECO-1657
alnoki May 10, 2024
05c8c72
Merge pull request #768 from econia-labs/ECO-1657
alnoki May 10, 2024
12a480d
fix tick size calculations
CRBl69 May 12, 2024
3d6aebf
update openapi json
CRBl69 May 13, 2024
d134afe
Merge pull request #769 from econia-labs/ECO-1662
alnoki May 13, 2024
92dba53
Merge pull request #770 from econia-labs/update-openapi-json
alnoki May 13, 2024
42805fc
update changelog
CRBl69 May 14, 2024
eaf6b70
Merge pull request #771 from econia-labs/ECO-1604
alnoki May 14, 2024
2b6417c
fix 24h price when missing
CRBl69 May 22, 2024
2122ec2
update aptos website to get api keys
CRBl69 May 22, 2024
db94508
Merge pull request #773 from econia-labs/ECO-1704
alnoki May 22, 2024
5179311
update changelog
CRBl69 May 22, 2024
eb22160
fix dss version link
CRBl69 May 23, 2024
ab738a1
Merge pull request #772 from econia-labs/ECO-1684
alnoki May 23, 2024
f8bbe38
update processor
CRBl69 May 23, 2024
2fc63ae
update changelog
CRBl69 May 27, 2024
1df44e3
Merge pull request #775 from econia-labs/ECO-1721
alnoki May 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions doc/doc-site/docs/off-chain/dss/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,26 @@ Stable DSS builds are tracked on the [`dss-stable`] branch with tags like [`dss-
1. Merge `main` into `dss-stable`.
1. Push annotated tag to head of `dss-stable`.

## [v2.2.0-rc.2] (hot upgradable)

### Changed

- Improve performance of `/markets` endpoint ([#760], [#772]).

### Fixed

- `/tickers` endpoint `base_volume_nominal` field ([#761]).
- `/tickers` endpoint `price` field ([#766]).
- fixed nominal issues when tickers isn't 1 ([#767]).
- fixed potential duplicates in `daily_rolling_volume_history`([#765]).

### Internal

- Added dynamic batch sizing to avoid crashes during high usage ([#762]).
- Updated Rust dependencies ([#764]).
- Optimize daily volume calculations wrapped query ([#768]).
- Fork base, to include upstream processor changes ([#775], [Processor #27]).

## [v2.1.0] (hot upgradable)

### Added
Expand All @@ -28,6 +48,10 @@ Stable DSS builds are tracked on the [`dss-stable`] branch with tags like [`dss-
- More details in aggregator logging ([#738]).
- Default support for the `all` liquidity group on all markets ([#728]).

### Changed

- Fork base, to include upstream processor changes ([#725], [#744], [Processor #24]).

### Fixed

- `/tickers` endpoint `base_volume_nominal` and `quote_volume_nominal` fields ([#746], [#749]).
Expand Down Expand Up @@ -215,24 +239,38 @@ Stable DSS builds are tracked on the [`dss-stable`] branch with tags like [`dss-
[#719]: https://github.com/econia-labs/econia/pull/719
[#720]: https://github.com/econia-labs/econia/pull/720
[#723]: https://github.com/econia-labs/econia/pull/723
[#725]: https://github.com/econia-labs/econia/pull/725
[#727]: https://github.com/econia-labs/econia/pull/727
[#728]: https://github.com/econia-labs/econia/pull/728
[#729]: https://github.com/econia-labs/econia/pull/729
[#730]: https://github.com/econia-labs/econia/pull/730
[#732]: https://github.com/econia-labs/econia/pull/732
[#736]: https://github.com/econia-labs/econia/pull/736
[#738]: https://github.com/econia-labs/econia/pull/738
[#744]: https://github.com/econia-labs/econia/pull/744
[#746]: https://github.com/econia-labs/econia/pull/746
[#749]: https://github.com/econia-labs/econia/pull/749
[#753]: https://github.com/econia-labs/econia/pull/753
[#760]: https://github.com/econia-labs/econia/pull/760
[#761]: https://github.com/econia-labs/econia/pull/761
[#762]: https://github.com/econia-labs/econia/pull/762
[#764]: https://github.com/econia-labs/econia/pull/764
[#765]: https://github.com/econia-labs/econia/pull/765
[#766]: https://github.com/econia-labs/econia/pull/766
[#767]: https://github.com/econia-labs/econia/pull/767
[#768]: https://github.com/econia-labs/econia/pull/768
[#772]: https://github.com/econia-labs/econia/pull/772
[#775]: https://github.com/econia-labs/econia/pull/775
[docs site readme]: https://github.com/econia-labs/econia/blob/main/doc/doc-site/README.md
[dss-v2.1.0-rc.1]: https://github.com/econia-labs/econia/releases/tag/dss-v2.1.0-rc.1
[processor #19]: https://github.com/econia-labs/aptos-indexer-processors/pull/19
[processor #20]: https://github.com/econia-labs/aptos-indexer-processors/pull/20
[processor #21]: https://github.com/econia-labs/aptos-indexer-processors/pull/21
[processor #22]: https://github.com/econia-labs/aptos-indexer-processors/pull/22
[processor #23]: https://github.com/econia-labs/aptos-indexer-processors/pull/23
[processor #24]: https://github.com/econia-labs/aptos-indexer-processors/pull/24
[processor #25]: https://github.com/econia-labs/aptos-indexer-processors/pull/25
[processor #27]: https://github.com/econia-labs/aptos-indexer-processors/pull/27
[processor submodule]: https://github.com/econia-labs/aptos-indexer-processors/pulls?q=is%3Aclosed
[v1.3.0]: https://github.com/econia-labs/econia/releases/tag/dss-v1.3.0
[v1.4.0]: https://github.com/econia-labs/econia/compare/dss-v1.3.0...dss-v1.4.0
Expand All @@ -242,5 +280,8 @@ Stable DSS builds are tracked on the [`dss-stable`] branch with tags like [`dss-
[v2.0.0]: https://github.com/econia-labs/econia/compare/dss-v1.6.1...dss-v2.0.0
[v2.0.1]: https://github.com/econia-labs/econia/compare/dss-v2.0.0...dss-v2.0.1
[v2.1.0]: https://github.com/econia-labs/econia/compare/dss-v2.0.1...dss-v2.1.0
[v2.2.0-rc.2]: https://github.com/econia-labs/econia/compare/dss-v2.1.0...dss-v2.2.0-rc.2
[`dss-stable`]: https://github.com/econia-labs/econia/tree/dss-stable
[`econia` repo]: https://github.com/econia-labs/econia/pulls?q=is%3Aclosed


2 changes: 1 addition & 1 deletion doc/doc-site/docs/off-chain/dss/ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This guide will help you set up continuous integration/continuous deployment (CI
```

:::tip
[You can get a gRPC auth token from Aptos Labs](https://aptos-api-gateway-prod.firebaseapp.com/)
[You can get a gRPC auth token from Aptos Labs](https://developers.aptoslabs.com/)
:::

1. Initialize the CI/CD project runner, which on startup will run a script that installs dependencies:
Expand Down
2 changes: 1 addition & 1 deletion doc/doc-site/docs/off-chain/dss/data-service-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The process is the same as running against testnet, just with a slightly differe
### Getting the API key

Unless you are an infrastructure provider or want to run a fullnode yourself, the simplest way to get indexed transaction data is from the Aptos Labs gRPC endpoint (indexer v2 API).
To connect to this service, you'll need to get an API key [here](https://aptos-api-gateway-prod.firebaseapp.com/).
To connect to this service, you'll need to get an API key [here](https://developers.aptoslabs.com/).

### Generating a config

Expand Down
2 changes: 1 addition & 1 deletion doc/doc-site/openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/docker/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ECONIA_ADDRESS="0xc0deb00c405f84c85dc13442e305df75d1288100cdd82675695f6148c7ece5
# For a local end-to-end testing chain: http://streamer:50051
GRPC_DATA_SERVICE_URL="https://grpc.mainnet.aptoslabs.com:443"

# For a public chain you have to get this token from https://aptos-api-gateway-prod.firebaseapp.com/.
# For a public chain you have to get this token from https://developers.aptoslabs.com/.
# For a local end-to-end testing chain use: dummy_token
GRPC_AUTH_TOKEN="<API_TOKEN>"

Expand Down
1 change: 1 addition & 0 deletions src/docker/processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y \
curl \
git \
libpq-dev \
libdw-dev \
libssl-dev \
lld \
pkg-config \
Expand Down
5 changes: 2 additions & 3 deletions src/rust/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

[build]
rustflags = ["--cfg", "tokio_unstable"]

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading