Skip to content

Commit

Permalink
Fixing test wallet deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Jun 7, 2024
1 parent b320a62 commit a8c1c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/utils/wallet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ethers, Overrides } from 'ethers'
import { ethers as hethers } from 'hardhat'
import { shuffle } from '.'
import { MainModule, MainModuleUpgradable, SequenceContext } from './contracts'
import {
Expand Down Expand Up @@ -206,7 +207,7 @@ export class SequenceWallet {
}

async deploy() {
if (await this.options.context.factory.getDeployedCode()) {
if ((await hethers.provider.getCode(this.address)) !== '0x') {
return
}

Expand Down

0 comments on commit a8c1c9c

Please sign in to comment.