Skip to content

Commit

Permalink
update-2
Browse files Browse the repository at this point in the history
  • Loading branch information
mpsc0x committed Jan 6, 2025
1 parent 78738da commit ee90638
Show file tree
Hide file tree
Showing 248 changed files with 30,476 additions and 20,780 deletions.
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = .git,target,pnpm-lock.yaml
ignore-words-list = crate,ser,ratatui,ot,tE
107 changes: 107 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
.coverage_map.mvcov
.trace

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
**/node_modules
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# next.js build output
.next

# build folder
dist/

# bundle files
bundle.*

# docs files
docs

# Misc
.DS_Store

# Generated by Cargo
# will have compiled files and executables
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
#Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

.idea
.github
**/build

# Move coverage testing
*.mvcov
*.trace
gas-profiling

# some aave-core specific stuff
aave-core/build/
aave-core/doc/
aave-core/tests/
test-suites/node_modules/

# local aptos and gh
.aptos/
.github/
11 changes: 0 additions & 11 deletions .env.local

This file was deleted.

31 changes: 31 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#APTOS_CONFIG_FILE= ... put your aptos config file path here e.g. /home/user/.aptos/config.yaml or leave uncommented if default workspace...
APTOS_NETWORK=local
UPGRADE_CONTRACTS=false
ARTIFACTS_LEVEL=all
DEFAULT_FUND_AMOUNT=40000000
CHAINLINK_DATA_FEEDS ?= 0x100
CHAINLINK_PLATFORM ?= 0x200

# aave profiles private keys
AAVE_ACL_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_CONFIG_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_MATH_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_RATE_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_ORACLE_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_POOL_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
A_TOKENS_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
UNDERLYING_TOKENS_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
VARIABLE_TOKENS_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_LARGE_PACKAGES_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_DATA_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_DATA_FEEDS_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
AAVE_PLATFORM_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]
DEFAULT_FUNDER_PRIVATE_KEY=[YOUR PROFILE ACCOUNT PRIVATE KEY]

# test profiles private keys
TEST_ACCOUNT_0_PRIVATE_KEY=[ADDRESS]
TEST_ACCOUNT_1_PRIVATE_KEY=[ADDRESS]
TEST_ACCOUNT_2_PRIVATE_KEY=[ADDRESS]
TEST_ACCOUNT_3_PRIVATE_KEY=[ADDRESS]
TEST_ACCOUNT_4_PRIVATE_KEY=[ADDRESS]
TEST_ACCOUNT_5_PRIVATE_KEY=[ADDRESS]
11 changes: 0 additions & 11 deletions .env.tesnet

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @tyshko5 @meng-xu-cs @matchv @mpsc0x
3 changes: 3 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
self-hosted-runner:
labels:
- Larger-Github-Runners
35 changes: 35 additions & 0 deletions .github/workflows/apterly-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: npm audit

on:
pull_request:
merge_group:
branches:
- main
schedule:
- cron: '0 10 * * *'

jobs:
npm-scan:
name: apterly
runs-on: Larger-Github-Runners
steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Install dependencies
run: pnpm install --frozen-lockfile
working-directory: apterly

- name: Run pnpm audit
run: pnpm audit
working-directory: apterly
16 changes: 13 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@ name: Build Aptos Documentation
on:
pull_request:
merge_group:
branches: [main]
branches:
- main

env:
CARGO_TERM_COLOR: always
GITHUB_ACTIONS: true
APTOS_NETWORK: local
UPGRADE_CONTRACTS: false
ARTIFACTS_LEVEL: all
DEFAULT_FUNDER_PRIVATE_KEY: ${{ secrets.GH_DEFAULT_FUNDER_PRIVATE_KEY }}

jobs:
build-docs:
name: Build Aptos Documentation
runs-on: ubuntu-latest
runs-on: Larger-Github-Runners
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -25,7 +31,11 @@ jobs:
echo $! > aptos_serve_pid.txt
- name: Wait for Aptos Local Testnet to be ready
run: sleep 20
- name: Set Local Aptos Workspace Config
run: make set-workspace-config
- name: Init Local Aptos Workspace Config
run: make init-workspace-config
- name: Run Aptos Create Profiles
run: make init-profiles
- name: Create Documentation
run: make doc-all
run: make doc-all
Loading

0 comments on commit ee90638

Please sign in to comment.