Skip to content

ethexe: set limits for batch commitment production #5205

@grishasobol

Description

@grishasobol

Presently any producer is pushing code commitments and announces in chain commitments as many as it possible: all codes waiting for validations and validated by this producer and all not committed announces till best announce for current block. This can cause problems with committing in case of networks downtime: for example after being downtime for 1 day, ethexe validators would try to commit all transitions and codes which happens for 7200 blocks. That can be impossible to do in one batch commitment.

So, producer should push no more (for example) than 100 codes in one batch, and track the size of batch commitment when pushes announce commitments : for example no more than 64kb of transitions for example.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions