Skip to content

Commit

Permalink
Merge pull request #449 from ourzora/add-server-config
Browse files Browse the repository at this point in the history
Add wagmi server config
  • Loading branch information
neokry authored Mar 12, 2024
2 parents a2d97a8 + 8e2d398 commit ff82f24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/pages/api/migrate/attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { NextApiRequest, NextApiResponse } from 'next'
import { Address } from 'viem'

import { getMetadataAttributes } from 'src/data/contract/requests/getMetadataAttributes'
import 'src/data/contract/server.config'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
try {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/pages/api/migrate/snapshot.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { NextApiRequest, NextApiResponse } from 'next'
import { Address } from 'viem'

import 'src/data/contract/server.config'
import { memberSnapshotRequest } from 'src/data/subgraph/requests/memberSnapshot'

const handler = async (req: NextApiRequest, res: NextApiResponse) => {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/pages/api/migrated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { readContract } from 'wagmi/actions'
import { L2_MIGRATION_DEPLOYER, NULL_ADDRESS } from 'src/constants/addresses'
import { L2DeployerABI } from 'src/data/contract/abis/L2MigrationDeployer'
import { L2_CHAINS } from 'src/data/contract/chains'
import 'src/data/contract/server.config'
import { AddressType, CHAIN_ID } from 'src/typings'
import { unpackOptionalArray } from 'src/utils/helpers'

Expand Down

0 comments on commit ff82f24

Please sign in to comment.