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(new-market-widget): update add markets to send market map proposal first and validation flow to use v7.x commit #1112

Merged
merged 22 commits into from
Oct 4, 2024
Merged
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
24 changes: 16 additions & 8 deletions .github/workflows/validate-other-market-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
paths:
- 'public/configs/otherMarketData.json'
- 'scripts/validate-other-market-data.ts'
- 'scripts/markets/validate-other-market-data.ts'

jobs:
validate:
Expand All @@ -22,6 +22,19 @@ jobs:
node-version: 18
cache: pnpm

- name: Initialize password store
run: |
gpg --batch --gen-key <<EOF
Key-Type: RSA
Key-Length: 2048
Name-Real: GitHub Actions
Name-Email: [email protected]
Expire-Date: 0
%no-protection
EOF
GPG_ID=$(gpg --list-keys --with-colons | awk -F: '/^pub:/ { print $5 }')
pass init $GPG_ID

- name: Install dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -37,7 +50,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: 'dydxprotocol/v4-chain'
ref: '725ad716cbe9e9aebf2472e877fe2a71e8a63d87'
ref: '6a45430024d66bf10577e13b1d0698fd86b0ad32'
path: 'v4-chain'

- name: Start v4 localnet
Expand All @@ -48,12 +61,7 @@ jobs:
make build
echo "Starting localnet..."
DOCKER_BUILDKIT=1 make localnet-init
DOCKER_BUILDKIT=1 make localnet-compose-upd -e RAYDIUM_URL=${{ secrets.RAYDIUM_URL }}

- name: Get diff of otherMarketData.json
run: |
git fetch origin
git diff remotes/origin/main -- public/configs/otherMarketData.json > otherMarketDiff.txt
DOCKER_BUILDKIT=1 make localnet-compose-upd -e RAYDIUM_URL=${{ secrets.RAYDIUM_URL }} -e UNISWAPV3_BASE_URL=${{ secrets.UNISWAPV3_BASE_URL }} -e UNISWAPV3_ETHEREUM_URL=${{ secrets.UNISWAPV3_ETHEREUM_URL }}

- name: Checkout main branch
uses: actions/checkout@v3
Expand Down
Loading
Loading