Skip to content

refactor: investigate pre-epoch 2.1 ASTRules vs post-epoch 2.1 ASTRules #6446

@jferrant

Description

@jferrant

There currently are ASTRules::Typical and ASTRules::PreCheckSize.
Basically, PrecheckSize rules are a further constraint atop the Typical rules -- i.e. pre-check the size of the expression stack depth when parsing (i.e. before type-checking). PreCheckSize is required for POST epoch 2.1 rules. However, it is possible that PRE epoch 2.1 rules could also include these PreCheckSize and consensus not break. If so, then we drop ASTRules altogether and make the PrecheckSize code paths the only code paths.

Metadata

Metadata

Assignees

Labels

aacAvoiding Accidental Consensus

Type

No type

Projects

Status

Status: 🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions