Skip to content

re-enable fully gasless claiming, owner update for already-claimed repos#1877

Draft
efstajas wants to merge 9 commits intomainfrom
jason/re-enable-fully-gasless-claiming
Draft

re-enable fully gasless claiming, owner update for already-claimed repos#1877
efstajas wants to merge 9 commits intomainfrom
jason/re-enable-fully-gasless-claiming

Conversation

@efstajas
Copy link
Copy Markdown
Contributor

@efstajas efstajas commented Apr 1, 2026

Resolves #1875 and enables updating the owner of an already-claimed project.

Restores:

  • gasless owner update in the background after FUNDING.json step

Removes:

  • Old, now-defunct "Request owner update" utility on Secret Menu

Adds:

  • Ability to "re-claim" a project with a new owner by entering an already-claimed github URL into the claim flow from a new address

@railway-app
Copy link
Copy Markdown

railway-app bot commented Apr 1, 2026

🚅 Deployed to the app-pr-1877 environment in Drips App

Service Status Web Updated (UTC)
App ❌ Build Failed (View Logs) Web Apr 2, 2026 at 3:25 pm
4 services not affected by this PR
  • Event Processor Jobs
  • Search Sync
  • Event Processor
  • Fake Oracle API

@efstajas efstajas changed the title re-enable fully gasless claiming re-enable fully gasless claiming, owner update for already-claimed repos Apr 1, 2026
Copy link
Copy Markdown
Contributor

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

Re-enables fully gasless owner updates during the claim flow (post-FUNDING.json verification) and adds support for “re-claiming” an already-claimed GitHub project to update its on-chain owner.

Changes:

  • Adds a new gasless relay endpoint to submit updateOwnerByLit via Gelato in the background.
  • Updates the claim project flow to allow re-claiming (claimed URL + different connected wallet) and adjusts verification/status checks accordingly.
  • Removes the legacy “Request owner update” utility from the Secret Menu and updates owner-update tx construction to route through Caller (including gasless EIP-712 flow).

Reviewed changes

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

Show a summary per file
File Description
src/routes/api/gasless/call/lit-owner-update/+server.ts New API route to relay Lit-based owner updates via Gelato with Redis de-duplication.
src/routes/(pages)/app/(app)/secret-menu/+page.svelte Removes deprecated “Request owner update” UI and related transaction code/imports.
src/lib/flows/claim-project-flow/steps/set-splits-and-emit-metadata/set-splits-and-emit-metadata.svelte Adjusts owner-update waiting logic for re-claim, shortens simulation retry window, and routes Lit owner update through Caller with optional gasless signing.
src/lib/flows/claim-project-flow/steps/enter-git-url/enter-git-url.svelte Allows claimed projects to proceed as “re-claim” when wallet differs; updates UI copy and resets reclaim state on clear.
src/lib/flows/claim-project-flow/steps/add-ethereum-address/add-ethereum-address.svelte Restores background gasless Lit owner update after FUNDING.json verification, with simulation retry before relaying and fallback to manual submission.
src/lib/flows/claim-project-flow/claim-project-flow.ts Adds isReclaiming state and updates success messaging accordingly.
src/lib/flows/claim-orcid-flow/steps/set-splits/set-splits.svelte Updates Lit owner-update transaction to route through Caller with optional gasless signing (matching the new pattern).

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

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.

Re-enable gasless claiming on Optimism, Filecoin

2 participants