Skip to content

Read ReceiptAnchor max batch size from chain instead of hard-coding 1000 #219

Description

@VedantMadane

Follow-up to accensa/accensa-contracts#161.

ReceiptAnchor now exposes get_max_batch_size(). The indexer that builds Merkle batches should call this getter (or cache it per deployment) rather than assuming 1000, so a future constant tune does not silently disagree with the contract.

Related: accensa/accensa-contracts#161

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions