|
@@ -47,8 +47,7 @@ export class StargateClient {
|
|
|
async bridge(toChainId: number) {
|
|
|
if (toChainId === ChainId.ZKSYNC) throw new Error('Unsupported.')
|
|
|
return await polly()
|
|
|
- // todo: change back
|
|
|
- .waitAndRetry([1000 * 10])
|
|
|
+ .waitAndRetry([1000 * 10, 1000 * 20, 1000 * 30])
|
|
|
.executeForPromise(async info => {
|
|
|
try {
|
|
|
const balance = await this.provider.getBalance(this.wallet.address)
|