Hardhat Version #12
Jsoooooooo
started this conversation in
General
Replies: 5 comments 1 reply
-
The original code was tested and deployed using Hardhat: For the book, I chose Foundry deliberately since it's faster, easier to setup and use, and it allows to write tests in Solidity. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Again, thanks a lot for the fantastic book.
Kind regards,
… 在 2022年10月8日,16:42,Ivan Kuznetsov ***@***.***> 写道:
The original code was tested and deployed using Hardhat:
https://github.com/Uniswap/v3-core
For the book, I chose Foundry deliberately since it's faster, easier to setup and use, and it allows to write tests in Solidity.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Dear Ivan,
I am an amateur web3 developer. Since there are many parameters while deploying the v3 Book contracts, I am a bit confused while deploying by hardhat. Could you please provide a hardhat version of V3 book deployment?
Many thanks,
David
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello,
Sorry to bother you again. I stuck with deploying the Pool contract with hardhat for couple of days, and met an error term “ function call to a non-contract account”.
I think the solidity code origin that occurs the error is listed as below, while I didn’t find any answers on how to pass parameters while deploying.
Here is my deploy script:
Could you please teach me on how to solve the problem?
Many thanks,
… 2022年10月8日 16:42,Ivan Kuznetsov ***@***.***> 写道
The original code was tested and deployed using Hardhat:
https://github.com/Uniswap/v3-core <https://github.com/Uniswap/v3-core>
For the book, I chose Foundry deliberately since it's faster, easier to setup and use, and it allows to write tests in Solidity.
—
Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AY6HZTER2QPVXL3DQK64WZLWCEXWJANCNFSM6AAAAAARACFNIM>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks a lot.
Many thanks.
… 在 2022年10月12日,20:36,Ivan Kuznetsov ***@***.***> 写道:
The script doesn't show up. Save it to a gist and paste the link here.
“function call to a non-contract account” most likely means that you're trying to call a function on an address that doesn't have a contract deployed at. Probably, you're trying to call a contract on a wrong address.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
thanks for the fantastic version of this book. I am not sure wether it is possible to provide with a hardhat version of deploy and test or not ?
thanks,
Beta Was this translation helpful? Give feedback.
All reactions