Skip to content

[Subgraph] Add final results hash, intermediate results hash and oracle fees to Escrow#3590

Merged
portuu3 merged 5 commits intocontracts-v2from
feat/subgraph/oracle-fee
Oct 2, 2025
Merged

[Subgraph] Add final results hash, intermediate results hash and oracle fees to Escrow#3590
portuu3 merged 5 commits intocontracts-v2from
feat/subgraph/oracle-fee

Conversation

@flopez7
Copy link
Copy Markdown
Contributor

@flopez7 flopez7 commented Oct 1, 2025

Issue tracking

Closes #3508 and #3591

Context behind the change

  • Updated Escrow contract to include finalResultsHash parameter.
  • Modified EscrowData class and related utility functions to handle new hash and fees fields.
  • Enhanced GraphQL schema and types to accommodate new fields in Python and Typescript SDK.
  • Updated tests to verify functionality with new parameters.

How has this been tested?

  • Ran unit tests
  • Deployed and tested locally

Release plan

Deploy contract changes and SDK

Potential risks; What to monitor; Rollback plan

N/A

…rameters for oracle fees.

Enhanced Escrow data in Python and Typescript SDK to support final results hash and oracle fees.
Updated Subgraph for adding oracle fees and final results hash
@flopez7 flopez7 requested review from dnechay and portuu3 October 1, 2025 14:16
@flopez7 flopez7 self-assigned this Oct 1, 2025
@vercel
Copy link
Copy Markdown

vercel bot commented Oct 1, 2025

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

Project Deployment Preview Comments Updated (UTC)
human-app Ready Ready Preview Comment Oct 2, 2025 11:45am
human-dashboard-frontend Ready Ready Preview Comment Oct 2, 2025 11:45am
staking-dashboard Ready Ready Preview Comment Oct 2, 2025 11:45am
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
faucet-frontend Ignored Ignored Preview Oct 2, 2025 11:45am
faucet-server Ignored Ignored Preview Oct 2, 2025 11:45am

Copy link
Copy Markdown
Collaborator

@dnechay dnechay left a comment

Choose a reason for hiding this comment

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

Please check failing tests

Copy link
Copy Markdown
Collaborator

@portuu3 portuu3 left a comment

Choose a reason for hiding this comment

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

regenerate docs

Comment thread packages/sdk/python/human-protocol-sdk/example.py Outdated
@portuu3 portuu3 merged commit 111a3df into contracts-v2 Oct 2, 2025
9 checks passed
@portuu3 portuu3 deleted the feat/subgraph/oracle-fee branch October 2, 2025 11:46
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.

3 participants