Skip to content

Commit

Permalink
fix(devnet): subgraph deployments arbSep->Sep
Browse files Browse the repository at this point in the history
  • Loading branch information
Mani Brar authored and Mani Brar committed Aug 9, 2024
1 parent 55541e3 commit 258cb11
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion veascan-subgraph-inbox/src/VeaInbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
SnapshotSaved,
SnapshotSent,
VeaInbox,
} from "../generated/VeaInboxArbToGnosis/VeaInbox";
} from "../generated/VeaInbox/VeaInbox";

export function handleMessageSent(event: MessageSent): void {
const snapshot = getCurrentSnapshot();
Expand Down
4 changes: 2 additions & 2 deletions veascan-subgraph-inbox/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ dataSources:
name: VeaInbox
network: arbitrum-sepolia
source:
address: "0x77e95F54032f467eC45c48C6affc203f93858783"
address: "0x0B5851fE2a931F619F73E739E5435C43976f1D68"
abi: VeaInbox
startBlock: 18210847
startBlock: 69673433
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down
4 changes: 2 additions & 2 deletions veascan-subgraph-outbox/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ dataSources:
name: VeaOutbox
network: sepolia
source:
address: "0x5AD255400913515C8DA7E82E6b8A109fA5c46135"
address: "0xb8BF3B6bd3E1a0Cc9E2dB77dd492503310514674"
abi: VeaOutbox
startBlock: 5379614
startBlock: 6458841
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down
30 changes: 15 additions & 15 deletions veascan-web/src/consts/bridges.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import VeaInboxArbitrumSepolia from "@kleros/vea-contracts/deployments/arbitrumSepolia/VeaInboxArbToEthDevnet.json";
import VeaOutboxSepolia from "@kleros/vea-contracts/deployments/sepolia/VeaOutboxArbToEthDevnet.json";
import VeaInboxArbitrumSepoliaChiado from "@kleros/vea-contracts/deployments/arbitrumSepolia/VeaInboxArbToGnosisDevnet.json";
import VeaOutboxArbitrumSepoliaChiado from "@kleros/vea-contracts/deployments/chiado/VeaOutboxArbToGnosisDevnet.json";
// import VeaInboxArbitrumSepoliaChiado from "@kleros/vea-contracts/deployments/arbitrumSepolia/VeaInboxArbToGnosisDevnet.json";
// import VeaOutboxArbitrumSepoliaChiado from "@kleros/vea-contracts/deployments/chiado/VeaOutboxArbToGnosisDevnet.json";
import {
Chain,
arbitrumSepolia,
Expand Down Expand Up @@ -42,22 +42,22 @@ export const bridges: IBridge[] = [
to: sepolia.id,
inboxAddress: VeaInboxArbitrumSepolia.address as `0x${string}`,
inboxEndpoint:
"https://api.studio.thegraph.com/query/67213/veascan-inbox-arb-sep-devnet/version/latest",
"https://api.studio.thegraph.com/query/85918/veascan-inbox-arb-sep-devnet/v0.8.0",
outboxAddress: VeaOutboxSepolia.address as `0x${string}`,
outboxEndpoint:
"https://api.studio.thegraph.com/query/67213/veascan-outbox-arb-sep-devnet/version/latest",
},
{
id: 1,
from: arbitrumSepolia.id,
to: gnosisChiado.id,
inboxAddress: VeaInboxArbitrumSepoliaChiado.address as `0x${string}`,
inboxEndpoint:
"https://api.studio.thegraph.com/query/67213/veascan-inbox-arb-sep-chiado-devnet/version/latest",
outboxAddress: VeaOutboxArbitrumSepoliaChiado.address as `0x${string}`,
outboxEndpoint:
"https://api.studio.thegraph.com/query/67213/veascan-outbox-arb-chiado-devnet/version/latest",
"https://api.studio.thegraph.com/query/85918/veascan-outbox-arb-sep-devnet/v0.8.0",
},
// {
// id: 1,
// from: arbitrumSepolia.id,
// to: gnosisChiado.id,
// inboxAddress: VeaInboxArbitrumSepoliaChiado.address as `0x${string}`,
// inboxEndpoint:
// "https://api.studio.thegraph.com/query/67213/veascan-inbox-arb-sep-chiado-devnet/version/latest",
// outboxAddress: VeaOutboxArbitrumSepoliaChiado.address as `0x${string}`,
// outboxEndpoint:
// "https://api.studio.thegraph.com/query/67213/veascan-outbox-arb-chiado-devnet/version/latest",
// },
];

export const getBridge = (id: number): IBridge =>
Expand Down

0 comments on commit 258cb11

Please sign in to comment.