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: update codecov #13

Closed
wants to merge 1 commit 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
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# <img src=".github/assets/logo.svg" alt="Angle" height="40px"> Angle Project Boilerplate
# <img src=".github/assets/logo.svg" alt="Angle" height="40px"> Angle Governance

[![CI](https://github.com/AngleProtocol/boilerplate/actions/workflows/ci.yml/badge.svg)](https://github.com/AngleProtocol/boilerplate/actions)
[![Coverage](https://codecov.io/gh/AngleProtocol/boilerplate/branch/main/graph/badge.svg)](https://codecov.io/gh/AngleProtocol/boilerplate)
[![CI](https://github.com/AngleProtocol/angle-governance/actions/workflows/ci.yml/badge.svg)](https://github.com/AngleProtocol/angle-governance/actions)
[![Coverage](https://codecov.io/gh/AngleProtocol/angle-governance/branch/main/graph/badge.svg)](https://codecov.io/gh/AngleProtocol/angle-governance)

## About this repository 🤔

Expand All @@ -11,12 +11,6 @@ This repository contains the smart contracts for the cross-chain governance syst

It also comes with some utils and scripts to facilitate the creation and execution of proposals on top of the deployed system.

## Simulate a Proposal

- Complete `test/Proposal.sol`
- You can simulate the proposal's execution by running `forge test -vvvv --match-contract Simulate`
- Eventually add tests to `test/Simulate.t.sol`

## System Architecture 🏘️

Angle onchain governance works as follows:
Expand Down Expand Up @@ -180,6 +174,12 @@ yarn coverage

You'll need to install lcov `brew install lcov` to visualize the coverage report.

### Simulate a Proposal

- Complete `test/Proposal.sol`
- You can simulate the proposal's execution by running `forge test -vvvv --match-contract Simulate`
- Eventually add tests to `test/Simulate.t.sol`

---

### Gas report ⛽️
Expand Down
2 changes: 1 addition & 1 deletion lib/forge-std
Submodule forge-std updated 54 files
+0 −134 .github/workflows/ci.yml
+0 −29 .github/workflows/sync.yml
+27 −0 .github/workflows/tests.yml
+1 −1 .gitignore
+1 −1 LICENSE-APACHE
+1 −1 LICENSE-MIT
+4 −8 README.md
+0 −19 foundry.toml
+1 −1 lib/ds-test
+4 −4 package.json
+0 −35 src/Base.sol
+41 −24 src/Script.sol
+0 −376 src/StdAssertions.sol
+0 −244 src/StdChains.sol
+0 −817 src/StdCheats.sol
+0 −15 src/StdError.sol
+0 −107 src/StdInvariant.sol
+61 −126 src/StdJson.sol
+0 −43 src/StdMath.sol
+0 −378 src/StdStorage.sol
+0 −333 src/StdStyle.sol
+0 −226 src/StdUtils.sol
+1,134 −29 src/Test.sol
+208 −778 src/Vm.sol
+386 −406 src/console2.sol
+0 −105 src/interfaces/IERC1155.sol
+0 −12 src/interfaces/IERC165.sol
+0 −43 src/interfaces/IERC20.sol
+0 −190 src/interfaces/IERC4626.sol
+0 −164 src/interfaces/IERC721.sol
+0 −73 src/interfaces/IMulticall3.sol
+0 −216 src/mocks/MockERC20.sol
+0 −221 src/mocks/MockERC721.sol
+0 −13,248 src/safeconsole.sol
+20 −0 src/test/Script.t.sol
+602 −0 src/test/StdAssertions.t.sol
+282 −0 src/test/StdCheats.t.sol
+21 −15 src/test/StdError.t.sol
+200 −0 src/test/StdMath.t.sol
+126 −120 src/test/StdStorage.t.sol
+0 −0 src/test/fixtures/broadcast.log.json
+0 −1,015 test/StdAssertions.t.sol
+0 −216 test/StdChains.t.sol
+0 −610 test/StdCheats.t.sol
+0 −212 test/StdMath.t.sol
+0 −110 test/StdStyle.t.sol
+0 −342 test/StdUtils.t.sol
+0 −15 test/Vm.t.sol
+0 −10 test/compilation/CompilationScript.sol
+0 −10 test/compilation/CompilationScriptBase.sol
+0 −10 test/compilation/CompilationTest.sol
+0 −10 test/compilation/CompilationTestBase.sol
+0 −441 test/mocks/MockERC20.t.sol
+0 −721 test/mocks/MockERC721.t.sol
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts-upgradeable
Loading