Created
May 24, 2023 13:23
-
-
Save LCamel/4d5b85055f40411c5425d36e2894aa7d to your computer and use it in GitHub Desktop.
upgrade poseidon-solidity from 0.0.4 to 0.0.5 will solve this problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% yarn workspace hashtower.sol test | |
Warning: Contract code size exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries. | |
--> poseidon-solidity/PoseidonT3.sol:4:1: | |
| | |
4 | library PoseidonT3 { | |
| ^ (Relevant source part starts here and spans across multiple lines). | |
Compiled 3 Solidity files successfully | |
HashTowerHashChainTest | |
1) "before all" hook for "Should produce correct count, digests and digest of digests" | |
0 passing (4s) | |
1 failing | |
1) HashTowerHashChainTest | |
"before all" hook for "Should produce correct count, digests and digest of digests": | |
Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="Transaction reverted: trying to deploy a contract whose code is too large", method="estimateGas", transaction={"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","data":"0x61600762000054600b82828239805160001a607314610047577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment