Skip to content

AztecNode.getBlocks(0, ...) should return from genesis #411

@LHerskind

Description

@LHerskind

If running AztecNode::getBlocks(0, ...) it will throw an error. While this makes sense when understanding that the genesis (block 0) is essentially the state set in the L1 contract, it feels wrong and unnecessarily clunky to make it throw. Instead i suggest that we just make it behave like starting from 1 to let getBlocks(0, ...) simply indicate: "give me blocks from the beginning".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions