Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ abstract contract SubgraphServiceSharedTest is HorizonStakingSharedTest {
}

modifier useDelegation(uint256 tokens) {
vm.assume(tokens > 1);
vm.assume(tokens > MIN_DELEGATION);
vm.assume(tokens < 10_000_000_000 ether);
(, address msgSender,) = vm.readCallers();
resetPrank(users.delegator);
Expand Down
1 change: 1 addition & 0 deletions packages/subgraph-service/test/utils/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ abstract contract Constants {
uint256 public constant curationCut = 10000;
// Staking
uint64 internal constant MAX_WAIT_PERIOD = 28 days;
uint256 internal constant MIN_DELEGATION = 1 ether;
// GraphEscrow parameters
uint256 internal constant withdrawEscrowThawingPeriod = 60;
// GraphPayments parameters
Expand Down
Loading