safe-global / safe-client-gateway

Serves as a bridge for the Safe{Wallet} clients (Android, iOS, Web)
https://docs.safe.global
MIT License
27 stars 64 forks source link

Ensure recovery relay tests have addresses #2093

Closed iamacook closed 1 week ago

iamacook commented 1 week ago

Summary

After adding recovery relaying, our tests started to break due to undefined addresses in multiSend calls.

When testing recovery "batches", we inherently have >1 transaction in the mocked data. We do not, however, have enough mock Safe addresses to compare against.

This adjusts the min length of mock addresses to match that of the number of transactions in a batch.

Changes