Skip to content

Commit bc0e657

Browse files
committed
lint: fix
1 parent 33218e2 commit bc0e657

File tree

5 files changed

+10
-13
lines changed

5 files changed

+10
-13
lines changed

script/optimized-deployer-meta

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"constant_product_hash": "0xbd78fb88c65e9a8804773c3a0e0350627ae244d6daf312a549fc1e08ef9bf56e",
3-
"factory_hash": "0x84e232ec0f6ea2ec4c9e4cfa7e5469dab805cb65ffaab4a7ee9c7c602f91345a",
4-
"oracle_caller_hash": "0xed0f7d96dcba353321d583022005b03c09088f7de3800703dc8324b1da6c77a6",
5-
"stable_hash": "0x24174b50e2a4c46e25d5367496b6a2ca38bf33dceb07ef3aba32e2c1266a6bf1"
2+
"constant_product_hash": "0xcca943b7eec19aae52ad87aeca4df38893019d58384e4882eb5a1e6a6194f81a",
3+
"factory_hash": "0x24b019b4c3d3f659b456d9bf80771f46628e18807869d97904e329ec2879ddbc",
4+
"oracle_caller_hash": "0x29eabcba90aca48a9c998425e3fbdeeb83836a29178fbeb199c41b2ff504f0b1",
5+
"stable_hash": "0xa66d1a8660918ddf22e0735671b7c38b0ab793af9639b5c6359af0b606681b9e"
66
}

src/ReservoirDeployer.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ contract ReservoirDeployer {
1717
uint256 public step = 0;
1818

1919
// Bytecode hashes.
20-
bytes32 public constant FACTORY_HASH = bytes32(0xae59efa1baf1113957e748f189c8eb9271c4a0d919c8af03d26ae4fbddb51e81);
20+
bytes32 public constant FACTORY_HASH = bytes32(0x24b019b4c3d3f659b456d9bf80771f46628e18807869d97904e329ec2879ddbc);
2121
bytes32 public constant CONSTANT_PRODUCT_HASH =
22-
bytes32(0x356ae496acb4119a46481b3326102cb38281aad285e579d14598f6c5bb76f5e2);
23-
bytes32 public constant STABLE_HASH = bytes32(0xa4bb872f2e22f611d0fd1ff88d960edc58283528282cb20aab4fbe14da557300);
22+
bytes32(0xcca943b7eec19aae52ad87aeca4df38893019d58384e4882eb5a1e6a6194f81a);
23+
bytes32 public constant STABLE_HASH = bytes32(0xa66d1a8660918ddf22e0735671b7c38b0ab793af9639b5c6359af0b606681b9e);
2424
bytes32 public constant ORACLE_CALLER_HASH =
25-
bytes32(0xf130f5cb7eebcf57bac9f5d273fd8cc18dfb1b3f48d114a5e6a8230440d50e0f);
25+
bytes32(0x29eabcba90aca48a9c998425e3fbdeeb83836a29178fbeb199c41b2ff504f0b1);
2626

2727
// Deployment addresses.
2828
GenericFactory public factory;

test/integration/Aave.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ contract AaveIntegrationTest is BaseTest {
10561056
_stepTime(5000);
10571057
uint256 lBalAfterTimePair = _manager.getBalance(_pair, USDC);
10581058
uint256 lBalAfterTimeOther = _manager.getBalance(lOtherPair, USDC);
1059-
uint256 lClaimed = _manager.claimRewardForMarket(lUSDCMarket, lWavax);
1059+
_manager.claimRewardForMarket(lUSDCMarket, lWavax);
10601060
// commenting out for now as AAVE is not currently giving out additional AVAX rewards
10611061
// assertGt(lClaimed, 0);
10621062
// dummy amount of proceeds from selling the rewards

test/interfaces/IUSDC.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pragma solidity ^0.8.0;
33

44
interface IUSDC {
5-
function masterMinter() view external returns (address);
5+
function masterMinter() external view returns (address);
66
function mint(address dst, uint256 amount) external;
77
function configureMinter(address minter, uint256 minterAllowedAmount) external returns (bool);
88
}

test/unit/OracleWriter.t.sol

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,14 +566,11 @@ contract OracleWriterTest is BaseTest {
566566
// but clamped price is at 2.98M
567567
assertApproxEqRel(LogCompression.fromLowResLog(lObs.logInstantClampedPrice), 2_984_969e18, 0.01e18);
568568

569-
uint256 lTimeStart = block.timestamp;
570569
while (LogCompression.fromLowResLog(lObs.logInstantClampedPrice) > 3495e18) {
571570
_stepTime(30);
572571
lCP.sync();
573572
(,,, lIndex) = lCP.getReserves();
574573
lObs = _oracleCaller.observation(lCP, lIndex);
575-
console.log(LogCompression.fromLowResLog(lObs.logInstantClampedPrice));
576574
}
577-
console.log("it took", block.timestamp - lTimeStart, "secs to get the clamped price to the true price");
578575
}
579576
}

0 commit comments

Comments
 (0)