Skip to content

Commit

Permalink
Fixing bench tests
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Jun 10, 2024
1 parent 4b9350f commit 436be02
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions test/MainModule.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,9 @@ contract('MainModule', () => {
;(this as any).timeout(0)

it('Deploy a wallet', async () => {
const results: ethers.BigNumberish[] = []

for (let i = 0; i < runs; i++) {
const tx = await SequenceWallet.basicWallet(context).deploy()
const receipt = await tx?.wait()

if (!receipt) {
throw new Error('No receipt')
}

results.push(receipt.gasUsed)
await SequenceWallet.basicWallet(context).deploy()
}

report('deploy wallets', results)
})

it('Relay 1/1 transaction', async () => {
Expand Down

0 comments on commit 436be02

Please sign in to comment.