All Questions
Tagged with compilation hardhat-deploy
5 questions
2
votes
2
answers
1k
views
How to compile contracts independently with Hardhat?
I'm facing the following error, when compiling my contracts in Hardhat:
Warning: Contract code size exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on ...
2
votes
0
answers
256
views
Compilation error in deploying a contract on zksync, using deploy zksync
I'm trying to compile the code but I keep getting an error. Here is the hardhat.config.ts code:
import "@matterlabs/hardhat-zksync-deploy";
import "@matterlabs/hardhat-zksync-solc";...
0
votes
1
answer
28
views
The Solidity version pragma statement in these files doesn't match any of the configured compilers in your config. hardhat-deployment
in trying to compile a contract i keep getting this error:
The Solidity version pragma statement in these files doesn't match any of the configured compilers in your config. Change the pragma or ...
0
votes
1
answer
46
views
Facing Issue with test files in Hardhat
I am trying to build a Dapp with hardhat installed in my vs Code my smart contracts parts are over and it gets compiled but I am facing a problem with test files I don't know why they are not getting ...
0
votes
4
answers
525
views
Contract is below size limit, but Hardhat says it's not?
When I run npx hardhat compile, Hardhat says one of my contracts is above the size limit.
But hardhat-contract-sizer says it's not.
See below:
Versions:
hardhat-contract-sizer version: ^2.5.1
...