Skip to content

Commit a71d42a

Browse files
Merge branch 'develop' into fix/reentrancy-rule-path
2 parents 7d25108 + 0d8b214 commit a71d42a

File tree

28 files changed

+48
-36
lines changed

28 files changed

+48
-36
lines changed

conf/rulesets/solhint-all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = Object.freeze({
7171
'avoid-throw': 'warn',
7272
'avoid-tx-origin': 'warn',
7373
'check-send-result': 'warn',
74-
'compiler-version': ['error', '^0.8.0'],
74+
'compiler-version': ['error', '^0.8.24'],
7575
'func-visibility': [
7676
'warn',
7777
{

conf/rulesets/solhint-recommended.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = Object.freeze({
4343
'avoid-throw': 'warn',
4444
'avoid-tx-origin': 'warn',
4545
'check-send-result': 'warn',
46-
'compiler-version': ['error', '^0.8.0'],
46+
'compiler-version': ['error', '^0.8.24'],
4747
'func-visibility': [
4848
'warn',
4949
{

docs/rules/security/compiler-version.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ This rule accepts an array of options:
2020
| Index | Description | Default Value |
2121
| ----- | ----------------------------------------------------- | ------------- |
2222
| 0 | Rule severity. Must be one of "error", "warn", "off". | error |
23-
| 1 | Semver requirement | ^0.8.0 |
23+
| 1 | Semver requirement | ^0.8.24 |
2424

2525

2626
### Example Config
2727
```json
2828
{
2929
"rules": {
30-
"compiler-version": ["error","^0.8.0"]
30+
"compiler-version": ["error","^0.8.24"]
3131
}
3232
}
3333
```
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"rules": {
3-
"no-empty-blocks": "error"
3+
"no-empty-blocks": "error",
4+
"compiler-version": "off"
45
}
56
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"rules": {
3-
"no-empty-blocks": "off"
3+
"no-empty-blocks": "off",
4+
"compiler-version": "off"
45
}
56
}

e2e/05-max-warnings/contracts/Foo.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity >=0.8.0;
2+
pragma solidity >=0.8.24;
33

44
contract Foo {
55
uint256 public constant test1 = 1;

e2e/06-formatters/contracts/Foo2.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity >=0.8.0;
2+
pragma solidity >=0.8.24;
33

44
contract Foo {
55
uint256 public constant test1 = 1;

e2e/06-formatters/contracts/Foo3.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity >=0.8.0;
2+
pragma solidity >=0.8.24;
33

44
contract Foo {
55
uint256 public constant TEST1 = 1;

e2e/06-formatters/helpers/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const foo1Output = [
33
line: 2,
44
column: 1,
55
severity: 'Error',
6-
message: 'Compiler version >=0.6.0 does not satisfy the ^0.8.0 semver requirement',
6+
message: 'Compiler version >=0.6.0 does not satisfy the ^0.8.24 semver requirement',
77
ruleId: 'compiler-version',
88
fix: null,
99
filePath: 'contracts/Foo.sol',

e2e/08-autofix/_commands/Foo1.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: Apache-2.0
2-
pragma solidity ^0.8.4;
2+
pragma solidity ^0.8.24;
33

44
import {ERC20Burnable} from '@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol';
55

0 commit comments

Comments
 (0)