Skip to content

Commit 88312ff

Browse files
committed
chore: tests
Signed-off-by: Tomás Migone <[email protected]>
1 parent 06b3441 commit 88312ff

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

packages/subgraph-service/test/disputeManager/disputes/query/accept.t.sol

-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ contract DisputeManagerQueryAcceptDisputeTest is DisputeManagerTest {
145145
disputeManager.acceptDispute(disputeID, tokensSlash);
146146
}
147147

148-
149148
function test_Query_Accept_RevertWhen_SlashingOverMaxSlashPercentage_WithDelegation_DelegationSlashing(
150149
uint256 tokens,
151150
uint256 tokensDelegated,

packages/subgraph-service/test/shared/SubgraphServiceShared.t.sol

-4
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,4 @@ abstract contract SubgraphServiceSharedTest is HorizonStakingSharedTest {
199199
(uint256 registeredAt, string memory url, string memory geoHash) = subgraphService.indexers(_indexer);
200200
return ISubgraphService.Indexer({ registeredAt: registeredAt, url: url, geoHash: geoHash });
201201
}
202-
203-
function _calculateStakeSnapshot(uint256 _tokens, uint256 _tokensDelegated) internal view returns (uint256) {
204-
return _tokens + MathUtils.min(_tokensDelegated, _tokens * subgraphService.getDelegationRatio());
205-
}
206202
}

0 commit comments

Comments
 (0)