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(stats): dependency table #1231

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion .github/workflows/stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ jobs:
if: success() || failure()

- name: DB tests
run: RUST_BACKTRACE=1 RUST_LOG=info cargo test --locked --workspace -- --nocapture --ignored
# No logs because they hinder performance too much (75s with vs 45s without on local machine)
# and there are too much logs to view in the browser, forcing to download .zip and open
# ~90 MB log file locally
run: RUST_BACKTRACE=1 cargo test --locked --workspace -- --nocapture --ignored
if: success() || failure()
env:
DATABASE_URL: postgres://postgres:admin@localhost:5432/
Expand Down
14 changes: 14 additions & 0 deletions stats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ The service consists of 2 parts, a stats calculation library and a transport lay

- Postgresql database for this service
- Access to Blockscout database
- (Preferable) Access to Blockscout API (see `STATS__BLOCKSCOUT_API_URL` description for details)
- (Optional) Access to User Ops Indexer database (actually just tables in Blockscout database)

### Dependecy version requirements

Usually, it's best to use the latest versions of all components. Nevertheless, if there is a need in using older versions, you can refer to the following table.

The table lists versions of Blockscout and User Ops Indexer that each Stats version was developed for and tested on. In practice, semver-compatible versions should work as well.

| Stats version | Recommended Blockscout version | Recommended User Ops Indexer version |
|---|---|---|
| v2.6.0 | v7.0.0 | v1.3.1 |
| v2.5.0 | v6.10.1 | - |
bragov4ik marked this conversation as resolved.
Show resolved Hide resolved
| v2.4.0 | v6.10.1 | - (not yet supported) |

## Build

Expand Down
Loading