You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test :; forge test --no-match-test "testLoad|invariant|test_regression" # --ffi # enable if you need the `ffi` cheat code on HEVM
27
-
test-with-gas-report :; forge test --no-match-test "testLoad|invariant|test_regression" --gas-report # --ffi # enable if you need the `ffi` cheat code on HEVM
28
-
test-load :; forge test --match-test testLoad --gas-report
test :; forge test --no-match-test ${TEST_EXCLUDES} --nmc ${CONTRACT_EXCLUDES} # --ffi # enable if you need the `ffi` cheat code on HEVM
21
+
test-with-gas-report :; forge test --no-match-test ${TEST_EXCLUDES} --nmc ${CONTRACT_EXCLUDES} --gas-report # --ffi # enable if you need the `ffi` cheat code on HEVM
22
+
23
+
# Gas Load Tests
24
+
test-load :; forge test --match-test testLoad --gas-report
25
+
26
+
# Invariant Tests
27
+
test-invariant-all :; forge t --mt invariant --nmc ${CONTRACT_EXCLUDES}
28
+
test-invariant-erc20 :; forge t --mt invariant --nmc ${CONTRACT_EXCLUDES} --mc ERC20
29
+
test-invariant-erc721 :; forge t --mt invariant --nmc ${CONTRACT_EXCLUDES} --mc ERC721
30
+
test-invariant :; forge t --mt ${MT} --nmc RegressionTest
Copy file name to clipboardexpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ The Ajna protocol is a non-custodial, peer-to-peer, permissionless lending, borr
10
10
- The following types of tokens are incompatible with Ajna, and no countermeasures exist to explicitly prevent creating a pool with such tokens, actors should use them at their own risk:
11
11
- NFT and fungible tokens which charge a fee on transfer.
12
12
- Fungible tokens whose balance rebases.
13
-
- Fungible tokens with more than 18 decimals or 0 decimals.
13
+
- Fungible tokens with more than 18 decimals or 0 decimals, whose `decimals()` function does not return a constant value, or which do not implement the optional [decimals()](https://eips.ethereum.org/EIPS/eip-20#decimals) function.
14
14
- Borrowers cannot draw debt from a pool in the same block as when the pool was created.
15
15
- With the exception of quantized prices, pool inputs and most accumulators are not explicitly limited. The pool will stop functioning when the bounds of a `uint256` need to be exceeded to process a request.
16
16
@@ -130,9 +130,9 @@ bash ./check-code-coverage.sh
130
130
```bash
131
131
pip install slither-analyzer
132
132
```
133
-
- Make sure the default `solc` version is set to the same version as contracts (currently 0.8.14). This can be done by installing and using `solc-select`:
133
+
- Make sure the default `solc` version is set to the same version as contracts (currently 0.8.18). This can be done by installing and using `solc-select`:
134
134
```bash
135
-
pip install solc-select && solc-select install 0.8.14&& solc-select use 0.8.14
135
+
pip install solc-select && solc-select install 0.8.18&& solc-select use 0.8.18
0 commit comments