Skip to content

Decentralized Aggregator: save gas #1109

@dakom

Description

@dakom

As of right now there's some open PRs, expected to be merged soon, which get rid of the centralized aggregator and move us into a fully decentralized p2p solution.

However, it's pretty naive in terms of gas spending - all the self-proclaimed aggregators (i.e. anyone with the credential configured) will automatically submit at the same time, thereby wasting gas unnecessarily[*].

That's not necessarily a bug - in fact contracts should be designed to be resilient against this, e.g. by burning eventIds and/or allowing latecomers, even with the centralized solution.

Right now this should be considered an R&D task, not yet ready to implement

[*] Well... really it should be totally different entities, each spending from their own wallets... good for the chain, not actually a problem for each entity, but overall wasteful

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions