@@ -198,80 +198,4 @@ contract DeploymentsGasLimits is BatchTestProcedures {
198198 address (aaveV3SetupOne)
199199 );
200200 }
201-
202- function testCheckInitCodeSizeBatchs () public pure {
203- uint16 maxInitCodeSize = 49152 ;
204-
205- console.log ('AaveV3SetupBatch ' , type (AaveV3SetupBatch).creationCode.length );
206- console.log ('AaveV3L2PoolBatch ' , type (AaveV3L2PoolBatch).creationCode.length );
207- console.log ('AaveV3PoolBatch ' , type (AaveV3PoolBatch).creationCode.length );
208- console.log ('AaveV3PeripheryBatch ' , type (AaveV3PeripheryBatch).creationCode.length );
209- console.log ('AaveV3MiscBatch ' , type (AaveV3MiscBatch).creationCode.length );
210- console.log ('AaveV3ParaswapBatch ' , type (AaveV3ParaswapBatch).creationCode.length );
211- console.log ('AaveV3GettersBatchOne ' , type (AaveV3GettersBatchOne).creationCode.length );
212- console.log ('AaveV3GettersBatchTwo ' , type (AaveV3GettersBatchTwo).creationCode.length );
213- console.log ('AaveV3TokensBatch ' , type (AaveV3TokensBatch).creationCode.length );
214- console.log ('AaveV3HelpersBatchOne ' , type (AaveV3HelpersBatchOne).creationCode.length );
215- console.log ('AaveV3HelpersBatchTwo ' , type (AaveV3HelpersBatchTwo).creationCode.length );
216- console.log (
217- 'AaveV3PeripheryBatchTreasuryPartner ' ,
218- type (AaveV3PeripheryBatch).creationCode.length
219- );
220-
221- assertLe (
222- type (AaveV3SetupBatch).creationCode.length ,
223- maxInitCodeSize,
224- 'AaveV3SetupBatch max init code size '
225- );
226- assertLe (
227- type (AaveV3L2PoolBatch).creationCode.length ,
228- maxInitCodeSize,
229- 'AaveV3L2PoolBatch max init code size '
230- );
231- assertLe (
232- type (AaveV3PoolBatch).creationCode.length ,
233- maxInitCodeSize,
234- 'AaveV3PoolBatch max init code size '
235- );
236- assertLe (
237- type (AaveV3PeripheryBatch).creationCode.length ,
238- maxInitCodeSize,
239- 'AaveV3PeripheryBatch max init code size '
240- );
241- assertLe (
242- type (AaveV3MiscBatch).creationCode.length ,
243- maxInitCodeSize,
244- 'AaveV3MiscBatch max init code size '
245- );
246- assertLe (
247- type (AaveV3ParaswapBatch).creationCode.length ,
248- maxInitCodeSize,
249- 'AaveV3ParaswapBatch max init code size '
250- );
251- assertLe (
252- type (AaveV3GettersBatchOne).creationCode.length ,
253- maxInitCodeSize,
254- 'AaveV3GettersBatchOne max init code size '
255- );
256- assertLe (
257- type (AaveV3GettersBatchTwo).creationCode.length ,
258- maxInitCodeSize,
259- 'AaveV3GettersBatchTwo max init code size '
260- );
261- assertLe (
262- type (AaveV3TokensBatch).creationCode.length ,
263- maxInitCodeSize,
264- 'AaveV3TokensBatch max init code size '
265- );
266- assertLe (
267- type (AaveV3HelpersBatchOne).creationCode.length ,
268- maxInitCodeSize,
269- 'AaveV3HelpersBatchOne max init code size '
270- );
271- assertLe (
272- type (AaveV3HelpersBatchTwo).creationCode.length ,
273- maxInitCodeSize,
274- 'AaveV3HelpersBatchTwo max init code size '
275- );
276- }
277201}
0 commit comments