-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: add mellow-vaults bot scaffold #555
base: main
Are you sure you want to change the base?
Conversation
limits integrity (mellow-vaults) wstETH integrity(wstETH integrity) admin msig (multisig-watcher) AccessControl (multisig-watcher, ethereum-governance, multisig-watcher)
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.
Please take a look at the review comments!
…ces to last version
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.
Main ideas where I'd like to see technical improvements.
- Network. Making network calls to handle transactions. If you debug the handleTransaction you can find that this method passes though itself a thousands transactions of the block.
- Local infra:
- Tests: They would not work in local infra. (Because it requires changing function's signature handleBlock, handleTx) I don't know do you or not roll out this bot in local env.
- Bot does not prepared for local infra.
- Found some duplicated pieces of the code
- Some variables are good to see as dependencies, not just consts. I see that you're planning to run bot in testnet. It means that constants would have different values. In future, you need to refactor this. Let's do it from the begging.
- Tests:
I'd be perfect to cover by tests network layer, especially when code grabs wide ranges of blocks like - HOURS_48 - Types. I would strongly adhere to the strict types. Not mixing js and ts approaches.
Ton of work.
Let's hit the gas into the floor and do it perfectly. 💪🚀
Alerts for Mellow vaults