Open itsdevbear opened 5 months ago
Can you share the sszgen
script? I managed to run the generator with the testcases for this example here.
Hi, this issue is very much still present nowadays.
Minimum reproducer:
package main
type Int = uint256.Int
type Bug struct {
Field *Int
}
go.mod
:
module sszgen-bug
go 1.22.3
require github.com/holiman/uint256 v1.3.1
Run: sszgen -path .
Hi! Thank you for the example. I will take a look.
for instance
hexutil.Bytes
from gethWorks:
Panics
Callstack