Conversation
Greptile SummaryThis PR adds Boba network support to the payments subgraph by introducing
Confidence Score: 2/5The yarn.lock is malformed with duplicate tslib@2.8.1 stanzas and a smart-contracts dependency block that lists the same keys twice; this could break CI installs or cause non-deterministic resolution across environments. The lockfile corruption means yarn install may behave differently across machines or fail outright. Additionally, the core shared dependency @requestnetwork/smart-contracts was bumped to a pre-release next build spanning two minor versions — this affects every chain in the subgraph, not just Boba. yarn.lock and package.json need attention: the lockfile should be regenerated cleanly after resolving whether a stable version of @requestnetwork/smart-contracts can be used instead of the next pre-release. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Push to main] --> B[deploy-thegraph-studio matrix]
B --> D[boba chain job]
D --> E[checkout + deploy action]
E --> F[graph-cli codegen + build]
F --> G[graph deploy to Subgraph Studio]
subgraph BobaSubgraph["subgraph.boba.yaml"]
I["ERC20Proxy 0x5079...d72"]
J["ERC20FeeProxy_0_2_0 0x8881...eE7"]
K["EthProxy_0_3_0 0xba25...fBA"]
L["EthFeeProxy_0_2_0 0xe456...eF"]
end
G --> BobaSubgraph
|
| dependencies: | ||
| commerce-payments "git+https://github.com/base/commerce-payments.git#v1.0.0" | ||
| tslib "2.8.1" | ||
| commerce-payments "git+https://github.com/base/commerce-payments.git#v1.0.0" | ||
| tslib "2.8.1" |
There was a problem hiding this comment.
Duplicate dependency keys in smart-contracts lock stanza
The generated entry for @requestnetwork/smart-contracts@0.51.1-next.2d9d2486.0 lists both commerce-payments and tslib twice under dependencies. Duplicate keys in a YAML mapping are technically invalid; most parsers apply last-wins semantics, but it signals the lockfile was not generated cleanly and may trip stricter tooling. Regenerating the lockfile after a clean install should eliminate these.
| "@graphprotocol/graph-cli": "^0.81.0", | ||
| "@graphprotocol/graph-ts": "^0.35.1", | ||
| "@requestnetwork/smart-contracts": "0.49.0", | ||
| "@requestnetwork/smart-contracts": "0.51.1-next.2d9d2486.0", |
There was a problem hiding this comment.
Pre-release
next package pinned as production dependency
@requestnetwork/smart-contracts is being bumped from the stable 0.49.0 to 0.51.1-next.2d9d2486.0, a pre-release nightly build that skips roughly two minor versions. Pre-release packages on the next dist-tag may include breaking changes, incomplete ABIs, or be unpublished/yanked at any time. If the Boba contract addresses are now available in a stable release (or will be shortly), pinning to that instead reduces risk for all chains that share this dependency.
| handler: handleTransferWithReferenceAndFee | ||
| receipt: true | ||
| file: ./src/ethFeeProxy.ts | ||
|
No newline at end of file |
Description
Add payment subgraph for Boba