Skip to content
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

QA: createInjector in factory does not track on-chain childs deployed #5

Closed
2 of 3 tasks
petrovska-petro opened this issue Sep 9, 2024 · 3 comments
Closed
2 of 3 tasks
Assignees

Comments

@petrovska-petro
Copy link
Collaborator

petrovska-petro commented Sep 9, 2024

Severity: informational / analytics

Context: currently for tracking of all injectors deployed by the factory is forcing to have an off-chain service tracking the events emitted, indexed them and have a way to display them in a UX friendly manner; which ultimately represents another dependency of the system.

Recommendation: Enable directly on the factory itself ability to track all injectors deployed directly on-chain, an approach:

  • Use an array of address[] and leverage getters in the injector to display information from a single method. e.g: getAllInjectors() providing a list of all injectors deployed until present and massaging the getters from the injector itself to display information such as: injectTokenAddress, KeeperAddresses, getFullSchedule and alike in a single call

Up to the internal team to decide between full off-chain infrastructure or allow an on-chain tracking at the cost of being slighly more costly on storing all the injectors deployed up to date in an array.

Review stage

Balancer Maxis:

  • Acknowledge
  • Fixed

Onchainification Labs:

  • Acknowledge correction/mitigation
@petrovska-petro petrovska-petro changed the title ## QA: createInjector in factory does not track on-chain childs deployed QA: createInjector in factory does not track on-chain childs deployed Sep 9, 2024
@Tritium-VLK
Copy link
Contributor

We can talk about this internally a bit more/will. My impression is that the factory is permissionless and anyone can launch anything, even though it is not configured/functional. The offchain data/registry can be maintained such that only injectors that are actually configured/working properly are presented to users.

That being said, maybe there are reasons to be able to verify that an injector came from this factory onchain. Will bring up in our dev meeting.

@Tritium-VLK Tritium-VLK self-assigned this Sep 9, 2024
@Tritium-VLK
Copy link
Contributor

see #15

@petrovska-petro
Copy link
Collaborator Author

once #15 is merged, indeed this issue can be closed ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants