cartesi / rollups

Cartesi Rollups
30 stars 12 forks source link

Allow large contracts on local networks #4

Open juztamau5 opened 1 year ago

juztamau5 commented 1 year ago

Description

After merging https://github.com/Ultrachess/contracts/pull/1 I noticed that deployment was failing when running against this repo. The problem is that some of the DeFi dependencies, in particular Uniswap V3, have large contracts that require allowUnlimitedContractSize set to true.

How has this been tested?

Before, attempting to deploy the DeFi contracts gave the error:

Error: Transaction reverted: trying to deploy a contract whose code is too large

After, contracts deploy successfully.