Skip to content

WIP upgrading local network to support indexing payments#62

Open
RembrandtK wants to merge 5 commits intomainfrom
rem-local-network
Open

WIP upgrading local network to support indexing payments#62
RembrandtK wants to merge 5 commits intomainfrom
rem-local-network

Conversation

@RembrandtK
Copy link
Member

This includes:

  • Significant refactoring of local-network setup, including to use profiles instead of overrides
  • Adding eligibility-oracle-node to support Rewards Eligibility Oracle (REO)
  • Adding tests to support REO, but intended to be a more general capability
  • Adding indexing payment related components to support replacing the upgrade indexer

I am not yet confident this will not break local-network for other people, although locally in good shape. Some of the newer components have local dev dependencies.

- Move container dirs into containers/ grouped by domain
  (core/, indexer/, indexing-payments/, query-payments/, oracles/, ui/)
- Remove git submodules and overrides system
- Add compose/dev/ overlays with descriptive profiles
- Add REO eligibility oracle and real IISA scoring service
- Simplify Dockerfiles to wrapper-only model
- Default config works out of the box without local builds
- test-baseline-state.sh: Layer 1 state observation
- test-baseline-queries.sh: baseline query validation
- test-indexer-guide-queries.sh: indexer guide queries
- test-reo-eligibility.sh: REO eligibility cycle e2e
Test suites: allocation lifecycle, eligibility, network state,
provision management, query fees, REO governance, reward collection,
stake management. Includes nextest config for serial execution.
- docs/testing/: test framework, REO test plan and status
- docs/eligibility-oracle/: goal and status tracking
- docs/explorer/: integration goal
- docs/flows/: updated testing flow guides
- docs/indexing-payments/: reorganize into safe-based/ subdir
- tests/README.md: coverage mapping table
Add 12 new integration tests covering RewardsConditionsTestPlan (Cycles
1-4, 6) and SubgraphDenialTestPlan (Cycles 2, 3, 5, 6). 8 tests pass
against the live network; 4 are blocked by the pre-existing
closeAllocation Panic(: 17) issue in the indexer-agent.

Test infrastructure additions:
- oracle_secret for subgraph availability oracle (setDenied)
- ensure_oracle_funded() for fresh chains
- Governor signing (cast_send_as_governor)
- Rewards conditions: reclaim config, signal thresholds, accumulators
- Denial operations: setDenied, isDenied, reclaim routing
- GRT balance, event log queries, deployment ID lookups

Update doc paths from post-audit/reo-testing to main where applicable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant