Skip to content

Commit

Permalink
fix: use L1 address as constant
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoPittella committed May 30, 2024
1 parent 7be7144 commit eb1d458
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/api/src/common/constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const BASE_TOKEN_L2_ADDRESS = "0x000000000000000000000000000000000000800A";
export const BASE_TOKEN_L1_ADDRESS = "0x0000000000000000000000000000000000000001";
4 changes: 2 additions & 2 deletions packages/api/src/config/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TypeOrmModuleOptions } from "@nestjs/typeorm";
import * as featureFlags from "./featureFlags";
import { BASE_TOKEN_L2_ADDRESS } from "../common/constants";
import { BASE_TOKEN_L1_ADDRESS, BASE_TOKEN_L2_ADDRESS } from "../common/constants";
type BaseToken = {
symbol: string;
decimals: number;
Expand All @@ -13,7 +13,7 @@ type BaseToken = {
};
const defaultEthBaseToken: BaseToken = {
l2Address: BASE_TOKEN_L2_ADDRESS,
l1Address: "0x0000000000000000000000000000000000000001",
l1Address: BASE_TOKEN_L1_ADDRESS,
symbol: "ETH",
name: "Ether",
decimals: 18,
Expand Down

0 comments on commit eb1d458

Please sign in to comment.