Skip to content

GRPC ingester config, code gen, wiring and docs #42

GRPC ingester config, code gen, wiring and docs

GRPC ingester config, code gen, wiring and docs #42

Workflow file for this run

# This workflow runs Go tests from mainnet state to determine
# which tokens are missing prices and which routes against USDC do not exist.
# It runs this against all tokens in the asset list.
#
# We use this test in CI for detecting tokens with unsupported pricing.
# The config used is the `config.json` in root which is expected to be as close
# to mainnet as possible.
#
# The mainnet state must be manually updated when needed with 'make sqs-update-mainnet-state' against a local node.
name: Mainnet Tests
on:
pull_request:
branches:
- "**"
push:
branches:
- "main"
- "v[0-9]**"
jobs:
test_prices:
runs-on: ubuntu-latest # This specifies the runner environment.
steps:
-
name: Checkout repository
uses: actions/checkout@v4
-
name: 🐿 Setup Golang
uses: actions/setup-go@v5
with:
go-version-file: go.mod
-
name: Run Pricing Test
env:
CI_SQS_PRICING_TEST: true
run: |
go test \
-timeout 30s \
-run TestTokensUseCaseTestSuite/TestGetPrices_Chain_FindUnsupportedTokens \
github.com/osmosis-labs/sqs/tokens/usecase -v -count=1
test_routes:
runs-on: ubuntu-latest
steps:
-
name: Checkout repository
uses: actions/checkout@v4
-
name: 🐿 Setup Golang
uses: actions/setup-go@v5
with:
go-version-file: go.mod
-
name: Run Routes Test
env:
CI_SQS_ROUTE_TEST: true
run: |
go test \
-timeout 30s \
-run TestRouterTestSuite/TestGetCandidateRoutes_Chain_FindUnsupportedRoutes \
github.com/osmosis-labs/sqs/router/usecase -v -count=1