From ecd90cb5ea918c4f4595a280d85eeef4146a6581 Mon Sep 17 00:00:00 2001 From: nikspz <83953535+nikspz@users.noreply.github.com> Date: Tue, 23 May 2023 13:14:35 +0700 Subject: [PATCH 1/3] fix Update version in package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 06558f3aeb..086a5d71d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hummingbot-gateway", - "version": "1.15.0", + "version": "1.16.0", "description": "Middleware that helps Hummingbot clients access standardized DEX API endpoints on different blockchain networks", "main": "index.js", "license": "Apache-2.0", From 8b1d13afb17a81746d2e5a196433d9b18390835b Mon Sep 17 00:00:00 2001 From: david-hummingbot <85695272+david-hummingbot@users.noreply.github.com> Date: Fri, 26 May 2023 00:13:44 +0800 Subject: [PATCH 2/3] update gateway workflow - added job to build and push multi-arch Docker image on merge to master --- .github/workflows/workflow.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2c2289c4fc..bcff7f0ebc 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -102,3 +102,30 @@ jobs: ./node_modules/.bin/jest --listTests --findRelatedTests ${DIFF_FILES//$'\n'/ } NODE_OPTIONS=--max-old-space-size=10240 node ./node_modules/.bin/jest --runInBand --coverage --findRelatedTests ${DIFF_FILES//$'\n'/ } # git diff origin/$GITHUB_BASE_REF | yarn diff-test-coverage -c ./coverage/lcov.info -t lcov -b 50 -l 60 + + docker_build_and_push: + runs-on: ubuntu-latest + needs: [build_gateway] + if: github.event_name == 'pull_request' && github.event.pull_request.merged == true + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v2 + with: + context: . + push: true + tags: hummingbot/gateway:latest + platforms: linux/amd64,linux/arm64 + + From 08023fecda64aaa9f0f37f7f8cc4b9f2f5020baa Mon Sep 17 00:00:00 2001 From: Michael Feng Date: Mon, 5 Jun 2023 17:51:39 -0700 Subject: [PATCH 3/3] (fix) polygon default gas to 400 --- src/templates/polygon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/polygon.yml b/src/templates/polygon.yml index ed2639dd8f..826107d216 100644 --- a/src/templates/polygon.yml +++ b/src/templates/polygon.yml @@ -13,5 +13,5 @@ networks: tokenListSource: 'src/chains/polygon/polygon_tokens_mumbai.json' nativeCurrencySymbol: 'MATIC' -manualGasPrice: 100 +manualGasPrice: 400 gasLimitTransaction: 3000000