Skip to content

Commit

Permalink
chore: update max warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
blockgroot committed Jun 5, 2024
1 parent 592fab6 commit bfaa9ba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"plugins": [],
"rules": {
"avoid-suicide": "error",
"avoid-sha3": "warn",
"quotes": "warn"
"avoid-sha3": "warn"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "forge test -v",
"prettier:check": "prettier --check \"(contracts|test|script)/**/*.sol\"",
"prettier:fix": "prettier --write \"(contracts|test|script)/**/*.sol\"",
"lint": "solhint -w 3 'contracts/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'"
"lint": "solhint 'contracts/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion test/foundry_tests/PermissionedPool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ contract PermissionedPoolTest is Test {
address externalEOA = vm.addr(1000);
startHoax(externalEOA);
vm.expectRevert(IStaderPoolBase.UnsupportedOperation.selector);
payable(permissionedPool).call{ value: 1 ether }('abi.encodeWithSignature("nonExistentFunction()")');
payable(permissionedPool).call{ value: 1 ether }(abi.encodeWithSignature("nonExistentFunction()"));
vm.stopPrank();
}

Expand Down
2 changes: 1 addition & 1 deletion test/foundry_tests/PermissionlessPool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ contract PermissionlessPoolTest is Test {
address externalEOA = vm.addr(1000);
startHoax(externalEOA);
vm.expectRevert(IStaderPoolBase.UnsupportedOperation.selector);
payable(permissionlessPool).call{ value: 1 ether }('abi.encodeWithSignature("nonExistentFunction()")');
payable(permissionlessPool).call{ value: 1 ether }(abi.encodeWithSignature("nonExistentFunction()"));
vm.stopPrank();
}

Expand Down
2 changes: 1 addition & 1 deletion test/foundry_tests/StaderStakePoolManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ contract StaderStakePoolManagerTest is Test {
address externalEOA = vm.addr(1000);
startHoax(externalEOA);
vm.expectRevert(IStaderStakePoolManager.UnsupportedOperation.selector);
payable(stakePoolManager).call{ value: 1 ether }('abi.encodeWithSignature("nonExistentFunction()")');
payable(stakePoolManager).call{ value: 1 ether }(abi.encodeWithSignature("nonExistentFunction()"));
vm.stopPrank();
}

Expand Down

0 comments on commit bfaa9ba

Please sign in to comment.