From 09a36c514ccdcb91b064241347be94398114ed20 Mon Sep 17 00:00:00 2001 From: Toby Kreiselmaier Date: Wed, 1 Jun 2022 17:16:24 -0400 Subject: [PATCH] Rinkeby config --- src/mappings/config.ts | 6 ++++-- subgraph.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/mappings/config.ts b/src/mappings/config.ts index 2a2507c..2cf0411 100644 --- a/src/mappings/config.ts +++ b/src/mappings/config.ts @@ -4,12 +4,14 @@ export const DEFAULT_ADMIN_ROLE = '0x1effbbff9c66c5e59634f24fe842750c60d18891155c32dd155fc2d661a4c86d' // bytes32(keccak256(DEFAULT_ADMIN_ROLE)) export const RELAYER_ROLE = '0xe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4' // bytes32(keccak256(RELAYER_ROLE)) -/* Rinkeby +/* Rinkeby */ export const CHAIN_ID = 4 export const BRIDGE = '0x638285e837db7124ff0947251c6f20ceeb2645df' -/* Kovan */ +/* Kovan export const CHAIN_ID = 42 export const BRIDGE = '0x638285e837db7124ff0947251c6f20ceeb2645df' + +*/ diff --git a/subgraph.yaml b/subgraph.yaml index bf9ed02..8793793 100644 --- a/subgraph.yaml +++ b/subgraph.yaml @@ -1,16 +1,16 @@ specVersion: 0.0.4 -description: The Moonbase Alpha Bridge subgraph indexes all activity related to GMI Farming on Kovan +description: The Moonbase Alpha Bridge subgraph indexes all activity related to GMI Farming on Rinkeby repository: https://github.com/TobyKreiselmaier/Moonbase-Alpha-Bridge-Subgraph schema: file: ./schema.graphql dataSources: - kind: ethereum/contract name: Bridge - network: kovan + network: rinkeby source: - address: '0x638285e837db7124ff0947251c6f20ceeb2645df' # MoonbeamBridge on Kovan + address: '0x638285e837db7124ff0947251c6f20ceeb2645df' # MoonbeamBridge on Rinkeby abi: Bridge - startBlock: 25101423 # contract creation + startBlock: 8660132 # contract creation mapping: kind: ethereum/events apiVersion: 0.0.6