-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error while calling contract function #6075
Comments
It looks like the root cause is that, in your Hardhat environment, the address you’re passing ( To fix this in Hardhat, you can deploy a quick mock (or your actual proxy contract) that includes the const MockProxy = await ethers.getContractFactory("MockProxy");
const mockProxy = await MockProxy.deploy();
await mockProxy.waitForDeployment();
await ceroSharedSequence.setProxyContractAddress(await mockProxy.getAddress()); |
I'm using Diamond Proxy Pattern and I've not deploy the proxy contract using remix. I've used same address |
I would let other community members to provide a solution for your case @anurag-iitk . |
Version of Hardhat
2.22.17
What happened?
This is smart contract
And this is my test script
Minimal reproduction steps
While running the testcase got this issue
The text was updated successfully, but these errors were encountered: