Replies: 2 comments 1 reply
-
Have you solved this issue? I have the same problem and i don't find any solution. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes it worked, actually the issue was mainly due to node versions, I would
recommend you to follow the instructions step by step as in the link
attached, it would fix the error, also make sure to use node version above
16.
Regards
…On Tue, 9 Aug 2022, 21:42 eerjuano, ***@***.***> wrote:
Have you solved this issue? I have the same problem and i don't find any
solution.
—
Reply to this email directly, view it on GitHub
<#1058 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYLZZ6ZZF5F356WZ5UHNO33VYKDBBANCNFSM53ZZ2LQQ>
.
You are receiving this because you authored the thread.Message ID:
<smartcontractkit/full-blockchain-solidity-course-js/repo-discussions/1058/comments/3359693
@github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am having an error while working on hardhat and ether.js.
I am trying to deploy and interact with smart contract using hardhat and ether.js. my contract is very basic with 2 functions .
I am successfully able to deploy my smart contract on live testnet with infura. After this I am tying to interact with my smart contract using node console
npx hardhat console
after attachment to my contract I am succesfully able to interact and perform store function using
and it successfully run and give me the result.
but the problem comes with the call functions only whenever I am trying to call my functions such as retrieve in this case it always throw an error such as below
Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ]
I have attached complete code files and error details below
also i have tried to resolve many times and gone through all the things multiple times and unable to crack
contractA.sol
I am using infura rinkeby testnet to deploy and interact on live testnet using metamask wallet
my deploy.js file is as :
my hardhat-config.js file is ;
the error shows whenever I am trying to call functions such as in this case retrieve function
my code ;
await lock.retrieve();
and error throws is** :
Kindly help me out:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions