Skip to content

Commit

Permalink
Merge branch 'emerald-fi:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kamescg authored Mar 29, 2024
2 parents 786404e + fc6d5b8 commit f1b7204
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 1 addition & 4 deletions apps/website/components/form-create-l2-erc721.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ export const FormCreateL2ERC721 = ({
const { appMode } = useAppMode()

const l1Chain = l1NetworkOptions[appMode]
const l2Chain = useMemo(
() => l2NetworksOptions[appMode][Number(watchL2ChainId)]!,
[form.watch("l2ChainId"), appMode]
)
const l2Chain = l2NetworksOptions[appMode][Number(watchL2ChainId)]

const formItems: {
label: string
Expand Down
5 changes: 0 additions & 5 deletions packages/token-list/src/config/wagmi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ import * as dotenv from "dotenv";

dotenv.config();

if (!process.env.MAINNET_RPC_URL) throw new Error("MAINNET_RPC_URL is not set");
if (!process.env.BASE_RPC_URL) throw new Error("BASE_RPC_URL is not set");
if (!process.env.OPTIMISM_RPC_URL)
throw new Error("OPTIMISM_RPC_URL is not set");

export const l1ChainIds = [mainnet.id] as number[];
export const l1ChainIdsTestnet = [sepolia.id] as number[];

Expand Down

0 comments on commit f1b7204

Please sign in to comment.