Skip to content

feat: arc subgraph - #10

Closed
0xtekgrinder wants to merge 4 commits into
zodiaceco:mainfrom
kilnfi:feat/arc-subgraph
Closed

0xtekgrinder wants to merge 4 commits into
zodiaceco:mainfrom
kilnfi:feat/arc-subgraph

Conversation

@0xtekgrinder

Copy link
Copy Markdown

No description provided.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Bring back packages/subgraph as it was before eea5e09 ("remove legacy
subgraph code") so it can be deployed on Kiln's graph-node.

The only change from that version is the Periphery ABI path: the
contract file is _Periphery.sol, so the manifest pointed at an artifact
that does not exist and the subgraph did not build.
Kiln deploys subgraphs from nakamoto's services/subgraphs config, whose
pipeline checks out only this package, runs npm install, then
graph codegen and graph deploy on a given manifest. Adapt the package
to that:

- networks/arc.json: Arc mainnet (network "arc"), starting at block
  19767679, where the Roles mastercopy was deployed
- subgraph.arc.yaml: commit the generated manifest, since the pipeline
  does not run the mustache templating
- abis/: commit the four ABIs the manifest uses instead of a symlink
  into packages/evm/build, which the pipeline never builds
- rename the "prepare" script to "codegen": npm runs "prepare" during
  npm install, and it calls yarn, which the pipeline does not have

Poster is not deployed on Arc, so annotations are not indexed there.
Katana (network "katana") starts at block 6737452, where the Roles
mastercopy 0x9646fDAD06d3e24444381f44362a3B0eB343D337 was deployed. The
newer mastercopy 0xF2964CE6161ce0e75964Fe7927cE114cb0B283D5 came later,
at block 34537900, and emits the same events, so both are covered.

Poster is not deployed on Katana, so annotations are not indexed there.
Index from the deployment of the Roles mastercopy
0xF2964CE6161ce0e75964Fe7927cE114cb0B283D5 on each chain:

- Arc: block 24782544 (was 19767679)
- Katana: block 34537900 (was 6737452)

Mods set up before these blocks from the older mastercopy
0x9646fDAD06d3e24444381f44362a3B0eB343D337 are no longer indexed. Mods
set up after them are indexed whatever their mastercopy.
@0xtekgrinder
0xtekgrinder deleted the feat/arc-subgraph branch November 4, 2026 09:27
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