Skip to content

Avoid calling BeaconState.clone() in beacon-node #8725

@twoeths

Description

@twoeths

Problem description

The only place we modify our BeaconState is state-transition
so either move the concerning function there (rewards api is an example) or do not use it
the reason is we also should not call it when we integrate to lodestar-z

Solution description

Check all places calling BeaconState.clone() and either move to state-transition or not to call it

Additional context

part of #8650

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions