I checked, and it uses `HexBytes`, which is wrong. So you need to bring it up with them to change the encoding. https://github.com/ethereum/web3.py/blob/0daa470f9bd7f3eaf0316684f2eaa8fdcb24bb43/web3/types.py#L106 _Originally posted by @fjl in https://github.com/ethereum/go-ethereum/issues/31967#issuecomment-2948404441_