Skip to content

Commit ffe0469

Browse files
committed
Merge pull request #3 from aave/update-2
update-2
2 parents 78738da + de236f6 commit ffe0469

File tree

255 files changed

+32338
-20806
lines changed

Some content is hidden

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

255 files changed

+32338
-20806
lines changed

.codespellrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[codespell]
2+
skip = .git,target,pnpm-lock.yaml
3+
ignore-words-list = crate,ser,ratatui,ot,tE

.dockerignore

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
.coverage_map.mvcov
20+
.trace
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (https://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
**/node_modules
40+
jspm_packages/
41+
42+
# TypeScript v1 declaration files
43+
typings/
44+
45+
# Optional npm cache directory
46+
.npm
47+
48+
# Optional eslint cache
49+
.eslintcache
50+
51+
# Optional REPL history
52+
.node_repl_history
53+
54+
# Output of 'npm pack'
55+
*.tgz
56+
57+
# Yarn Integrity file
58+
.yarn-integrity
59+
60+
# next.js build output
61+
.next
62+
63+
# build folder
64+
dist/
65+
66+
# bundle files
67+
bundle.*
68+
69+
# docs files
70+
docs
71+
72+
# Misc
73+
.DS_Store
74+
75+
# Generated by Cargo
76+
# will have compiled files and executables
77+
debug/
78+
target/
79+
80+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
81+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
82+
#Cargo.lock
83+
84+
# These are backup files generated by rustfmt
85+
**/*.rs.bk
86+
87+
# MSVC Windows builds of rustc generate these, which store debugging information
88+
*.pdb
89+
90+
.idea
91+
.github
92+
**/build
93+
94+
# Move coverage testing
95+
*.mvcov
96+
*.trace
97+
gas-profiling
98+
99+
# some aave-core specific stuff
100+
aave-core/build/
101+
aave-core/doc/
102+
aave-core/tests/
103+
test-suites/node_modules/
104+
105+
# local aptos and gh
106+
.aptos/
107+
.github/

.env.local

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

.env.template

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#APTOS_CONFIG_FILE= ... put your aptos config file path here e.g. /home/user/.aptos/config.yaml or leave uncommented if default workspace...
2+
APTOS_NETWORK=local
3+
UPGRADE_CONTRACTS=false
4+
ARTIFACTS_LEVEL=all
5+
DEFAULT_FUND_AMOUNT=40000000
6+
CHAINLINK_DATA_FEEDS ?= 0x100
7+
CHAINLINK_PLATFORM ?= 0x200
8+
9+
# aave profiles private keys
10+
AAVE_ACL_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
11+
AAVE_CONFIG_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
12+
AAVE_MATH_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
13+
AAVE_RATE_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
14+
AAVE_ORACLE_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
15+
AAVE_POOL_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
16+
A_TOKENS_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
17+
UNDERLYING_TOKENS_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
18+
VARIABLE_TOKENS_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
19+
AAVE_LARGE_PACKAGES_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
20+
AAVE_DATA_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
21+
AAVE_DATA_FEEDS_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
22+
AAVE_PLATFORM_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
23+
DEFAULT_FUNDER_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
24+
25+
# test profiles private keys
26+
TEST_ACCOUNT_0_PRIVATE_KEY=[ADDRESS]
27+
TEST_ACCOUNT_1_PRIVATE_KEY=[ADDRESS]
28+
TEST_ACCOUNT_2_PRIVATE_KEY=[ADDRESS]
29+
TEST_ACCOUNT_3_PRIVATE_KEY=[ADDRESS]
30+
TEST_ACCOUNT_4_PRIVATE_KEY=[ADDRESS]
31+
TEST_ACCOUNT_5_PRIVATE_KEY=[ADDRESS]

.env.tesnet

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

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @tyshko5 @meng-xu-cs @matchv @mpsc0x

.github/actionlint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
self-hosted-runner:
2+
labels:
3+
- Larger-Github-Runners
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: npm audit
2+
3+
on:
4+
pull_request:
5+
merge_group:
6+
branches:
7+
- main
8+
schedule:
9+
- cron: '0 10 * * *'
10+
11+
jobs:
12+
npm-scan:
13+
name: apterly
14+
runs-on: Larger-Github-Runners
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Install Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
23+
- name: Install pnpm
24+
uses: pnpm/action-setup@v4
25+
with:
26+
version: 9
27+
run_install: false
28+
29+
- name: Install dependencies
30+
run: pnpm install --frozen-lockfile
31+
working-directory: apterly
32+
33+
- name: Run pnpm audit
34+
run: pnpm audit
35+
working-directory: apterly

.github/workflows/doc.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,21 @@ name: Build Aptos Documentation
33
on:
44
pull_request:
55
merge_group:
6-
branches: [main]
6+
branches:
7+
- main
78

89
env:
910
CARGO_TERM_COLOR: always
11+
GITHUB_ACTIONS: true
12+
APTOS_NETWORK: local
13+
UPGRADE_CONTRACTS: false
14+
ARTIFACTS_LEVEL: all
15+
DEFAULT_FUNDER_PRIVATE_KEY: ${{ secrets.GH_DEFAULT_FUNDER_PRIVATE_KEY }}
1016

1117
jobs:
1218
build-docs:
1319
name: Build Aptos Documentation
14-
runs-on: ubuntu-latest
20+
runs-on: Larger-Github-Runners
1521
timeout-minutes: 60
1622
steps:
1723
- uses: actions/checkout@v4
@@ -25,7 +31,11 @@ jobs:
2531
echo $! > aptos_serve_pid.txt
2632
- name: Wait for Aptos Local Testnet to be ready
2733
run: sleep 20
34+
- name: Set Local Aptos Workspace Config
35+
run: make set-workspace-config
36+
- name: Init Local Aptos Workspace Config
37+
run: make init-workspace-config
2838
- name: Run Aptos Create Profiles
2939
run: make init-profiles
3040
- name: Create Documentation
31-
run: make doc-all
41+
run: make doc-all

0 commit comments

Comments
 (0)