Interface Analyzer (#8923)

This commit is contained in:
Nishant Das
2021-05-24 12:55:42 +08:00
committed by GitHub
parent 09d7efe964
commit 76cdbaca22
29 changed files with 182 additions and 33 deletions

View File

@@ -34,7 +34,7 @@ func main() {
if err != nil {
panic(err)
}
if gs == nil {
if gs == nil || gs.IsNil() {
panic("nil genesis state")
}
b, err := gs.MarshalSSZ()