with hardhat?
Yes, you need to specify the linked library artifact in your test framework deployment statement. The syntax varies by framework, I’ve only used hardhat but there is documentation available about deploying contracts in tests with libraries
i found many examples with truffle and .link method, but with hardhat https://hardhat.org/plugins/nomiclabs-hardhat-ethers.html#library-linking this way didn’t work for me, and some of key:value examples to specify it too. so i’m a little bit confusion with this.
Обсуждают сегодня