Ejemplo n.º 1
0
 def test_typed_signature_hash(self):
     h = typed_signature_hash(self.tx)
     assert h == "0x57dfcc7be8e4249fb6e75a45dc5ecdfed0309ed951b6adc69b8a659c7eca33bf"
Ejemplo n.º 2
0
 def hash_typed(self):
     return bytes.fromhex(typed_signature_hash(tx_to_typed_data(self))[2:])
Ejemplo n.º 3
0
 def test_typed_signature_hash(self):
     h = typed_signature_hash(self.tx)
     self.assertEqual(
         h,
         "0xe768719d0a211ffb0b7f9c7bc6af9286136b3dd8b6be634a57dc9d6bee35b492"
     )