Skip to content

Commit

Permalink
OETH Base deploy script (#2061)
Browse files Browse the repository at this point in the history
* feat: oethcore deployment

* chore: fix deployment setup

* chore: update global hook

* config: update defi.yml

* config: add base fork tests to defi.yml

* Fix order of comparison

* Minor tweaks

* Fund correct deployer on fork

* fix: tests

* chore: fix tests

* chore: remove stack trace flag

* chore: fix typo

* chore: fix test

* fix: base fork test fixture

* chore: rename deployment file

* feat: OETHBase Vault base fork tests

* fix: unit tests

* feat: add more fork tests

* feat: refactor deploy actions, fixture  and fork test

* chore: minor optimization

* refactor: fix deploy actions and fixtures

* refactor: fork tests

* refactor: harvester contracts

* refactor: tests and deploy action

* chore: more refactoring

* Update deploy scripts to use Guardian address (#2075)

* wip

* refactor: update deploy scripts to use guardian

* chore: rename AeroHarvester -> OETHBaseHarvester

* refactor: abstract oracle contract

* chore: fmt

* refactor: base harvester aerodrome route

---------

Co-authored-by: Domen Grabec <[email protected]>
Co-authored-by: Shahul Hameed <[email protected]>
  • Loading branch information
3 people authored May 28, 2024
1 parent 4fbad41 commit 1522fe1
Show file tree
Hide file tree
Showing 32 changed files with 2,765 additions and 3,653 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/defi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
Expand All @@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
Expand Down Expand Up @@ -179,20 +179,19 @@ jobs:
./contracts/coverage/**/*
retention-days: 1

coverage-uploader:
name: "Upload Coverage Reports"
contracts-base-forktest:
name: "Base Fork Tests"
runs-on: ubuntu-latest
needs:
- contracts-unit-coverage
- contracts-forktest
- contracts-arb-forktest
continue-on-error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
HARDHAT_CACHE_DIR: ./cache
PROVIDER_URL: ${{ secrets.PROVIDER_URL }}
BASE_PROVIDER_URL: ${{ secrets.BASE_PROVIDER_URL }}
steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
Expand All @@ -219,19 +218,21 @@ jobs:
./contracts/coverage.json
./contracts/coverage/**/*
retention-days: 1

coverage-uploader:
name: "Upload Coverage Reports"
runs-on: ubuntu-latest
needs:
- contracts-unit-coverage
- contracts-forktest
- contracts-arb-forktest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
Expand Down Expand Up @@ -277,7 +278,7 @@ jobs:
pip3 inspect
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "yarn"
Expand All @@ -301,4 +302,4 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high --all-projects
args: --severity-threshold=high --all-projects
Loading

0 comments on commit 1522fe1

Please sign in to comment.