File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,21 +113,6 @@ contract('Estimate gas usage', (accounts: string[]) => {
113113 expect ( estimated + txBaseCost ( factoryData ) ) . to . approximately ( realTxReceipt . gasUsed . toNumber ( ) , 100_000 )
114114 } )
115115
116- it . only ( 'Should estimate without signature' , async ( ) => {
117- const gasEstimator = await new MainModuleGasEstimation__factory ( ) . connect ( signer ) . deploy ( ) ;
118- let exec = await gasEstimator . simulateExecute ( bundle ( "0x19010000000000000000000000000000000000000000000000000000000000003a9ba31f43f37a45a455caae63222f75e12f5f17cb88b61ff669f0f9977b86b0dcf72a6967fe6b9d824d0d77e94476fe88d7e435bc08" ) ) ;
119- let result = await exec . wait ( 1 ) ;
120- // console.log(result);
121- exec = await gasEstimator . simulateExecute ( bundle ( "0x19010000000000000000000000000000000000000000000000000000000000003a9ba31f43f37a45a455caae63222f75e12f5f17cb88c0aa4b7f966b95d96de07a22f2b821f5c88d3ed1154db7d0c7c65c5b1a66dda6" ) ) ;
122- result = await exec . wait ( 1 ) ;
123- // console.log(result);
124-
125- exec = await gasEstimator . simulateExecute ( bundle ( "0x19010000000000000000000000000000000000000000000000000000000000003a9ba31f43f37a45a455caae63222f75e12f5f17cb88c0aa4b7f966b95d96de07a22f2b821f5c88d3ed1154db7d0c7c65c5b1a66dda6" ) ) ;
126- console . log ( exec ) ;
127- result = await exec . wait ( 1 ) ;
128- console . log ( result ) ;
129- } )
130-
131116 it ( 'Should estimate wallet deployment + upgrade' , async ( ) => {
132117 // const newImplementation = (await ModuleMockArtifact.new()) as ModuleMock
133118 const newImplementation = await new ModuleMock__factory ( ) . connect ( signer ) . deploy ( )
You can’t perform that action at this time.
0 commit comments