Skip to content

chore(billing): import billing-contracts into the monorepo - #1405

Merged
Maikol merged 2 commits into
chore/contracts-removal-phase-0from
feat/billing-import
Nov 6, 2026
Merged

Maikol merged 2 commits into
chore/contracts-removal-phase-0from
feat/billing-import

Conversation

@Maikol

@Maikol Maikol commented Nov 6, 2026

Copy link
Copy Markdown
Member

Imports graphprotocol/billing-contracts at 8b063db as the private package @graphprotocol/billing, with the contracts unchanged and their bytecode added to check:bytecode, so the billing contracts are part of this audit. The first commit is the original code (minus its repo-level config and the package's own lint-staged block, plus root lint exclusions so hooks never reformat it) and doesn't install on its own; the second only changes package.json, swaps yarn for pnpm in scripts/, and wires the package into CI.

The 6 contracts' bytecode matches the original build, Billing, BanxaWrapper and BillingConnector match what's deployed on Arbitrum One and mainnet apart from immutables, and the suite passes the original's 95 tests. Adding the package bumps some shared indirect dependencies in the lockfile, such as @types/node 20.19.41 and lodash 4.18.1, and Hardhat resolves to 2.28.6 within the original ^2.10.1 range. ops:pull-all still defaults to the retired hosted-service subgraph URL, and the tasks need --network ganache rather than localhost against a local node, as in the original.

@Maikol
Maikol force-pushed the feat/billing-import branch from 633530e to 9667c7c Compare November 6, 2026 20:45
@Maikol
Maikol merged commit 9667c7c into chore/contracts-removal-phase-0 Nov 6, 2026
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