-
Notifications
You must be signed in to change notification settings - Fork 0
fix: Linting #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Linting #36
Conversation
* feat: Add rebalancer warp command * fix: Test rebalancer command
* fix: Run anvil4 * fix: Add routeid and frequency to args * fix: Add anvil4 metadata * fix: Add chain 4 to helpers * fix: Test rebalancer monitoring using a deployed route * fix: Delete deployments on cleanup and dont persist state * fix: Accept string as param * fix: Send tokens before starting the rebalancer * fix: Format
* feat: Simple strat + tests * fix: Update strategy interface * fix: Add tolerance to strategy * fix: Make e2e faster * fix: Accept strategy tolerance arg * fix: Update format * fix: With snapshots * fix: Snapshots in helpers * fix: Test with tolerance * fix: Remove only * fix: Update strategy tolerance description * fix: Add sleep to parallel send
also, change the implementation to be event driven
typescript/cli/src/commands/warp.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did something different, it's catching the error, wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice one, wdyt about the force: true option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better with force
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went this exact same path, but I rather keep what's currently done with the for await for chunks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the for await requires the promise executor to be async and the linter doesn't like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to have this included tbh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
we can later decide if it is worth having it moved to the utils package
1349402 to
4264272
Compare
Also updated the error message to address the TODO