def test_typed(self): assert tx_to_typed_data(self.raw_tx) == self.tx
def hash_typed(self): return bytes.fromhex(typed_signature_hash(tx_to_typed_data(self))[2:])
def test_typed(self): self.assertEqual(tx_to_typed_data(self.raw_tx), self.tx)
def test_typed(self): assert tx_to_typed_data(self.raw_tx) == self.tx
def hash_typed(self): return bytes.fromhex(typed_signature_hash(tx_to_typed_data(self))[2:])
def test_typed(self): self.assertEqual(tx_to_typed_data(self.raw_tx), self.tx)