henkaku-center / mono-auction-interface

https://mono-auction-interface.vercel.app
6 stars 4 forks source link

feat: thirdweb in useAuctionDeposit and useCommunityToken #36

Closed yawn-c111 closed 1 year ago

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mono-auction-interface ❌ Failed (Inspect) Sep 6, 2023 1:18pm
yawn-c111 commented 1 year ago

ホームを表示している時にコンソールに出る以下のエラーを調べてます。

Error: Could not resolve contract. Try importing it by visiting: https://thirdweb.com/137/0xEE5218a2DB884D7fF6579c1cf1AcDEC98e5ECc7a
    at fetchContractMetadataFromAddress (webpack-internal:///(:3000/app-pages-browser)/./node_modules/@thirdweb-dev/sdk/dist/contract-publisher-f8af509d.browser.esm.js:5297:11)

追記:こちらのエラーは解決しました。

yawn-c111 commented 1 year ago

残りのエラー マイページからホームに戻ると発生する。

app-index.js:31 Error: invalid address or ENS name (argument="name", value=["0xEef377Bdf67A227a744e386231fB3f264C158CDF"], code=INVALID_ARGUMENT, version=contracts/5.7.0)
    at Logger.makeError (webpack-internal:///(:3000/app-pages-browser)/./node_modules/@ethersproject/logger/lib.esm/index.js:231:23)
    at Logger.throwError (webpack-internal:///(:3000/app-pages-browser)/./node_modules/@ethersproject/logger/lib.esm/index.js:240:20)
    at Logger.throwArgumentError (webpack-internal:///(:3000/app-pages-browser)/./node_modules/@ethersproject/logger/lib.esm/index.js:243:21)
    at eval (webpack-internal:///(:3000/app-pages-browser)/./node_modules/@ethersproject/contracts/lib.esm/index.js:53:20)
    at Generator.next (<anonymous>)
    at fulfilled (webpack-internal:///(:3000/app-pages-browser)/./node_modules/@ethersproject/contracts/lib.esm/index.js:22:58)

こちら別箇所のエラーかもと考えています。 後ほどまとめて修正する形でもいいでしょうか?