Skip to content

Support Ponder subgraph schemas in umbra-js and frontend#712

Draft
garyghayrat wants to merge 2 commits intomasterfrom
feat-ponder-sh
Draft

Support Ponder subgraph schemas in umbra-js and frontend#712
garyghayrat wants to merge 2 commits intomasterfrom
feat-ponder-sh

Conversation

@garyghayrat
Copy link
Member

Summary

  • add Ponder-compatible subgraph queries for announcement and stealth key scans
  • auto-detect Ponder vs legacy subgraph schemas and fall back when Ponder fields are unavailable
  • wire the frontend to the new subgraph configuration and add schema compatibility coverage

Testing

  • add umbra-js/test/subgraph-schema.test.ts

@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for jolly-shaw-20fe62 ready!

Name Link
🔨 Latest commit 3d133c8
🔍 Latest deploy log https://app.netlify.com/projects/jolly-shaw-20fe62/deploys/69b1f23f21461e0008183d41
😎 Deploy Preview https://deploy-preview-712--jolly-shaw-20fe62.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Add compatibility fetching and tests for both Ponder and legacy subgraph schemas, wire frontend chain configs to explicit subgraph URLs, and restore the frontend Umbra API default to the production endpoint.
@github-actions
Copy link

Coverage after merging feat-ponder-sh into master will be

85.93%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
contracts-periphery/src
   UmbraBatchSend.sol100%100%100%100%
   UniswapWithdrawHook.sol100%100%100%100%
umbra-js/src
   ethers.ts86.27%100%75%100%
   types.ts50%100%0%100%
umbra-js/src/classes
   KeyPair.ts98.54%97.62%100%98.75%248, 250
   RandomNumber.ts100%100%100%100%
   StealthKeyRegistry.ts100%100%100%100%
   TxHistoryProvider.ts85.19%65%100%96.55%12, 17, 20, 23, 29, 43, 48, 8
   Umbra.ts82.61%72.32%90.70%87.76%162–163, 184, 257–258, 326, 344–347, 383–384, 415, 430, 433, 440–442, 444, 451, 454, 459, 459, 461, 461, 461, 461, 461–462, 464–465, 48, 495, 495, 495, 497, 497, 497, 499, 499, 499, 499–500, 500, 500–502, 518–519, 584–586, 627, 682, 686, 732, 745–746, 756–757, 771, 779–780, 810–811, 886–887, 890, 893–894, 900–902, 909, 909, 909–912, 947, 949–950, 950–951
umbra-js/src/utils
   cns.ts50%33.33%50%55%33–36, 40, 40, 40, 40, 40–41, 44–46
   constants.ts100%100%100%100%
   ens.ts36.11%25%33.33%40%25–27, 35, 56–57, 57, 57–58, 63–64, 66, 70, 70, 70, 70, 70–71, 75–77
   sharedSecret.ts83.05%72.73%100%87.88%24, 27–28, 42–43, 47–48, 62, 62–63
   utils.ts76.59%69.92%81.08%81.02%111–112, 1234–1235, 1247–1248, 137, 145, 145, 161–163, 165–167, 173, 195–196, 222–224, 224, 224–225, 225, 225, 246, 311, 314, 319, 323, 327, 337, 349–354, 356–363, 363, 363, 363, 363, 363, 363–364, 366, 376, 407–409, 415, 425–426, 433–434, 441, 451, 451–452, 452–453, 458, 488–489, 498–499, 519–521, 534–535, 561–563, 572, 645, 652, 652–653, 653, 653–654, 654, 656, 660, 723, 725–726, 735, 735, 735–736, 738, 741, 750–751, 792, 809, 809, 809, 838, 860–862, 865, 875, 887, 887–888, 893, 895–896, 907–911, 924, 926, 977–978, 978, 978–980, 980, 980, 991
umbra-js/test
   testPrivateKeys.ts100%100%100%100%
   utils.ts100%100%100%100%

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