Skip to content

Conversation

@Andrei-Dolgolev
Copy link
Contributor

@Andrei-Dolgolev Andrei-Dolgolev commented Nov 26, 2024

New query parameters which define database of query execution.

POST http://127.0.0.1:7481/queries/Leaderboard_swaps/update_data?customer_id=<db-id>&instance_id=1
Authorization: Bearer <moonstream-token>
Content-Type: application/json

{
    "blockchain": "arbitrum_one",
    "params": {
    }
}

Update leaderboards generator to use new parameters in query execution flow.

Add env variables.
MOONSTREAM_DB_V3_CONTROLLER_API = 'https://mdb-v3-api.moonstream.to'
MOONSTREAM_DB_V3_SCHEMA_NAME = 'blockchain'

Moonstream crawlers version.
"""

MOONCRAWL_VERSION = "0.4.13"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How it will be merged with PR #1142 - same versions

Copy link
Contributor

@kompotkot kompotkot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg

@Andrei-Dolgolev Andrei-Dolgolev merged commit 79b464d into main Nov 27, 2024
@Andrei-Dolgolev Andrei-Dolgolev deleted the query-api-v3 branch November 27, 2024 15:05
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