Skip to content

Commit

Permalink
Merge branch 'certora' of github.com:Certora/aave-v3-core into certora
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-hruska committed Dec 8, 2023
2 parents 89f96af + 7bc4f05 commit d89c253
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/certora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
matrix:
rule:
- AToken.conf
- Pool.conf
- PoolAccurate.conf
- ReserveConfiguration.conf
- StableTokenCLI.conf
- UserConfigCLI.conf
Expand Down
38 changes: 38 additions & 0 deletions certora/conf/PoolSimpleProperties.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"files": [
"certora/harness/ATokenHarness.sol",
"certora/harness/PoolHarness.sol",
"certora/harness/StableDebtTokenHarness.sol",
"certora/harness/SimpleERC20.sol",
"certora/munged/protocol/tokenization/VariableDebtToken.sol",
"certora/munged/misc/AaveProtocolDataProvider.sol",
"certora/munged/protocol/libraries/configuration/ReserveConfiguration.sol",
"certora/munged/protocol/pool/DefaultReserveInterestRateStrategy.sol",
"certora/munged/protocol/configuration/PoolAddressesProvider.sol",
"certora/munged/protocol/configuration/ACLManager.sol",
// "certora/munged/protocol/libraries/types/DataTypes.sol",
"certora/munged/protocol/libraries/aave-upgradeability/InitializableImmutableAdminUpgradeabilityProxy.sol",
"certora/munged/protocol/configuration/PriceOracleSentinel.sol",
],
"link": [
"ATokenHarness:POOL=PoolHarness",
"ATokenHarness:_underlyingAsset=SimpleERC20",
"VariableDebtToken:POOL=PoolHarness",
"AaveProtocolDataProvider:ADDRESSES_PROVIDER=PoolAddressesProvider",
"PoolHarness:ADDRESSES_PROVIDER=PoolAddressesProvider",
],
"struct_link": [
"PoolHarness:aTokenAddress=ATokenHarness",
"PoolHarness:stableDebtTokenAddress=StableDebtTokenHarness",
"PoolHarness:variableDebtTokenAddress=VariableDebtToken",
"PoolHarness:interestRateStrategyAddress=DefaultReserveInterestRateStrategy",
],
"rule_sanity": "basic", // from time to time, use advanced instead of basic, it gives more insight on requires, vacuity rules etc.
"optimistic_loop": true,
"process": "emv",
"prover_args": ["-depth 12"], // If reachability passes and the time is ok, this number is ok, dont touch it.
"solc": "solc8.10",
"verify": "PoolHarness:certora/specs/pool-simple-properties.spec",
"msg": "Pool, normalized_income_changes_with",
"parametric_contracts": ["PoolHarness"],
}

0 comments on commit d89c253

Please sign in to comment.