mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Resolve remaining native state tasks (#11561)
* remove ToProto and ToProtoUnsafe wrappers * TestAppendBeyondIndicesLimit * change type of genesisValidatorsRoot * fuzz tests * check type assertion
This commit is contained in:
@@ -197,8 +197,8 @@ func main() {
|
||||
if err := dataFetcher(expectedPostStatePath, expectedState); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if !equality.DeepEqual(expectedState, postState.InnerStateUnsafe()) {
|
||||
diff, _ := messagediff.PrettyDiff(expectedState, postState.InnerStateUnsafe())
|
||||
if !equality.DeepEqual(expectedState, postState.ToProtoUnsafe()) {
|
||||
diff, _ := messagediff.PrettyDiff(expectedState, postState.ToProtoUnsafe())
|
||||
log.Errorf("Derived state differs from provided post state: %s", diff)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user