Skip to content

Commit

Permalink
Remove unused lint file and increase foundry
Browse files Browse the repository at this point in the history
  • Loading branch information
joaobrunoah committed Dec 10, 2024
1 parent f86580a commit c037b28
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ evm_version = 'cancun'
ignored_error_codes = [2394, 5574, 3860] # Transient storage, code size

[fuzz]
runs = 100
runs = 1000
max_test_rejects = 60000

[rpc_endpoints]
Expand Down
10 changes: 5 additions & 5 deletions test/ERC4626WrapperBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { IVaultForERC4626Test } from "../interfaces/IVaultForERC4626Test.sol";
abstract contract ERC4626WrapperBaseTest is Test {
using SafeERC20 for IERC20;

uint128 constant internal MAX_UINT128 = type(uint128).max;
uint256 constant internal BUFFER_MINIMUM_TOTAL_SUPPLY = 1e6;
uint128 internal constant MAX_UINT128 = type(uint128).max;
uint256 internal constant BUFFER_MINIMUM_TOTAL_SUPPLY = 1e6;

// Variables to be defined by setUpForkTestVariables().
string internal network;
Expand Down Expand Up @@ -411,17 +411,17 @@ abstract contract ERC4626WrapperBaseTest is Test {
function _configurePermit2AndBufferToNetwork() private {
// Block Numbers are based on the deployment of BufferRouter.

if (_compareStrings(network,"mainnet")) {
if (_compareStrings(network, "mainnet")) {
blockNumber = 21339384;
permit2 = IPermit2(0x000000000022D473030F116dDEE9F6B43aC78BA3);
bufferRouter = IBufferRouter(0x9179C06629ef7f17Cb5759F501D89997FE0E7b45);
vault = IVaultForERC4626Test(0xbA1333333333a1BA1108E8412f11850A5C319bA9);
} else if (_compareStrings(network,"gnosis")) {
} else if (_compareStrings(network, "gnosis")) {
blockNumber = 37377481;
permit2 = IPermit2(0x000000000022D473030F116dDEE9F6B43aC78BA3);
bufferRouter = IBufferRouter(0x86e67E115f96DF37239E0479441303De0de7bc2b);
vault = IVaultForERC4626Test(0xbA1333333333a1BA1108E8412f11850A5C319bA9);
} else if (_compareStrings(network,"sepolia")) {
} else if (_compareStrings(network, "sepolia")) {
blockNumber = 7219291;
permit2 = IPermit2(0x000000000022D473030F116dDEE9F6B43aC78BA3);
bufferRouter = IBufferRouter(0xb5F3A41515457CC6E2716c62a011D260441CcfC9);
Expand Down

0 comments on commit c037b28

Please sign in to comment.