Skip to content

ThirdwebProvider doesn't support passing Base Goerli chainId or slug #1082

Closed
@taycaldwell

Description

@taycaldwell

Hello,

I tried modifying the thirdweb NFT Gallery template to use a NFT collection on Base Goerli.
During this process, I set the activeChain of the ThirdwebProvider to be base-goerli, but got the following error:

Error: Invalid chain: "base-goerli". It is not one of supportedChains

I also get a similar error when providing the chainId 84531.

However, importing and using BaseGoerli directly from @thirdweb-dev/chains works as expected.

import { BaseGoerli } from "@thirdweb-dev/chains";


Expected behavior: Base Goerli is detected as a supportedChain, even when only providing the slug or chainId to the ThirdwebProvider, as works with other supported chains.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions