Repository navigation
feat: arc subgraph - #10
Closed
0xtekgrinder wants to merge 4 commits into
Closed
0xtekgrinder wants to merge 4 commits into
0xtekgrinder wants to merge 4 commits into
Conversation
|
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.
0xtekgrinder
force-pushed
the
feat/arc-subgraph
branch
from
November 3, 2026 15:37
1c75c64 to
17a8994
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.