You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a contract, whose size exceeds 24KB unoptimized, but when it's optimized, it's down to 15KB.
But, I cannot deploy this contract on my echidna test contract, and it reverts with error MaxCodeSizeExceeded 0x6000 0x63f2 error. Is there a workaround for this?
Code example to reproduce the issue:
contractEchidnaTest{constructor(){ContractAa=newContractA();ContractAb=newContractB();// size limit when unoptimized}}
Version:
Echidna 2.2.2
Relevant log output:
echidna: Deploying the contract 0x00a329c0648769A73afAc7F9381E08FB43dBEA72 failed (revert, out-of-gas, sending ether to an non-payable constructor, etc.):
OwnershipTransferred() from: 0xb4c79dab8f259c7aee6e5b2aa729821864227e84
OwnershipTransferred() from: 0x62d69f6867a0a084c6d313943dc22023bc263691
error MaxCodeSizeExceeded 0x6000 0x63f2
The text was updated successfully, but these errors were encountered:
Describe the issue:
I have a contract, whose size exceeds 24KB unoptimized, but when it's optimized, it's down to 15KB.
But, I cannot deploy this contract on my echidna test contract, and it reverts with
error MaxCodeSizeExceeded 0x6000 0x63f2
error. Is there a workaround for this?Code example to reproduce the issue:
Version:
Echidna 2.2.2
Relevant log output:
The text was updated successfully, but these errors were encountered: