@@ -47,6 +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])
.executeForPromise(async info => {
try {
@@ -45,6 +45,7 @@ app.listen(port, () => {
console.log(`start listening at http://localhost:${port}`)
})
+// todo: change back
// new CreateBridgeTaskJob().start('*/5 * * * *')
new BridgeJob().start('*/5 * * * * *')
new ConfirmJob().start('*/30 * * * * *')