-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using the clientId and activeChain instead the desiredChainId #74
base: master
Are you sure you want to change the base?
Conversation
Thanks for the help, king! |
But I'm still getting errors that goerli is not supported on chains |
Yes, Goerli was deprecated for test networks in 2023. I switched to Sepolia and altered the activeChain of main.jsx file accordingly to "sepolia" |
Can you give me the code because I tried every single thing but I'm still getting that error |
I'm unable to do so, as I don't have the write access. You can refer what @alisonborba has done and enter sepolia instead with your personal Thirdweb clientId |
@alisonborba help me man I did not get any solutions after doing this activeChain and chainId I still getting this Could not fetch bytecode for contract at error |
|
I was getting an error to fetch the contract:
And consequently got the error on creating a campaign:
error TypeError: Cannot read properties of undefined (reading 'call')
.This merge request solves the problem using the
activeChain
andclientId
(got at https://thirdweb.com/dashboard/settings) instead of thedesiredChainId
on .