In case you want to provide custom hash function behavior can be quite unexpected. It happens because zeroHashes is global variable that is initialized by default with sha256: https://github.com/ferranbt/fastssz/blob/f43e88e3e05ffc6f01540c312653d471a10d2ff2/hasher.go#L39