Skip to content

Commit

Permalink
feat: GHO Stability Module (#369)
Browse files Browse the repository at this point in the history
* feat: initial GSM commit

* feat: update GSM, remove tokenization

* fix: post-audit changes

* fix: audit fix review period changes

* fix: certora prover changes

* fix: update FixedFeeStrategy bounds, add edge case tests

* fix: update CODEOWNERS

* fix: Fix rounding of Gsm4626 price strategy

---------

Co-authored-by: cedephrase <[email protected]>
Co-authored-by: miguelmtzinf <[email protected]>
  • Loading branch information
3 people authored Jan 17, 2024
1 parent 51be447 commit f368bef
Show file tree
Hide file tree
Showing 44 changed files with 8,084 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @miguelmtzinf @foodaka @kartojal @Zer0dot @The-3D
* @miguelmtzinf @foodaka
1 change: 0 additions & 1 deletion certora/specs/ghoToken.spec
Original file line number Diff line number Diff line change
Expand Up @@ -527,4 +527,3 @@ rule address_not_in_list_after_removeFacilitator_CASE_SPLIT_zero_address(address




5 changes: 5 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ remappings = [
'hardhat/=node_modules/hardhat/',
]

solc_version = "0.8.10"
extra_output_files = ["metadata"]
optimizer = true
optimizer_runs = 200

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"prettier:write": "prettier --write .",
"prepare": "husky install",
"compile": "rm -rf ./artifacts ./cache ./types && SKIP_LOAD=true hardhat compile",
"test": ". ./setup-test-env.sh && NODE_OPTIONS=--max-old-space-size=8192 hardhat test ./test/*.ts",
"test": ". ./setup-test-env.sh && NODE_OPTIONS=--max-old-space-size=16384 hardhat test ./test/*.ts",
"forge-test": "forge test -vvv --no-match-test 'skip'",
"test-goerli:fork": ". ./setup-test-env.sh && FORK=goerli npm run test --no-compile",
"test-goerli:fork:skip-deploy": ". ./setup-test-env.sh && FORK=goerli SKIP_DEPLOY=true npm run test",
"test:stkAave": ". ./setup-test-env.sh && NODE_OPTIONS=--max-old-space-size=4096 hardhat test ./test/__setup.test.ts ./test/stkAave-upgrade.test.ts",
"test:stkAave": ". ./setup-test-env.sh && NODE_OPTIONS=--max-old-space-size=16384 hardhat test ./test/__setup.test.ts ./test/stkAave-upgrade.test.ts",
"coverage": ". ./setup-test-env.sh && hardhat coverage",
"combined-coverage": ". ./setup-test-env.sh && ./combined-coverage.sh",
"deploy-testnet": ". ./setup-test-env.sh && hardhat deploy-and-setup",
Expand Down
4 changes: 4 additions & 0 deletions slither.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"detectors_to_exclude": "naming-convention",
"filter_paths": "(node_modules/|lib/|src/test/)"
}
Loading

0 comments on commit f368bef

Please sign in to comment.