Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from maple-labs/release
Release v1.1.0
- Loading branch information
Showing
27 changed files
with
645 additions
and
342 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 @@ | ||
# These owners will be the default owners for everything in the repo. | ||
* @maple-labs/smart-contracts-admin |
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 |
---|---|---|
@@ -1,20 +1,71 @@ | ||
name: Forge Tests (PR) | ||
|
||
on: | ||
pull_request: | ||
on: [pull_request] | ||
|
||
jobs: | ||
test: | ||
name: Test with "deep" profile | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Foundry | ||
uses: onbjerg/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Install submodules | ||
run: | | ||
git config --global url."https://github.com/".insteadOf "git@github.com:" | ||
git submodule update --init --recursive | ||
- name: Run Forge tests | ||
run: ./scripts/test.sh -p shallow | ||
run: ./scripts/test.sh -p deep | ||
|
||
coverage_report: | ||
name: Generate coverage report | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Foundry | ||
uses: onbjerg/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Install submodules | ||
run: | | ||
git config --global url."https://github.com/".insteadOf "git@github.com:" | ||
git submodule update --init --recursive | ||
- name: Generate coverage report | ||
run: | | ||
forge coverage --report lcov | ||
sudo apt-get install lcov | ||
lcov --remove lcov.info -o lcov.info 'tests/*' | ||
- name: Report code coverage | ||
uses: zgosalvez/github-actions-report-lcov@v1 | ||
with: | ||
coverage-files: lcov.info | ||
minimum-coverage: 90 | ||
artifact-name: code-coverage-report | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
working-directory: ./ | ||
|
||
size_check: | ||
name: Check contracts sizes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Foundry | ||
uses: onbjerg/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Install submodules | ||
run: | | ||
git config --global url."https://github.com/".insteadOf "git@github.com:" | ||
git submodule update --init --recursive | ||
- name: Check contract sizes | ||
run: ./scripts/check-sizes.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[submodule "modules/contract-test-utils"] | ||
path = modules/contract-test-utils | ||
url = https://github.com/maple-labs/contract-test-utils | ||
[submodule "modules/erc20"] | ||
path = modules/erc20 | ||
url = https://github.com/maple-labs/erc20 | ||
url = git@github.com:maple-labs/erc20.git | ||
[submodule "modules/erc20-helper"] | ||
path = modules/erc20-helper | ||
url = https://github.com/maple-labs/erc20-helper | ||
url = git@github.com:maple-labs/erc20-helper.git | ||
[submodule "modules/maple-proxy-factory"] | ||
path = modules/maple-proxy-factory | ||
url = https://github.com/maple-labs/maple-proxy-factory.git | ||
url = git@github.com:maple-labs/maple-proxy-factory.git | ||
[submodule "modules/forge-std"] | ||
path = modules/forge-std | ||
url = git@github.com:foundry-rs/forge-std.git |
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 |
---|---|---|
@@ -1,17 +1,11 @@ | ||
install: | ||
@git submodule update --init --recursive | ||
|
||
update: | ||
@forge update | ||
|
||
build: | ||
@scripts/build.sh | ||
@scripts/build.sh -p production | ||
|
||
release: | ||
@scripts/release.sh | ||
|
||
test: | ||
@scripts/test.sh | ||
size: | ||
@scripts/check-sizes.sh | ||
|
||
clean: | ||
@forge clean | ||
test: | ||
@scripts/test.sh -p default |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
name: withdrawal-manager | ||
version: 1.0.0-beta.0 | ||
version: 1.0.1 | ||
source: contracts | ||
packages: | ||
- path: contracts/WithdrawalManager.sol | ||
contractName: WithdrawalManager | ||
- path: contracts/WithdrawalManagerFactory.sol | ||
contractName: WithdrawalManagerFactory | ||
- path: contracts/WithdrawalManagerInitializer.sol | ||
contractName: WithdrawalManagerInitializer | ||
- path: contracts/WithdrawalManagerStorage.sol | ||
contractName: WithdrawalManagerStorage | ||
- path: contracts/MapleWithdrawalManager.sol | ||
contractName: MapleWithdrawalManager | ||
- path: contracts/MapleWithdrawalManagerFactory.sol | ||
contractName: MapleWithdrawalManagerFactory | ||
- path: contracts/MapleWithdrawalManagerInitializer.sol | ||
contractName: MapleWithdrawalManagerInitializer | ||
customDescription: Withdrawal Manager Artifacts and ABIs |
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.