Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚎 Feat: Add TrueUSD contracts deployed on Tron network #1254

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
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
yarn workspace @trusttoken-smart-contracts/contracts-tron 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: lint tron
# if: success() || failure()
# run: yarn workspace @trusttoken-smart-contracts/contracts-tron lint
- name: test tron
if: success() || failure()
run: yarn workspace @trusttoken-smart-contracts/contracts-tron test
- name: test-others
if: success() || failure()
run: |
yarn test:proxy
yarn test:registry
yarn test:true-currencies
9 changes: 9 additions & 0 deletions packages/contracts-tron/.compiler.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"version": "0.6.0",
"settings": {
"optimizer": {
"enabled": true,
"runs": 200
}
}
}
Loading
Loading