-
Notifications
You must be signed in to change notification settings - Fork 607
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
Off-chain router V20 release line #6785
Closed
Closed
Changes from all commits
Commits
Show all changes
156 commits
Select commit
Hold shift + click to select a range
6fe6870
V20 SQS POC
p0mvn 6932c71
logs for route debugging
p0mvn 52b7b79
CLI for full range liquidity and return bucker index
p0mvn 38931cb
fix localosmosis position creation
p0mvn 3cc8840
fix GetTickLiquidityForFullRange query
p0mvn 6ecdeb9
add rating logic for ordering initial pools
p0mvn df277bc
update localosmosis with stableswap pool
p0mvn 5d0236d
add support for stableswap pools
p0mvn 58632bf
document CLI for transmuter testing
p0mvn 925a449
fix bug with ingesting cw pools and add info ingester logs
p0mvn 4cf2c4b
add transmuter support
p0mvn 5c0c1c4
initial taker fee implementation
p0mvn 520aa15
utilize asset list from chain registry for getting token precision fo…
p0mvn c35548d
lower routes config
p0mvn 57b9cdf
makefile changes
p0mvn a241634
tweak config params
p0mvn 9861e75
various fixes and logs from debugging mainnet
p0mvn b98e355
pipe logs to file set via env
p0mvn bbfe049
use custom logger on ingester
p0mvn 71732a2
move sqs logger up to app
p0mvn 9d77d75
log level via env var
p0mvn 57364be
propagate tvl error string instead of boolean flag
p0mvn 4b299cb
fix bug with retrieving and parsing exponents
p0mvn 0930fce
logger configs
p0mvn 57a7957
debug route panic
p0mvn ed4200a
create GetPoolDenoms method on PoolI
p0mvn c8f721c
fix bug in denom parsing
p0mvn 602ea09
format results per FE requirements
p0mvn bf91853
move quote into its own file
p0mvn 2aa8652
implement effective swap fee
p0mvn c896087
implement effective spread factor
p0mvn f6d85cd
effective fee
p0mvn 4bb14ed
fix issues around TVL sorting, add debugging helpers for logging
p0mvn 6f9e0b1
refactor to extract routable pool implementations into their own package
p0mvn cf376ce
lint
p0mvn 39afc35
fix all lints
p0mvn 8d6b187
minor fixes
p0mvn 8a400e3
begin implementing barebones logic for caching
p0mvn 1d60568
custom serializer
p0mvn b6ad16d
updated
gzukel 85cd200
updated
gzukel 47097da
updated
gzukel 5ee6d46
updated
gzukel 89b75d9
updated
gzukel ed2f901
Revert "custom serializer"
p0mvn 85f3edd
updated
gzukel 4ef2724
updated, testing watch tower after re-deploy
gzukel 62e8d63
add infrastructure for getting pools from store
p0mvn 703bee5
mainnet Go test pools infrastructure. Inverse candidate routes. Broke…
p0mvn c40fd0a
Merge branch 'roman/sqs-poc-v20' of github.com:osmosis-labs/osmosis i…
p0mvn 9331f42
basic tests from mainnet set up
p0mvn 9b6383f
move router methods
p0mvn 678301f
updates
p0mvn def9af9
remove dfs routes
p0mvn a592f7d
rename bfs to candidate routes
p0mvn 59998d8
V20 SQS POC
p0mvn 32f576e
logs for route debugging
p0mvn ab267be
CLI for full range liquidity and return bucker index
p0mvn dbca54b
fix localosmosis position creation
p0mvn f93754a
fix GetTickLiquidityForFullRange query
p0mvn 8d951ff
add rating logic for ordering initial pools
p0mvn 398018d
update localosmosis with stableswap pool
p0mvn 0319571
add support for stableswap pools
p0mvn 0e8a267
document CLI for transmuter testing
p0mvn 01df30c
fix bug with ingesting cw pools and add info ingester logs
p0mvn e57a8d8
add transmuter support
p0mvn 05d91c4
initial taker fee implementation
p0mvn 51ed5d5
utilize asset list from chain registry for getting token precision fo…
p0mvn dbee820
lower routes config
p0mvn bb77738
makefile changes
p0mvn b5879a2
tweak config params
p0mvn 09c816a
various fixes and logs from debugging mainnet
p0mvn 7eccf87
pipe logs to file set via env
p0mvn c6033f8
use custom logger on ingester
p0mvn 026ca9e
move sqs logger up to app
p0mvn 2e54728
log level via env var
p0mvn ef1965e
propagate tvl error string instead of boolean flag
p0mvn a443780
fix bug with retrieving and parsing exponents
p0mvn 50d0917
logger configs
p0mvn bd3b505
debug route panic
p0mvn db12f19
create GetPoolDenoms method on PoolI
p0mvn 83bda04
fix bug in denom parsing
p0mvn 9108455
format results per FE requirements
p0mvn ff0e042
move quote into its own file
p0mvn ff35bd4
implement effective swap fee
p0mvn b0d5b20
implement effective spread factor
p0mvn 00cedd0
effective fee
p0mvn 8f9c592
fix issues around TVL sorting, add debugging helpers for logging
p0mvn 2870d4d
refactor to extract routable pool implementations into their own package
p0mvn 6d36540
lint
p0mvn 5edb1bb
fix all lints
p0mvn 9a4a7d3
minor fixes
p0mvn 51cb692
begin implementing barebones logic for caching
p0mvn a6fbb9a
custom serializer
p0mvn 2da2f79
updated
gzukel 66b735a
updated
gzukel 7197f41
updated
gzukel 5317aff
updated
gzukel eb9485f
updated
gzukel 00fea0c
Revert "custom serializer"
p0mvn 6895295
add infrastructure for getting pools from store
p0mvn 9b7042b
mainnet Go test pools infrastructure. Inverse candidate routes. Broke…
p0mvn dfc16a8
updated
gzukel 8b710c3
updated, testing watch tower after re-deploy
gzukel 3e415bc
basic tests from mainnet set up
p0mvn 208f52a
move router methods
p0mvn fb5307d
updates
p0mvn 8475bfc
remove dfs routes
p0mvn 53cc66e
rename bfs to candidate routes
p0mvn c553b6d
add route filtering and test USD / UMEE pair
p0mvn 5e6fe94
Merge branch 'roman/sqs-poc-v20' of github.com:osmosis-labs/osmosis i…
p0mvn 4461286
fix bug in split routes
p0mvn d2be244
initial locustfile configuration
p0mvn f2b1619
add router to load testing
p0mvn 4ae4a7a
stage in locust
p0mvn bf9a889
stage in locust
p0mvn ea721d5
refactor routable pools to remove superfluos interfaces
p0mvn 0dcbfd6
remove Router interface from APIs
p0mvn ea13771
write all pools to the same index
p0mvn c73aa86
delete Reverse
p0mvn 5f50a4f
implement profiler and add a makefile command
p0mvn 47248ba
Roman/sqs tickmodel refactor (#6920)
p0mvn b384c7f
update to v16.x (#6926)
czarcas7ic 9433549
fix caching
p0mvn d37ab22
avoid denom sorting for routes
p0mvn 4ae804c
add basic development environment docs
p0mvn 1fead6d
makefile for mainnet state updates; minor bug fixes, update mainnet s…
p0mvn 9dae009
Merge branch 'roman/sqs-poc-v20' of github.com:osmosis-labs/osmosis i…
p0mvn e635782
updated readme with space to trigger docker image
gzukel 989fee5
update test pool state
p0mvn 509eb5d
fix mainnet state makefile
p0mvn d47e1bb
remove CL validation in pool wrapper
p0mvn d03d0c4
ATOM/USDT candidate routes test
p0mvn cc1c077
reimplement splits with dynamic programming
p0mvn 785f169
remove old split logic
p0mvn b061a7b
Merge branch 'roman/sqs-poc-v20' of github.com:osmosis-labs/osmosis i…
p0mvn 5826cb2
Add healthcheck endpoint to sqs (#6935)
mattverse be7f7d1
Merge branch 'roman/sqs-poc-v20' of github.com:osmosis-labs/osmosis i…
p0mvn 1fd2952
implement metrics endpoint
p0mvn 6a1b078
Merge branch 'v20.x' into roman/sqs-poc-v20
p0mvn 4887905
lint
p0mvn f82e283
lint more
p0mvn 661e20d
lint more
p0mvn 4ff5800
more lint
p0mvn f2941f5
lint
p0mvn e50f7cd
fix test
p0mvn 8fb35a0
fix test
p0mvn 9c4413d
fix test
p0mvn d7ccd64
Merge branch 'v20.x' into roman/sqs-poc-v20
p0mvn 1404e24
Merge branch 'v20.x' into roman/sqs-poc-v20
p0mvn 3c2d3fb
Merge branch 'v20.x' into roman/sqs-poc-v20
p0mvn a99eabd
refactor(SQS): app wiring and config v20.x (#6965)
p0mvn b5045ee
Merge branch 'v20.x' into roman/sqs-poc-v20
p0mvn 7c5abcf
remove unused mock
p0mvn b9b7621
fix healthcheck
p0mvn f19fcf8
Merge branch 'v20.x' into roman/sqs-poc-v20
p0mvn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# This workflow pushes new docker images to osmolabs/sqs-dev on these events: | ||
# 2. Every new commit to the roman/sqs-poc-v20 branch, | ||
# tag with: sqs-v[0-9]+.[0-9]+.[0-9], | ||
# branch push with sqs-v[0-9]+.x | ||
# `osmolabs/sqs-dev:{SHORT_SHA}-$(date +%s)` is pushed. | ||
# All the images above have support for linux/amd64 (not linux/arm64). | ||
# All the images are based on an alpine image for easy debugging. | ||
|
||
name: Build and Push SQS Images | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- sqs-v[0-9]+.[0-9]+.[0-9] | ||
branches: | ||
- roman/sqs-poc-v20 | ||
- sqs-v[0-9]+.x | ||
|
||
env: | ||
RUNNER_BASE_IMAGE_ALPINE: alpine:3.17 | ||
SQS_DEV_IMAGE_REPOSITORY: osmolabs/sqs-dev | ||
SQS_PROD_IMAGE_REPOSITORY: osmolabs/sqs | ||
|
||
jobs: | ||
docker: | ||
runs-on: self-hosted | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Find go version | ||
run: | | ||
GO_VERSION=$(cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f 2) | ||
echo "GO_VERSION=$GO_VERSION" >> $GITHUB_ENV | ||
|
||
- name: Create Docker Image Tag for release candidate on Tag Push | ||
if: startsWith(github.ref, 'refs/tags/sqs-v') | ||
run: | | ||
GITHUB_TAG=${{ github.ref_name }} | ||
echo "DOCKER_IMAGE_TAG=${GITHUB_TAG#v}" >> $GITHUB_ENV | ||
echo "OSMOSIS_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV | ||
|
||
- name: Create Docker Image Tag for sqs-vx.x.x branch | ||
if: startsWith(github.ref, 'sqs-v') | ||
run: | | ||
GITHUB_TAG=${{ github.ref_name }} | ||
echo "DOCKER_IMAGE_TAG=${SHORT_SHA}-$(date +%s)" >> $GITHUB_ENV | ||
echo "OSMOSIS_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV | ||
|
||
- name: Create Docker Image Tag for roman/sqs-poc-v20 branch | ||
if: github.ref == 'refs/heads/roman/sqs-poc-v20' | ||
run: | | ||
SHORT_SHA=$(echo ${GITHUB_SHA} | cut -c1-8) | ||
echo "DOCKER_IMAGE_TAG=${SHORT_SHA}-$(date +%s)" >> $GITHUB_ENV | ||
echo "OSMOSIS_VERSION=$SHORT_SHA" >> $GITHUB_ENV | ||
|
||
- name: Build and Push Docker Images Dev | ||
uses: docker/build-push-action@v5 | ||
with: | ||
file: Dockerfile | ||
context: . | ||
push: true | ||
platforms: linux/amd64 | ||
build-args: | | ||
GO_VERSION=${{ env.GO_VERSION }} | ||
RUNNER_IMAGE=${{ env.RUNNER_BASE_IMAGE_ALPINE }} | ||
GIT_VERSION=${{ env.OSMOSIS_VERSION }} | ||
GIT_COMMIT=${{ github.sha }} | ||
tags: | | ||
${{ env.SQS_DEV_IMAGE_REPOSITORY }}:${{ env.DOCKER_IMAGE_TAG }} | ||
${{ env.SQS_DEV_IMAGE_REPOSITORY }}:sqs-latest | ||
|
||
- name: Build and Push Docker Images Prod | ||
uses: docker/build-push-action@v5 | ||
with: | ||
file: Dockerfile | ||
context: . | ||
push: true | ||
platforms: linux/amd64 | ||
build-args: | | ||
GO_VERSION=${{ env.GO_VERSION }} | ||
RUNNER_IMAGE=${{ env.RUNNER_BASE_IMAGE_ALPINE }} | ||
GIT_VERSION=${{ env.OSMOSIS_VERSION }} | ||
GIT_COMMIT=${{ github.sha }} | ||
tags: | | ||
${{ env.SQS_PROD_IMAGE_REPOSITORY }}:${{ env.DOCKER_IMAGE_TAG }} | ||
${{ env.SQS_PROD_IMAGE_REPOSITORY }}:sqs-latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this intentional?