ferranbt / fastssz

Fast Ethereum2.0 SSZ encoder/decoder
MIT License
73 stars 44 forks source link

Incorrect error message #128

Closed anukul closed 1 year ago

anukul commented 1 year ago
package testcases

import "github.com/prysmaticlabs/go-bitfield"

type Foo struct {
    Bar bitfield.Bitlist
}
$ sszgen --path bitlist.go

Output

[ERR]: failed to encode Foo: bitlist bitfield does not have ssz-max tag

Expected Output

[ERR]: failed to encode Foo: bitlist Bar does not have ssz-max tag