Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
a17 committed Oct 21, 2024
1 parent bbe398d commit c195f8d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test/core/Platform.Polygon.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -339,16 +339,19 @@ contract PlatformPolygonTest is PolygonSetup {

// now hardwork must be success, it use only first maxHwPerCall vaults
bytes memory str;
(success,str) = address(hw).call(execPayload);
assertEq(success, true, string.concat("HardWorker.call failed 3. execPayload length: ", CommonLib.u2s(execPayload.length)));
(success, str) = address(hw).call(execPayload);
assertEq(
success,
true,
string.concat("HardWorker.call failed 3. execPayload length: ", CommonLib.u2s(execPayload.length))
);
assertGt(hw.gelatoBalance(), 0);
vm.stopPrank();

skip(1 days);
{
_fillAllStrategiesRewards(vaultManager);
for (uint i; i < 100; ++i) {

(canExec, execPayload) = hw.checkerServer();
if (canExec) {
(success, str) = address(hw).call(execPayload);
Expand Down Expand Up @@ -529,7 +532,7 @@ contract PlatformPolygonTest is PolygonSetup {

function _disableStrategy(string memory id) internal {
vm.startPrank(platform.multisig());
// platform.addOperator(platform.multisig());
// platform.addOperator(platform.multisig());
factory.setStrategyLogicConfig(
IFactory.StrategyLogicConfig({
id: id,
Expand Down

0 comments on commit c195f8d

Please sign in to comment.