Skip to content

Commit f7b84ed

Browse files
authored
feat: bridge-indexer integration (#286)
* feat: bridge-indexer integration * fix: used debug fmt to use full transaction Display and ToString traits are showing 'collapsed' tx hash (e.g 0x123...789) instead of full tx hash * fix: transfers from solana * feat: check if transfer finalized before processing it * feat: enabled telemetry * chore: removed otel support * chore: use ssh keys from secrets * refactor: reduced code duplication * fix: panic on config issue * chore: fix clippy * chore: fix solana's clippy * chore: fix clippy * chore: synced with main * chore: updated lock * chore: updated lock * chore: updated few crates * chore: fixed clippy issues
1 parent 023c2a1 commit f7b84ed

File tree

26 files changed

+1712
-496
lines changed

26 files changed

+1712
-496
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ jobs:
5656
env:
5757
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
steps:
59+
- name: Setup SSH
60+
uses: webfactory/ssh-agent@v0.7.0
61+
with:
62+
ssh-private-key: |
63+
${{ secrets.SSH_BRIDGE_INDEXER }}
64+
${{ secrets.SSH_BOREALIS }}
65+
5966
- uses: actions/checkout@v4
6067
with:
6168
submodules: recursive

.github/workflows/rust.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
matrix:
2424
component: [near] # Will be expanded with more components later
2525
steps:
26+
- name: Setup SSH
27+
uses: webfactory/ssh-agent@v0.7.0
28+
with:
29+
ssh-private-key: |
30+
${{ secrets.SSH_BRIDGE_INDEXER }}
31+
${{ secrets.SSH_BOREALIS }}
32+
2633
- name: Checkout code
2734
uses: actions/checkout@v4
2835

@@ -49,6 +56,13 @@ jobs:
4956
build-and-test:
5057
runs-on: ubuntu-latest
5158
steps:
59+
- name: Setup SSH
60+
uses: webfactory/ssh-agent@v0.7.0
61+
with:
62+
ssh-private-key: |
63+
${{ secrets.SSH_BRIDGE_INDEXER }}
64+
${{ secrets.SSH_BOREALIS }}
65+
5266
- name: Checkout code
5367
uses: actions/checkout@v4
5468

.github/workflows/security-analysis.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ jobs:
1717
uses: aurora-is-near/.github/.github/workflows/security_analysis.yml@master
1818
secrets:
1919
DD_API_KEY: ${{secrets.DD_API_KEY}}
20+
SSH_PRIVATE_KEY: |
21+
${{ secrets.SSH_BRIDGE_INDEXER }}
22+
${{ secrets.SSH_BOREALIS }}

.github/workflows/update-contracts.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ jobs:
1313
permissions:
1414
contents: write
1515
steps:
16+
- name: Setup SSH
17+
uses: webfactory/ssh-agent@v0.7.0
18+
with:
19+
ssh-private-key: |
20+
${{ secrets.SSH_BRIDGE_INDEXER }}
21+
${{ secrets.SSH_BOREALIS }}
22+
1623
- name: Clone the repository
1724
uses: actions/checkout@v3
1825

omni-relayer/.example-env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ RUST_LOG=info
44
AWS_ACCESS_KEY_ID=
55
AWS_SECRET_ACCESS_KEY=
66

7+
MONGODB_USERNAME=
8+
MONGODB_PASSWORD=
9+
MONGODB_HOST=
10+
711
NEAR_ACCOUNT_ID=
812
NEAR_PRIVATE_KEY=
913

0 commit comments

Comments
 (0)