Skip to content

Commit

Permalink
Update src/domain/accounts/counterfactual-safes/entities/__tests__/co…
Browse files Browse the repository at this point in the history
…unterfactual-safe.builder.ts

Co-authored-by: Aaron Cook <aaron@safe.global>
  • Loading branch information
hectorgomezv and iamacook authored Jul 30, 2024
1 parent e2943d1 commit 8418eeb
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ export function counterfactualSafeBuilder(): IBuilder<CounterfactualSafe> {
.with('chain_id', faker.string.numeric({ length: 6 }))
.with('creator', getAddress(faker.finance.ethereumAddress()))
.with('fallback_handler', getAddress(faker.finance.ethereumAddress()))
.with('owners', [
getAddress(faker.finance.ethereumAddress()),
getAddress(faker.finance.ethereumAddress()),
])
.with('owners',
Array.from(
{ length: faker.number.int({ min: 1, max: 5 }) },
() => getAddress(faker.finance.ethereumAddress())
)
.with('predicted_address', getAddress(faker.finance.ethereumAddress()))
.with('salt_nonce', faker.string.hexadecimal())
.with('singleton_address', getAddress(faker.finance.ethereumAddress()))
Expand Down

0 comments on commit 8418eeb

Please sign in to comment.