Skip to content

feat: boba#119

Merged
LeoSlrRf merged 2 commits into
mainfrom
feat/boba
May 29, 2026
Merged

feat: boba#119
LeoSlrRf merged 2 commits into
mainfrom
feat/boba

Conversation

@LeoSlrRf

Copy link
Copy Markdown
Contributor

Description

Add payment subgraph for Boba

@greptile-apps

greptile-apps Bot commented May 24, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds payment subgraph support for the Boba network by introducing subgraph.boba.yaml, registering it in the CLI networks list, and wiring it into the GitHub Actions deploy matrix. The @requestnetwork/smart-contracts package is bumped to pull in Boba contract addresses.

  • subgraph.boba.yaml configures four data sources — ERC20Proxy, ERC20FeeProxy_0_2_0, EthProxy_0_3_0, and EthFeeProxy_0_2_0 — using start blocks in the 32880244–32880250 range and follows the same structure as other chain manifests.
  • Unlike newer chains (Base, Sonic, Optimism), the Boba manifest omits ERC20ConversionProxy and EthConversionProxy_0_2_0; if those contracts are deployed on Boba in the new smart-contracts version, they would be silently unindexed.
  • The @requestnetwork/smart-contracts version jump skips two minor versions and targets a pre-release nightly build, which carries extra risk for all chains sharing this dependency.

Confidence Score: 4/5

Safe to merge once the missing conversion-proxy question is resolved; the core four data sources and deployment wiring look correct.

The four configured contracts, their start blocks, and the deploy matrix addition are all consistent with the existing chain manifests. The main open question is whether ERC20ConversionProxy and EthConversionProxy_0_2_0 exist on Boba in the bumped smart-contracts package — if they do and are omitted, conversion payments on Boba will not be indexed.

subgraph.boba.yaml — confirm whether conversion proxy contracts are deployed on Boba and need to be added

Important Files Changed

Filename Overview
subgraph.boba.yaml New Boba subgraph manifest with 4 data sources; missing ERC20ConversionProxy and EthConversionProxy_0_2_0 that are present in comparable chain manifests.
package.json Bumps @requestnetwork/smart-contracts from stable 0.49.0 to pre-release 0.51.1-next.2d9d2486.0, skipping two minor versions; affects all chains sharing this dependency.
yarn.lock Lockfile regenerated to reflect updated smart-contracts dependency; contains duplicate stanza keys that signal an unclean regeneration.
.github/workflows/deploy.yaml Adds boba to the deploy matrix; straightforward and consistent with all other chain entries.
cli/networks.json Appends boba to the networks array; correct trailing-comma fix included.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[GitHub Actions Deploy Matrix] --> B{chain = boba}
    B --> C[Build subgraph.boba.yaml]
    C --> D[Deploy to The Graph Studio\nrequest-payments-boba]

    C --> S1[ERC20Proxy\n0x5079...bd72\nstartBlock: 32880247]
    C --> S2[ERC20FeeProxy_0_2_0\n0x8881...BeE7\nstartBlock: 32880250]
    C --> S3[EthProxy_0_3_0\n0xba25...fBA\nstartBlock: 32880244]
    C --> S4[EthFeeProxy_0_2_0\n0xe456...6eF\nstartBlock: 32880246]

    S1 -->|TransferWithReference| H1[handleTransferWithReference]
    S2 -->|TransferWithReferenceAndFee| H2[handleTransferWithReferenceAndFee]
    S3 -->|TransferWithReference| H3[handleTransferWithReference]
    S4 -->|TransferWithReferenceAndFee| H4[handleTransferWithReferenceAndFee]
Loading

Reviews (2): Last reviewed commit: "fix: rebuild yarn.lock file" | Re-trigger Greptile

Comment thread yarn.lock Outdated
Comment thread package.json
Comment thread subgraph.boba.yaml
@LeoSlrRf LeoSlrRf merged commit c176246 into main May 29, 2026
@LeoSlrRf LeoSlrRf deleted the feat/boba branch May 29, 2026 10:24
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.

2 participants