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

FE Release 2024-07-15 #2872

Merged
merged 57 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
7f10a11
Fix responses
golangisfun123 Jun 28, 2024
81486e9
missed
golangisfun123 Jun 28, 2024
4448759
add metrics for alerting (#2806)
trajan0x Jun 28, 2024
56412b6
lint
golangisfun123 Jun 28, 2024
a789d2e
fix
golangisfun123 Jun 28, 2024
22b1c6c
remove uneeded test
golangisfun123 Jun 28, 2024
de7e890
fix error
golangisfun123 Jun 28, 2024
038c3f0
lint
golangisfun123 Jun 28, 2024
3fd4e9c
lint
golangisfun123 Jun 28, 2024
2465209
Final Design upgrades for Synapse Explorer (#2798)
Defi-Moses Jun 28, 2024
7273630
Publish
Defi-Moses Jun 28, 2024
6d4586b
Merge pull request #2811 from synapsecns/fix-responses
golangisfun123 Jun 28, 2024
07d6d4d
use 1 version of semconv (#2812)
trajan0x Jun 28, 2024
1d6c328
Submitter: cap transactions in chainConfirmQueue (#2789)
dwasse Jun 28, 2024
b5e51da
ctrl+c handling in core/commandline (#2788)
kathiouchka Jun 29, 2024
1777040
stage link unfurl (#2816)
trajan0x Jun 29, 2024
021d351
submitter: correctly record when balance is empty (fixes #2817} (#2818)
trajan0x Jun 29, 2024
44076b2
[submitter] metric refactor & fix (#2821)
trajan0x Jun 29, 2024
8e3cf39
improve submitter docs (#2824)
trajan0x Jun 30, 2024
222ffd4
docs:fix vercel build
trajan0x Jun 30, 2024
d0f1508
add secondary blacklist feature (#2825)
trajan0x Jun 30, 2024
0d573f2
address #2814 as per LK4D4/trylock#3
trajan0x Jul 2, 2024
9cdc208
RFQ Relayer: restrict state transitions (#2787)
dwasse Jul 2, 2024
a362a16
rfq: mimimal viable withdrawal api (#2815)
trajan0x Jul 2, 2024
6d5fdfe
fix(synapse-interface): max gas estimates (#2831)
bigboydiamonds Jul 2, 2024
bdf657c
Publish
trajan0x Jul 2, 2024
3208667
small fix to add chain pages back to explorer
Defi-Moses Jul 2, 2024
79603d5
Bump services/cctp-relayer/external/evm-cctp-contracts (#2843)
dependabot[bot] Jul 3, 2024
3875ecc
configure codecov bundle analyzer (#2836)
trajan0x Jul 3, 2024
b705577
Publish
trajan0x Jul 3, 2024
9916a14
update bl
aureliusbtc Jul 4, 2024
48063a7
RFQ API: add bulk quotes endpoint (#2846)
dwasse Jul 5, 2024
f4589f1
add refunder to opbot (#2838)
trajan0x Jul 5, 2024
ea2520e
RFQ Quoter: generate quotes in parallel (#2847)
dwasse Jul 6, 2024
1e61249
Add RFQ Guard (#2840)
dwasse Jul 6, 2024
8d7a525
carforward cctp relayer [ci skip]
trajan0x Jul 6, 2024
001b913
Merge branch 'master' of https://github.com/synapsecns/sanguine
trajan0x Jul 6, 2024
d787c29
bump dependencies (#2848)
trajan0x Jul 6, 2024
05b05d8
[ci skip] downgrade labeler
trajan0x Jul 7, 2024
e401a73
fix opbot in public chan (issue #2850) (#2851)
trajan0x Jul 7, 2024
2d8fd40
RFQ Relayer: cap db semaphore (#2852)
dwasse Jul 7, 2024
31b5f8f
fix cctp submitter race (#2853)
trajan0x Jul 8, 2024
9779cda
[rfq] metrics, hotfixes (#2854)
trajan0x Jul 8, 2024
15d18e8
RFQ Relayer: add request status count metric (#2856)
dwasse Jul 9, 2024
a554e13
feat(withdrawal): print txhash of withdrawal (#2845)
golangisfun123 Jul 9, 2024
0a083a5
record string status (#2861)
trajan0x Jul 9, 2024
5ba1cb5
feat(widget): add unsupported network (#2860)
bigboydiamonds Jul 10, 2024
564986d
Publish
bigboydiamonds Jul 10, 2024
74b080c
Widget description (#2867)
bigboydiamonds Jul 11, 2024
c6a31b6
auto update gh pages (#2859)
trajan0x Jul 11, 2024
b3fecd4
bump rfq img (#2868)
trajan0x Jul 11, 2024
8b83ad8
Publish
trajan0x Jul 11, 2024
f3a6e32
change to latest [goreleaser] (#2869)
golangisfun123 Jul 11, 2024
8441deb
Update bl
aureliusbtc Jul 12, 2024
99f3c9a
Update Bl
aureliusbtc Jul 12, 2024
df288f5
feat(synapse-interface): Dest address screener middleware (#2870)
abtestingalpha Jul 15, 2024
73863ab
Publish
abtestingalpha Jul 15, 2024
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
1 change: 1 addition & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ flags:
cctp-relayer:
paths:
- services/cctp-relayer/
carryforward: true
rfq:
paths:
- services/rfq/
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/add-label/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
shell: bash

- name: Add Label
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/remove-label/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
shell: bash

- name: Remove Label
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
async function removeLabel() {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
stale-prs:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
stale-pr-message: 'This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
exempt-pr-labels: exempt-stale
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 2
- name: Install Go
if: ${{ matrix.language == 'go' }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: 'go.work'

Expand All @@ -42,7 +42,7 @@ jobs:

- name: Go modules cache
if: ${{ matrix.language == 'go' }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
# see https://github.com/mvdan/github-actions-golang
path: |
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 2
submodules: 'recursive'

- name: Go modules cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
# see https://github.com/mvdan/github-actions-golang
# also: https://glebbahmutov.com/blog/do-not-let-npm-cache-snowball/ w/ go build (workaround now is having a cache that just gets expired at night)
Expand All @@ -125,7 +125,7 @@ jobs:
${{ runner.os }}-test-${{matrix.package}}

- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -259,14 +259,14 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 2
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Go modules cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
# see https://github.com/mvdan/github-actions-golang
# also: https://glebbahmutov.com/blog/do-not-let-npm-cache-snowball/ w/ go build (workaround now is having a cache that just gets expired at night)
Expand Down Expand Up @@ -301,7 +301,7 @@ jobs:
# e.g. ['package1', 'package2'] if both package folders contains changes
package: ${{ fromJSON(needs.changes.outputs.packages_nodeps) }}
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x

Expand Down Expand Up @@ -379,7 +379,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 2
submodules: 'recursive'

- name: Setup NodeJS
Expand All @@ -396,12 +396,12 @@ jobs:
run: npx lerna exec npm run build:go --parallel

# Setup Go
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x

- name: Go modules cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
# see https://github.com/mvdan/github-actions-golang
# also: https://glebbahmutov.com/blog/do-not-let-npm-cache-snowball/ w/ go build (workaround now is having a cache that just gets expired at night)
Expand Down Expand Up @@ -474,7 +474,7 @@ jobs:
- uses: actions/checkout@v4
if: ${{ contains(fromJson(needs.pr_metadata.outputs.labels), format('needs-go-generate-{0}', matrix.package)) }}
with:
fetch-depth: 1
fetch-depth: 2
- name: Remove Label
if: ${{ contains(fromJson(needs.pr_metadata.outputs.labels), format('needs-go-generate-{0}', matrix.package)) }}
uses: ./.github/actions/remove-label
Expand All @@ -496,7 +496,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 2
submodules: 'recursive'

- name: Setup NodeJS
Expand All @@ -519,12 +519,12 @@ jobs:
if: ${{ contains(matrix.package, 'agents') || contains(matrix.package, 'services/rfq') }}

# Setup Go
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x

- name: Go modules cache
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ !contains(matrix.package, 'services/cctp-relayer') }}
with:
# see https://github.com/mvdan/github-actions-golang
Expand All @@ -541,7 +541,7 @@ jobs:
${{ runner.os }}-go-generate-${{matrix.package}}

- name: Cache Linuxbrew
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ contains(matrix.package, 'scribe') }}
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
submodules: 'recursive'

- name: Set up cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ jobs:
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
with:
charts_dir: charts
pages_branch: master
2 changes: 1 addition & 1 deletion .github/workflows/helm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
version: v3.9.2

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lerna.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
- name: 'Version and publish' # Interesting step
env:
GH_TOKEN: ${{ secrets.LERNA_FGPAT }}
CODECOV_TOKEN: ${{ secrets.CODECOV }}
GH_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}

# branch is protected so this must be an admin token, this will expire on 03/01/2024
# replacement should be done by a service account with a fine-grained personal access token
run: |
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 2
submodules: 'recursive'

- name: Setup NodeJS
Expand All @@ -40,6 +40,7 @@ jobs:

- name: Run tests # Run tests of all packages
run: npx lerna exec npm run ci:lint --parallel

test:
runs-on: ubuntu-latest
env:
Expand All @@ -49,12 +50,18 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 2
submodules: 'recursive'

- name: Setup NodeJS
uses: ./.github/actions/setup-nodejs

# Foundry is required for build
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Verify Changed files
uses: tj-actions/[email protected]
id: verify-yarn-lock
Expand Down Expand Up @@ -97,3 +104,9 @@ jobs:
files: lcov.info
attempt_limit: 5
attempt_delay: 30000

- name: Run build # Run tests of all packages
run: npx lerna exec npm run build --parallel || true # only for codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV }}
GH_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
2 changes: 1 addition & 1 deletion .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
if: ${{ matrix.package != 'solidity-devops' }}
uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-depth: 2
submodules: 'recursive'

- name: Setup NodeJS
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ui-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,18 @@ jobs:
export DEPLOY_URL=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})
echo "DEPLOY_URL=$DEPLOY_URL" >> $GITHUB_ENV
echo "::set-output name=url::$DEPLOY_URL"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV }}
GH_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
- name: Deploy to Vercel (Output Prod)
if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }}
run: |
vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
vercel build --token=${{ secrets.VERCEL_TOKEN }} --prod
vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} --prod
env:
CODECOV_TOKEN: ${{ secrets.CODECOV }}
GH_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}

- name: Update PR Description
if: ${{ github.event_name == 'pull_request' && format('refs/heads/{0}', github.event.repository.default_branch) != github.ref }}
Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ run:
- grpc/client/rest/*
- bundle/*
- generated/*
- otelginmetrics/*
timeout: 15m
skip-files:
- '.*\\.abigen\\.go$'
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.fontLigatures": "'calt', 'liga', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'ss09'",
"editor.formatOnSave": true,
// "editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
Expand Down
1 change: 1 addition & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ignore: |
**/charts/**
**/swagger.yaml
**/openapi.yaml
index.yaml

rules:
document-start:
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,7 @@ func TestEventDBSuite(t *testing.T) {
}

```

## Github Actions

If you want to do a shallow clone, use `fetch-depth: 2` rather than `fetch-depth: 1`. This allows [some actions](https://docs.codecov.com/docs/environment-specific-requirements) (though not all of them) to determine the correct sha.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ There are a variety of different packages in this repo, covered comprehensively
- [Contracts](https://github.com/synapsecns/synapse-contracts): The contracts used to power the synapse bridge.
- [Frontend](packages/synapse-interface): The frontend used to interact with the bridge.
- [SDK](packages/sdk-router): The SDK used to interact with the bridge.
- [Widget](packages/widget): The widget used to access the synapse bridge externally.
- Explorer: A bridge explorer that allows users to view on-chain data state about the bridge.
- [Backend](services/explorer): The backend used to power the explorer.
- [Frontend](packages/explorer-ui): The frontend used to interact with the explorer.
Expand Down
Loading
Loading