Skip to content

Conversation

pcarranzav
Copy link
Member

Summary

  • Updated all DIPs-related code to use ethers v6 API
  • Migrated from BigNumberish to bigint for all numeric operations
  • Fixed provider and signer initialization patterns
  • Updated test suite to use new ethers v6 patterns

Changes

  • Modified DIPs fee calculations and API client to use ethers v6
  • Updated allocation resolver to handle ethers v6 types
  • Fixed monitor service provider initialization
  • Migrated test suite to new ethers patterns
  • Removed temporary migration documentation

Test plan

  • Unit tests pass in CI
  • Integration tests pass
  • Manual testing of DIPs flow in local environment

🤖 Generated with Claude Code

@github-project-automation github-project-automation bot moved this to 🗃️ Inbox in Indexer Jul 25, 2025
@pcarranzav pcarranzav changed the title feat: complete DIPs integration with ethers v6 migration feat: DIPs (rebased on horizon) Jul 25, 2025
pcarranzav and others added 2 commits July 28, 2025 22:03
This squashed commit adds support for DIPs (Distributed Indexing Payments), which allows
indexers to receive indexing fees for indexing subgraphs requested via the DIPs system.

Key changes:
- Add 'dips' as a new IndexingDecisionBasis enum value
- Add indexing agreements model and database support
- Add DIPs client for interacting with the gateway DIPs service
- Support for matching DIPs agreements with allocations
- Allow actions on deployments that are not published yet (for DIPs)
- Update allocation management to handle DIPs-based allocations
- Add proper handling for cancelled agreements

Co-authored-by: Multiple contributors from the DIPs development team
- Updated all DIPs-related code to use ethers v6 API
- Migrated from BigNumberish to bigint for all numeric operations
- Fixed provider and signer initialization patterns
- Updated test suite to use new ethers v6 patterns
- Removed temporary migration documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@pcarranzav pcarranzav force-pushed the dips-horizon-rebase branch from 0f44ec8 to b60f396 Compare July 28, 2025 22:03
- Add DipsReceipt model with snake_case fields matching database conventions
- Update DipsCollector to store Receipt IDs instead of TAP receipts
- Implement GetReceiptById polling in collectAllPayments method
- Update to @graphprotocol/dips-proto 0.3.0 for new proto definitions
- Remove TAP receipt dependencies from DIPs payment flow
- Add comprehensive logging for payment status transitions

This completes the indexer-agent implementation for the new DIPs Safe
payment system, replacing TAP receipts with an asynchronous Receipt ID
based approach.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🗃️ Inbox
Development

Successfully merging this pull request may close these issues.

1 participant