|
1 |
| -note[unwrapped-modifier-logic]: modifier logic should be wrapped to avoid code duplication and reduce codesize |
| 1 | +note[unwrapped-modifier-logic]: wrap modifier logic to reduce code size |
2 | 2 | --> ROOT/testdata/UnwrappedModifierLogic.sol:LL:CC
|
3 | 3 | |
|
4 | 4 | 58 | modifier requireBuiltIn() {
|
5 | 5 | | --------------
|
6 | 6 | |
|
7 | 7 | = help: https://book.getfoundry.sh/reference/forge/forge-lint#unwrapped-modifier-logic
|
8 | 8 |
|
9 |
| -note[unwrapped-modifier-logic]: modifier logic should be wrapped to avoid code duplication and reduce codesize |
| 9 | +note[unwrapped-modifier-logic]: wrap modifier logic to reduce code size |
10 | 10 | --> ROOT/testdata/UnwrappedModifierLogic.sol:LL:CC
|
11 | 11 | |
|
12 | 12 | 66 | modifier assertBuiltIn() {
|
13 | 13 | | -------------
|
14 | 14 | |
|
15 | 15 | = help: https://book.getfoundry.sh/reference/forge/forge-lint#unwrapped-modifier-logic
|
16 | 16 |
|
17 |
| -note[unwrapped-modifier-logic]: modifier logic should be wrapped to avoid code duplication and reduce codesize |
| 17 | +note[unwrapped-modifier-logic]: wrap modifier logic to reduce code size |
18 | 18 | --> ROOT/testdata/UnwrappedModifierLogic.sol:LL:CC
|
19 | 19 | |
|
20 | 20 | 74 | modifier conditionalRevert() {
|
21 | 21 | | -----------------
|
22 | 22 | |
|
23 | 23 | = help: https://book.getfoundry.sh/reference/forge/forge-lint#unwrapped-modifier-logic
|
24 | 24 |
|
25 |
| -note[unwrapped-modifier-logic]: modifier logic should be wrapped to avoid code duplication and reduce codesize |
| 25 | +note[unwrapped-modifier-logic]: wrap modifier logic to reduce code size |
26 | 26 | --> ROOT/testdata/UnwrappedModifierLogic.sol:LL:CC
|
27 | 27 | |
|
28 | 28 | 84 | modifier assign(address sender) {
|
29 | 29 | | ------
|
30 | 30 | |
|
31 | 31 | = help: https://book.getfoundry.sh/reference/forge/forge-lint#unwrapped-modifier-logic
|
32 | 32 |
|
33 |
| -note[unwrapped-modifier-logic]: modifier logic should be wrapped to avoid code duplication and reduce codesize |
| 33 | +note[unwrapped-modifier-logic]: wrap modifier logic to reduce code size |
34 | 34 | --> ROOT/testdata/UnwrappedModifierLogic.sol:LL:CC
|
35 | 35 | |
|
36 | 36 | 93 | modifier assemblyBlock(address sender) {
|
37 | 37 | | -------------
|
38 | 38 | |
|
39 | 39 | = help: https://book.getfoundry.sh/reference/forge/forge-lint#unwrapped-modifier-logic
|
40 | 40 |
|
41 |
| -note[unwrapped-modifier-logic]: modifier logic should be wrapped to avoid code duplication and reduce codesize |
| 41 | +note[unwrapped-modifier-logic]: wrap modifier logic to reduce code size |
42 | 42 | --> ROOT/testdata/UnwrappedModifierLogic.sol:LL:CC
|
43 | 43 | |
|
44 | 44 | 103 | modifier uncheckedBlock(address sender) {
|
45 | 45 | | --------------
|
46 | 46 | |
|
47 | 47 | = help: https://book.getfoundry.sh/reference/forge/forge-lint#unwrapped-modifier-logic
|
48 | 48 |
|
49 |
| -note[unwrapped-modifier-logic]: modifier logic should be wrapped to avoid code duplication and reduce codesize |
| 49 | +note[unwrapped-modifier-logic]: wrap modifier logic to reduce code size |
50 | 50 | --> ROOT/testdata/UnwrappedModifierLogic.sol:LL:CC
|
51 | 51 | |
|
52 | 52 | 115 | modifier emitEvent(address sender) {
|
|
0 commit comments