You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(reo): correct test-plan facts from full review
Cross-checked every test plan against the contracts and deployed addresses
and fixed the confirmed inaccuracies:
- SubgraphDenial: setDenied is onlySubgraphAvailabilityOracle (Governor
cannot call it); identify the SAO via RewardsManager.subgraphAvailabilityOracle()
(not Controller.getContractProxy), with a note that it is typically the
SubgraphAvailabilityManager voting contract.
- IssuanceAllocatorTestPlan: IssuanceAllocator is deployed on Sepolia
(0x76a0d756...); fill mainnet RewardsManager/GraphToken addresses; mark
mainnet IssuanceAllocator "Not yet deployed"; fix getTargetIssuancePerBlock
signature to the 4-field struct return.
- MainnetDetails: fill in the deployed RewardsEligibilityOracle address.
- ReoTestPlan: clarify renewIndexerEligibility "count" is observable via
IndexerEligibilityRenewed events, not cast send return values.
- RewardsConditions/SubgraphDenial: point source refs at AllocationHandler.sol
(where POI/condition handling lives).
- TestnetDetails: drop incorrect chain=arbitrum-one from the Sepolia explorer
link. README: drop stale "pending deployment". NotionTracker: SAO-only note.
These sets use the `RewardsEligibilityOracleMock` for direct eligibility control. The coordinator must have pointed RewardsManager at the mock. These replace Sets 2-4 when the mock is active.
404
+
These sets use the `RewardsEligibilityOracleMock` for direct eligibility control. On Arbitrum Sepolia the RewardsManager the mock. These replace Sets 2-4 when the mock is active.
**Mock REO available**: A `RewardsEligibilityOracleMock` at `0x69b0f3c6a19beaf1ba59405f7179e188c64b4e06` (Arbitrum Sepolia) provides instant eligibility control for integration testing. See the mock-based test paths in [ReoTestPlan](ReoTestPlan.md#mock-reo-quick-test-path) and [IndexerTestGuide](IndexerTestGuide.md#mock-reo-option).
13
+
**Mock REO available**: A `RewardsEligibilityOracleMock` at `0x69b0f3c6a19beaf1ba59405f7179e188c64b4e06` (Arbitrum Sepolia) provides instant eligibility control for integration testing. See the mock-based test paths in [ReoTestPlan](ReoTestPlan.md#mock-reo-quick-test-path) and [IndexerTestGuide](IndexerTestGuide.md#mock-reo-default-path).
- Returns the configured eligibility oracle. On Arbitrum Sepolia the RewardsManager points at the mock (`0x69b0f3c6a19beaf1ba59405f7179e188c64b4e06`) by default; with the production REO wired in it returns the REO proxy (`0x6ba849fbd33257162552578b2a432d30784f2f80`).
- Transaction succeeds and updates 1 indexer (the `uint256` return value; observe it as one `IndexerEligibilityRenewed` event — `cast send` does not surface return values)
370
370
-`getEligibilityRenewalTime` is approximately `block.timestamp` of the renewal tx
371
371
-`lastOracleUpdateTime` updated to the same timestamp
- View functions (`isEligible`) still return results
943
-
-Oracle write operations (`renewIndexerEligibility`) revert while paused
943
+
-`paused()` is a status flag only — the REO has no pause-gated functions, so `renewIndexerEligibility` and other writes still succeed while paused (verify the flag flips, not that writes revert)
-[Reclaim system configured](RewardsConditionsTestPlan.md#cycle-1-reclaim-system-configuration) (Cycle 1 of RewardsConditionsTestPlan) — or configure inline during Cycle 1 below
56
56
- At least two indexers with active allocations on rewarded subgraph deployments
57
-
- Access to the Governor or SubgraphAvailabilityOracle (SAO) account that can call `setDenied()`
57
+
- Access to the SubgraphAvailabilityOracle (SAO) account that can call `setDenied()`
58
58
- Allocations must be mature (open for 2+ epochs) before denial tests
D-2.1,Denial,Verify subgraph is not denied (pre-test),https://github.com/graphprotocol/contracts/blob/reo-testing/packages/issuance/docs/testing/reo/SubgraphDenialTestPlan.md#21-verify-subgraph-is-not-denied-pre-test,,,,Not Started,Record accumulator baseline
35
-
D-2.2,Denial,Deny subgraph deployment,https://github.com/graphprotocol/contracts/blob/reo-testing/packages/issuance/docs/testing/reo/SubgraphDenialTestPlan.md#22-deny-subgraph-deployment,,,,Not Started,SAO or Governor access needed
D-2.3,Denial,Redundant deny is idempotent,https://github.com/graphprotocol/contracts/blob/reo-testing/packages/issuance/docs/testing/reo/SubgraphDenialTestPlan.md#23-redundant-deny-is-idempotent,,,,Not Started,
D-3.1,Denial,Accumulators freeze after denial,https://github.com/graphprotocol/contracts/blob/reo-testing/packages/issuance/docs/testing/reo/SubgraphDenialTestPlan.md#31-accumulators-freeze-after-denial,,,,Not Started,Wait 30+ min after denial
0 commit comments