Skip to content

Conversation

@JosepBove
Copy link
Contributor

@JosepBove JosepBove commented Sep 5, 2025

Resolves #302

This PR removes the previous limitation where multiple contracts depending on the same event would cause a panic. Now the system properly handles scenarios where the same event is a dependency for multiple different contracts.

Changes:

  • Removed panic for multiple cross-contract dependencies
  • Added get_all_dependencies_in_other_contracts() method to access all dependent contracts
  • Updated event processing logic to handle multiple dependencies using iterator-based approach
  • Added test coverage for the new functionality

Before: System would panic with "Multiple dependencies of the same event on different contracts not supported yet"

After: Multiple contracts can now depend on the same event from another contract, with proper event config propagation to all dependent contracts.

@vercel
Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rindexer-documentation Ready Ready Preview Comment Sep 8, 2025 4:23pm

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.

[Feature request] Multiple dependencies of the same event on different contracts not supported yet

2 participants