Skip to content

Commit

Permalink
fix: fix build (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 authored Mar 21, 2024
1 parent 62620ae commit fefdf91
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/restapi/src/lib/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Constants from './constants';
import Constants, { ENV } from './constants';
import { coreABI } from './abis/core';
import { commABI } from './abis/comm';
import { tokenABI } from './abis/token';
Expand All @@ -19,7 +19,6 @@ import {
fuseSparknet,
} from 'viem/chains';
import { defineChain } from 'viem';
const { ENV } = Constants;

const berachainTestnet = defineChain({
id: 80085,
Expand Down Expand Up @@ -88,7 +87,9 @@ export const ETH_CHAIN_ID = {
[ENV.DEV]: 11155111,
[ENV.LOCAL]: 11155111,
};
export const ALIAS_CHAIN_ID = {
export const ALIAS_CHAIN_ID: {
[key: string]: { [key in ENV]: number };
} = {
POLYGON: {
[ENV.PROD]: 137,
[ENV.STAGING]: 80001,
Expand Down Expand Up @@ -126,6 +127,7 @@ export const ALIAS_CHAIN_ID = {
[ENV.LOCAL]: 123,
},
BERACHAIN: {
[ENV.PROD]: 0, // TODO: update this
[ENV.STAGING]: 80085,
[ENV.DEV]: 80085,
[ENV.LOCAL]: 80085,
Expand Down

0 comments on commit fefdf91

Please sign in to comment.