Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Commit 6d2488b

Browse files
committed
Clean up comments
1 parent 7571959 commit 6d2488b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/SwanUpgradeTest.t.sol

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,9 @@ contract SwanUpgradeTest is Test {
9494

9595
assertEq(currentImplementation, address(swanImplementationV2));
9696

97-
// Post-upgrade checks to ensure all state is preserved
9897
assertEq(address(proxy.agentFactory()), address(agentFactory));
9998
assertEq(address(proxy.artifactFactory()), address(artifactFactory));
10099

101-
// Test functionality after upgrade
102100
vm.startPrank(owner);
103101
address newAgentFactory = address(new MockSwanAgentFactory());
104102
address newArtifactFactory = address(new MockSwanArtifactFactory());
@@ -118,7 +116,7 @@ contract SwanUpgradeTest is Test {
118116

119117
// Try to upgrade from a non-owner account
120118
vm.startPrank(user);
121-
vm.expectRevert(); // Should revert due to onlyOwner
119+
vm.expectRevert();
122120
proxy.upgradeToAndCall(address(swanImplementationV2), "");
123121
vm.stopPrank();
124122
}

test/mock/MockLLMOracleCoordinator.sol

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ pragma solidity ^0.8.20;
33

44
import {LLMOracleCoordinator} from "@firstbatch/dria-oracle-contracts/LLMOracleCoordinator.sol";
55

6-
contract MockLLMOracleCoordinator {
7-
// Mock functions as needed
8-
}
6+
contract MockLLMOracleCoordinator {}

0 commit comments

Comments
 (0)