Skip to content

Conversation

@hudsonhrh
Copy link
Member

Adds a new RolesCreated event that emits role names, images, metadata CIDs, and voting permissions alongside hat IDs during organization deployment. This enables subgraphs to correlate role metadata with hat IDs for proper indexing.

The event is emitted in _deployFullOrgInternal after org creation, making role metadata accessible at the same time as the organization deployment, which is critical for subgraph indexing during org creation.

Tests verify all 35 existing tests continue to pass with the new event emission.

hudsonhrh and others added 2 commits December 8, 2025 15:40
Add RolesCreated event that emits role names, images, metadata CIDs, and voting permissions alongside hat IDs during organization deployment. This enables subgraphs to correlate role metadata with hat IDs for proper indexing.

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

Co-Authored-By: Claude <[email protected]>
@hudsonhrh hudsonhrh merged commit 7ae44c3 into main Dec 8, 2025
5 checks passed
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.

2 participants