fix migration SszContainer scripts

This commit is contained in:
hopinheimer
2026-03-09 19:06:50 -04:00
parent 275ac11200
commit 9c6f25cf36
4 changed files with 8 additions and 21 deletions

View File

@@ -1037,18 +1037,14 @@ impl ProtoArrayForkChoice {
pub fn as_ssz_container(
&self,
justified_checkpoint: Checkpoint,
finalized_checkpoint: Checkpoint,
) -> SszContainer {
SszContainer::from_proto_array(self, justified_checkpoint, finalized_checkpoint)
SszContainer::from_proto_array(self)
}
pub fn as_bytes(
&self,
justified_checkpoint: Checkpoint,
finalized_checkpoint: Checkpoint,
) -> Vec<u8> {
self.as_ssz_container(justified_checkpoint, finalized_checkpoint)
self.as_ssz_container()
.as_ssz_bytes()
}