Skip to content

Commit

Permalink
Removed a tmp test
Browse files Browse the repository at this point in the history
  • Loading branch information
shirren committed Jun 21, 2024
1 parent a6f135d commit 123beae
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/GasEstimation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,6 @@ contract('Estimate gas usage', (accounts: string[]) => {
expect(estimated + txBaseCost(factoryData)).to.approximately(realTxReceipt.gasUsed.toNumber(), 100_000)
})

it.only('Should estimate without signature', async () => {
const gasEstimator = await new MainModuleGasEstimation__factory().connect(signer).deploy();
let exec = await gasEstimator.simulateExecute(bundle("0x19010000000000000000000000000000000000000000000000000000000000003a9ba31f43f37a45a455caae63222f75e12f5f17cb88b61ff669f0f9977b86b0dcf72a6967fe6b9d824d0d77e94476fe88d7e435bc08"));
let result = await exec.wait(1);
// console.log(result);
exec = await gasEstimator.simulateExecute(bundle("0x19010000000000000000000000000000000000000000000000000000000000003a9ba31f43f37a45a455caae63222f75e12f5f17cb88c0aa4b7f966b95d96de07a22f2b821f5c88d3ed1154db7d0c7c65c5b1a66dda6"));
result = await exec.wait(1);
// console.log(result);

exec = await gasEstimator.simulateExecute(bundle("0x19010000000000000000000000000000000000000000000000000000000000003a9ba31f43f37a45a455caae63222f75e12f5f17cb88c0aa4b7f966b95d96de07a22f2b821f5c88d3ed1154db7d0c7c65c5b1a66dda6"));
console.log(exec);
result = await exec.wait(1);
console.log(result);
})

it('Should estimate wallet deployment + upgrade', async () => {
// const newImplementation = (await ModuleMockArtifact.new()) as ModuleMock
const newImplementation = await new ModuleMock__factory().connect(signer).deploy()
Expand Down

0 comments on commit 123beae

Please sign in to comment.