Skip to content

add unichain support#76

Merged
YouStillAlive merged 1 commit intomulti-chainfrom
unichain
Jul 10, 2025
Merged

add unichain support#76
YouStillAlive merged 1 commit intomulti-chainfrom
unichain

Conversation

@YouStillAlive
Copy link
Member

closes #69

@YouStillAlive YouStillAlive requested a review from Copilot July 10, 2025 11:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for the Unichain network to the subgraph project by implementing build and deployment configurations. The addition enables the project to deploy subgraphs to Unichain alongside the existing Matic and Base networks.

  • Adds Unichain network configuration with contract addresses and deployment scripts
  • Updates CI/CD workflow to support Unichain deployments with proper authentication
  • Includes comprehensive contract mapping for all provider types on the Unichain network

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
package.json Adds build and deploy scripts for Unichain network and updates existing deploy script names
networks.json Defines Unichain network configuration with contract addresses and start blocks for all providers
.github/workflows/deploy-subgraph.yml Extends CI workflow to include Unichain as a deployment option with authentication setup

"startBlock": 21298110
},
"CollateralProvider": {
"address": "0x0000000000000000000000000000000000000000",
Copy link

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Multiple providers use the zero address (0x0000000000000000000000000000000000000000) which typically indicates undeployed or placeholder contracts. Consider adding comments to clarify whether these are intentionally disabled or awaiting deployment.

Copilot uses AI. Check for mistakes.
@YouStillAlive YouStillAlive merged commit ba858ba into multi-chain Jul 10, 2025
1 check passed
@YouStillAlive YouStillAlive deleted the unichain branch July 10, 2025 11:49
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