Skip to content

Commit 662bf93

Browse files
committed
chore: fix comments
Signed-off-by: Tomás Migone <[email protected]>
1 parent 292dc69 commit 662bf93

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/horizon/contracts/interfaces/internal/IHorizonStakingMain.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ interface IHorizonStakingMain {
363363
error HorizonStakingNotAuthorized(address serviceProvider, address verifier, address caller);
364364

365365
/**
366-
* @notice Thrown when attempting to create a provision for a data service other than the
366+
* @notice Thrown when attempting to create a provision with a verifier other than the
367367
* subgraph data service. This restriction only applies during the transition period.
368368
* @param verifier The verifier address
369369
*/

packages/horizon/test/staking/provision/provision.t.sol

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ contract HorizonStakingProvisionTest is HorizonStakingTest {
117117

118118
// oddly we use subgraphDataServiceLegacyAddress as the subgraph service address
119119
// so subgraphDataServiceAddress is not the subgraph service ¯\_(ツ)_/¯
120-
bytes memory expectedError = abi.encodeWithSignature("HorizonStakingInvalidVerifier(address)", subgraphDataServiceAddress);
120+
bytes memory expectedError = abi.encodeWithSignature(
121+
"HorizonStakingInvalidVerifier(address)",
122+
subgraphDataServiceAddress
123+
);
121124
vm.expectRevert(expectedError);
122125
staking.provision(users.indexer, subgraphDataServiceAddress, amount, 0, 0);
123126
}

0 commit comments

Comments
 (0)