You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've implemented the necessary interface on the uint256 library in holiman/uint256#126, but running this generator against a struct containing those types generates invalid code, trying to cast these types into []uint64 instead of calling the interface methods. No idea what's happening, can't parse this code with 0 comments.
/github.com/ethereum/go-ethereum/core/types/tx_blob_enc.go:66:29: cannot convert c.Value (variable of type *uint256.Int) to type []uint64
// Field 6: Value
if len([]uint64(c.Value)) != 4 {
return nil, ssz.ErrBytesLength
}
for _, o := range []uint64(c.Value) {
dst = ssz.MarshalUint64(dst, o)
}
No idea why the above happens, it should just call MarshalSSZTo?
The text was updated successfully, but these errors were encountered:
I've implemented the necessary interface on the
uint256
library in holiman/uint256#126, but running this generator against a struct containing those types generates invalid code, trying to cast these types into[]uint64
instead of calling the interface methods. No idea what's happening, can't parse this code with 0 comments.No idea why the above happens, it should just call
MarshalSSZTo
?The text was updated successfully, but these errors were encountered: