Skip to content

Ensure oracle fees are paid independently - #3899

Merged
portuu3 merged 14 commits into
developfrom
flopez/oracle-fees
May 21, 2026
Merged

Ensure oracle fees are paid independently#3899
portuu3 merged 14 commits into
developfrom
flopez/oracle-fees

Conversation

@flopez7

@flopez7 flopez7 commented May 13, 2026

Copy link
Copy Markdown
Contributor

Issue tracking

#3880

Context behind the change

Oracle fees were previously affected when worker submissions were rejected and no worker payout was made. This change separates oracle compensation from worker payouts so oracle fees are reserved from the funded amount and paid when the escrow is completed or canceled, while rejected submissions still receive no worker payout. The SDK, oracles, and subgraph were updated to use and track the corrected fund amounts and oracle fee transfers.

How has this been tested?

Deployed locally

Release plan

Deploy new contract version, SDKs and subgraph

Potential risks; What to monitor; Rollback plan

Check bulkpayout balance and fees.

@flopez7
flopez7 requested a review from portuu3 May 13, 2026 09:06
@flopez7 flopez7 self-assigned this May 13, 2026
@vercel

vercel Bot commented May 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
human-app Ready Ready Preview, Comment May 20, 2026 1:10pm
human-dashboard-frontend Ready Ready Preview, Comment May 20, 2026 1:10pm
staking-dashboard Ready Ready Preview, Comment May 20, 2026 1:10pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
faucet-frontend Ignored Ignored Preview May 20, 2026 1:10pm
faucet-server Ignored Ignored Preview May 20, 2026 1:10pm

Request Review

@flopez7 flopez7 added the WIP Work In Progress label May 13, 2026
@vercel
vercel Bot temporarily deployed to Preview – human-app May 13, 2026 12:33 Inactive
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard May 13, 2026 12:33 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend May 13, 2026 12:33 Inactive
Comment thread packages/apps/fortune/recording-oracle/src/modules/job/job.service.ts Outdated
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard May 13, 2026 13:38 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-app May 13, 2026 13:38 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend May 13, 2026 13:38 Inactive
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard May 14, 2026 08:46 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend May 14, 2026 08:46 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-app May 14, 2026 08:46 Inactive
Comment thread packages/core/contracts/Escrow.sol Outdated
Comment thread packages/core/contracts/Escrow.sol Outdated
Comment thread packages/core/contracts/Escrow.sol Outdated
@vercel
vercel Bot temporarily deployed to Preview – human-dashboard-frontend May 18, 2026 08:28 Inactive
@vercel
vercel Bot temporarily deployed to Preview – staking-dashboard May 18, 2026 08:28 Inactive
@vercel
vercel Bot temporarily deployed to Preview – human-app May 18, 2026 08:28 Inactive
… update event emissions for cancellation refunds and oracle fee transfers
Comment thread packages/core/contracts/Escrow.sol Outdated
@portuu3
portuu3 merged commit e0cd1db into develop May 21, 2026
21 checks passed
@portuu3 portuu3 mentioned this pull request May 21, 2026
27 tasks
@dnechay
dnechay deleted the flopez/oracle-fees branch July 30, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP Work In Progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants