Skip to content

add support for lit-enabled protocol#6

Open
efstajas wants to merge 2 commits intomainfrom
jason/support-lit
Open

add support for lit-enabled protocol#6
efstajas wants to merge 2 commits intomainfrom
jason/support-lit

Conversation

@efstajas
Copy link
Contributor

With the lit-based flow, we no longer get requestUpdateOwner events to initially populate project information from. Instead, we need to use the new AccountIdSeen event.

Open question:

  • This should be backwards compatible, in theory we can deploy it and it will just continue working once the mainnet protocol is upgraded. But we should verify.

@railway-app
Copy link

railway-app bot commented Feb 15, 2026

🚅 Environment dripfeed-pr-6 in Drips App has no services deployed.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for the lit-enabled RepoDriver protocol flow by ingesting the new AccountIdSeen event so the indexer can create initial projects / linked_identities records even when OwnerUpdateRequested is no longer emitted.

Changes:

  • Add AccountIdSeen to the RepoDriver monitored event list and handler registry.
  • Introduce a new accountIdSeenHandler that inserts initial projects / linked_identities rows idempotently.
  • Extend the RepoDriver ABI with the AccountIdSeen event definition.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/handlers/registry.ts Registers the new AccountIdSeen event handler.
src/handlers/accountIdSeenHandler.ts New handler to create project / ORCID linked identity records from AccountIdSeen.
src/chains/monitoredEvents.ts Ensures AccountIdSeen logs are processed for RepoDriver contracts.
src/chains/abis/repoDriverAbi.ts Adds AccountIdSeen to the RepoDriver ABI for decoding.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@efstajas efstajas requested a review from jtourkos February 17, 2026 09:03
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