Skip to content

Commit b21d0d1

Browse files
authored
Merge branch 'main' into feat/user-positions
2 parents ed4ab09 + 8de4030 commit b21d0d1

File tree

201 files changed

+14764
-3164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+14764
-3164
lines changed

.changeset/angry-webs-relate.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@aave/graphql": minor
3+
"@aave/client": minor
4+
"@aave/react": minor
5+
"@aave/types": minor
6+
"@aave/core": minor
7+
---
8+
9+
**chore:** extract core logic into internal @aave/core package

.changeset/config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"commit": false,
55
"fixed": [],
66
"linked": [],
7-
"access": "restricted",
7+
"access": "public",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
10-
"ignore": []
10+
"ignore": [],
11+
"privatePackages": false
1112
}

.changeset/sharp-chefs-fail.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@aave/graphql": patch
3+
"@aave/types": patch
4+
---
5+
6+
**chore:** removes unused types.

.env.example

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
ENVIRONMENT=local
2-
PRIVATE_KEY=<private_key>
1+
ENVIRONMENT=<local|staging|production>
2+
PRIVY_TEST_APP_ID=<privy_app_id>
3+
PRIVY_TEST_APP_SECRET=<privy_app_secret>
4+
PRIVY_TEST_WALLET_ID=<privy_wallet_id>
5+
PRIVY_TEST_WALLET_ADDRESS=<privy_wallet_address>
6+
ETHEREUM_TENDERLY_FORK_ID=99999999
7+
ETHEREUM_TENDERLY_PUBLIC_RPC=https://virtual.mainnet.rpc.tenderly.co/<public_uuid>
8+
ETHEREUM_TENDERLY_ADMIN_RPC=https://virtual.mainnet.rpc.tenderly.co/<admin_uuid>
9+
ETHEREUM_TENDERLY_BLOCKEXPLORER=https://dashboard.tenderly.co/explorer/vnet/<public_uuid>/transactions
10+
API_X_E2E_TESTS_HEADER=<e2e_test_header>
11+
THIRDWEB_TEST_SECRET_KEY=<thirdweb_secret_key>
12+
THIRDWEB_TEST_WALLET_ADDRESS=<thirdweb_wallet_address>

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'Setup repo and install dependencies'
33

44
runs:
55
using: 'composite'
6-
steps:
6+
steps:
77
- name: Setup pnpm
88
uses: pnpm/action-setup@v4
99

.github/actions/tests/action.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/cd.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ jobs:
1414
uses: ./.github/workflows/verify.yml
1515
secrets: inherit
1616

17-
# publish:
18-
# name: Publish Snapshot
19-
# runs-on: ubuntu-latest
20-
# needs: verify
17+
publish:
18+
name: Publish Snapshot
19+
runs-on: ubuntu-latest
20+
needs: verify
2121

22-
# steps:
23-
# - uses: actions/checkout@v4
22+
steps:
23+
- uses: actions/checkout@v4
2424

25-
# - name: Setup Repository
26-
# uses: ./.github/actions/setup
25+
- name: Setup Repository
26+
uses: ./.github/actions/setup
2727

28-
# - name: Configure NPM Auth Token
29-
# run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" >> ~/.npmrc
28+
- name: Configure NPM Auth Token
29+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" >> ~/.npmrc
3030

31-
# - name: Create Snapshot
32-
# id: create_snapshot
33-
# run: pnpm changeset version --snapshot canary || echo "No unreleased changesets found"
31+
- name: Create Snapshot
32+
id: create_snapshot
33+
run: pnpm changeset version --snapshot canary || echo "No unreleased changesets found"
3434

35-
# - name: Check for Changeset
36-
# id: check_changeset
37-
# run: echo "changeset_exists=$(grep -q 'No unreleased changesets found' <<< '${{ steps.create_snapshot.outputs.stdout }}' && echo false || echo true)" >> $GITHUB_ENV
35+
- name: Check for Changeset
36+
id: check_changeset
37+
run: echo "changeset_exists=$(grep -q 'No unreleased changesets found' <<< '${{ steps.create_snapshot.outputs.stdout }}' && echo false || echo true)" >> $GITHUB_ENV
3838

39-
# - name: Build
40-
# if: env.changeset_exists == 'true'
41-
# run: pnpm build
39+
- name: Build
40+
if: env.changeset_exists == 'true'
41+
run: pnpm build
4242

43-
# - name: Publish Snapshot
44-
# if: env.changeset_exists == 'true'
45-
# run: pnpm changeset publish --snapshot --tag canary --no-git-tag
43+
- name: Publish Snapshot
44+
if: env.changeset_exists == 'true'
45+
run: pnpm changeset publish --snapshot --tag canary --no-git-tag
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'Dependency Review'
2+
on: [pull_request]
3+
4+
permissions:
5+
contents: read
6+
pull-requests: write
7+
8+
jobs:
9+
dependency-review:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: 'Checkout Repository'
13+
uses: actions/checkout@v5
14+
- name: 'Dependency Review'
15+
uses: actions/dependency-review-action@v4
16+
with:
17+
comment-summary-in-pr: on-failure
18+
fail-on-severity: moderate
19+
license-check: false

.github/workflows/on-demand.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Run Aave V3 Spec
2+
3+
on:
4+
repository_dispatch:
5+
types: [on-demand-test]
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-tests-on-demand
10+
cancel-in-progress: true
11+
12+
jobs:
13+
run-tests:
14+
name: All Tests
15+
runs-on: ubuntu-latest
16+
env:
17+
ENVIRONMENT: staging
18+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
19+
ETHEREUM_TENDERLY_FORK_ID: ${{ vars.ETHEREUM_TENDERLY_FORK_ID }}
20+
ETHEREUM_TENDERLY_PUBLIC_RPC: ${{ secrets.ETHEREUM_TENDERLY_PUBLIC_RPC }}
21+
ETHEREUM_TENDERLY_ADMIN_RPC: ${{ secrets.ETHEREUM_TENDERLY_ADMIN_RPC }}
22+
ETHEREUM_TENDERLY_BLOCKEXPLORER: ${{ secrets.ETHEREUM_TENDERLY_BLOCKEXPLORER }}
23+
API_X_E2E_TESTS_HEADER: ${{ secrets.API_X_E2E_TESTS_HEADER }}
24+
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- name: Setup Repository
29+
uses: ./.github/actions/setup
30+
31+
- name: Build
32+
shell: bash
33+
run: pnpm build
34+
35+
- name: Run tests
36+
run: pnpm spec
37+
38+
- name: Publish results
39+
if: always()
40+
run: pnpm publish:results

.github/workflows/pull-request.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,30 @@ concurrency:
99
cancel-in-progress: true
1010

1111
jobs:
12+
changeset:
13+
name: Changeset
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0 # important: full history, otherwise no common ancestor
19+
ref: ${{ github.head_ref || github.ref_name }}
20+
21+
- name: Fetch base branch
22+
shell: bash
23+
run: |
24+
git fetch origin ${{ github.base_ref }}:${{ github.base_ref }}
25+
26+
- name: Setup Repository
27+
uses: ./.github/actions/setup
28+
29+
- name: Ensure Changeset Added
30+
shell: bash
31+
run: pnpm changeset status --since=${{ github.base_ref }}
32+
1233
verify:
1334
name: Verify
1435
uses: ./.github/workflows/verify.yml
1536
secrets: inherit
37+
with:
38+
run-acceptance: false

0 commit comments

Comments
 (0)