forked from trusttoken/contracts-pre22
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tron-tusd-contracts
* main: π¦ Fix: add CI test (#2) πββοΈ Freeze Watr native token on blacklisting (trusttoken#1256) π Use XC-20 standard for `contracts-watr` TrueUSD (trusttoken#1252) π Setup `contracts-watr` deployment (trusttoken#1251) β¬οΈ Lower amount in `Pool Curve integration` test (trusttoken#1255)
- Loading branch information
Showing
38 changed files
with
2,668 additions
and
377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Lint and Test | ||
on: | ||
push: | ||
pull_request: | ||
types: [opened, edited, synchronize, reopened] | ||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
container: python:3.10.5 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
- name: Install yarn | ||
run: npm install -g yarn | ||
- name: Pull submodules | ||
run: git submodule init && git submodule update | ||
- name: Install dependencies | ||
run: | | ||
yarn install --frozen-lockfile | ||
pip3 install -U pip setuptools virtualenv | ||
pip3 install -r requirements-dev.txt | ||
- name: Build | ||
run: | | ||
yarn build | ||
yarn typecheck | ||
yarn workspace @trusttoken-smart-contracts/contracts-por build | ||
- name: lint | ||
if: success() || failure() | ||
run: yarn lint | ||
- name: lint por | ||
if: success() || failure() | ||
run: yarn workspace @trusttoken-smart-contracts/contracts-por lint | ||
- name: test por | ||
if: success() || failure() | ||
run: yarn workspace @trusttoken-smart-contracts/contracts-por test | ||
- name: test-others | ||
if: success() || failure() | ||
run: | | ||
yarn test:proxy | ||
yarn test:registry | ||
yarn test:true-currencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TRUE_USD_ASSET_ID=1983 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# required to run `yarn verify:deployments` | ||
PRIVATE_KEY_DEPLOYER=private_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
/build | ||
/cache | ||
/flattened_contracts | ||
deployments-watr_local.json | ||
.env.test | ||
.env.deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.