@@ -290,7 +290,7 @@ def run_test(self):
290290
291291 # Test introspection opcodes
292292 # 1a. No Pegins/issuances
293- self .log .info ("Instrospection tests: outpoint flag" )
293+ self .log .info ("Introspection tests: outpoint flag" )
294294 self .tapscript_satisfy_test (CScript ([OP_0 , OP_INSPECTINPUTOUTPOINT , b'\x00 ' , OP_EQUALVERIFY , OP_DROP , OP_DROP , OP_1 ]))
295295 # 1b. Add a pegin (Test pegin input must be 0x40)
296296 self .tapscript_satisfy_test (CScript ([OP_0 , OP_INSPECTINPUTOUTPOINT , b'\x40 ' , OP_EQUALVERIFY , OP_DROP , OP_DROP , OP_1 ]), add_pegin = True )
@@ -304,7 +304,7 @@ def run_test(self):
304304 self .tapscript_satisfy_test (CScript ([OP_0 , OP_INSPECTINPUTOUTPOINT , b'\x00 ' , OP_EQUALVERIFY , OP_DROP , OP_DROP , OP_1 ]), add_pegin = True , add_issuance = True , fail = "Script failed an OP_EQUALVERIFY operation" )
305305
306306 # Test opcode for inspecting prev tx
307- self .log .info ("Instrospection tests: inputs" )
307+ self .log .info ("Introspection tests: inputs" )
308308 self .tapscript_satisfy_test (CScript ([OP_0 , OP_INSPECTINPUTOUTPOINT , b'\x00 ' , OP_EQUALVERIFY , OP_TOALTSTACK , OP_EQUALVERIFY , OP_FROMALTSTACK , OP_EQUAL ]), add_prevout = True )
309309
310310 # Test taproot asset with blinding.
@@ -351,12 +351,12 @@ def run_test(self):
351351 self .tapscript_satisfy_test (CScript ([- 1 , OP_1 , OP_INSPECTINPUTVALUE , OP_FALSE , OP_EQUAL ]), fail = "Introspection index out of bounds" )
352352
353353 # Test current input
354- self .log .info ("Instrospection tests: current input index" )
354+ self .log .info ("Introspection tests: current input index" )
355355 self .tapscript_satisfy_test (CScript ([OP_PUSHCURRENTINPUTINDEX , OP_0 , OP_EQUAL ]))
356356 self .tapscript_satisfy_test (CScript ([OP_PUSHCURRENTINPUTINDEX , OP_1 , OP_EQUAL ]), fail = "Script evaluated without error but finished with a false/empty top stack element" )
357357
358358 # Test Outputs
359- self .log .info ("Instrospection tests: outputs" )
359+ self .log .info ("Introspection tests: outputs" )
360360 for blind in [True , False ]:
361361 for out_pos in [0 , 1 ]:
362362 self .tapscript_satisfy_test (CScript ([out_pos , OP_INSPECTOUTPUTASSET , OP_TOALTSTACK , OP_EQUALVERIFY , OP_FROMALTSTACK , OP_EQUAL ]), blind = blind , add_out_asset = out_pos )
@@ -368,8 +368,8 @@ def run_test(self):
368368 self .tapscript_satisfy_test (CScript ([120 , OP_INSPECTOUTPUTASSET , OP_FALSE , OP_EQUAL ]), fail = "Introspection index out of bounds" )
369369 self .tapscript_satisfy_test (CScript ([- 1 , OP_INSPECTOUTPUTVALUE , OP_FALSE , OP_EQUAL ]), fail = "Introspection index out of bounds" )
370370
371- # Finally, check the tx instrospection
372- self .log .info ("Instrospection tests: tx" )
371+ # Finally, check the tx introspection
372+ self .log .info ("Introspection tests: tx" )
373373 # Test version equality
374374 self .tapscript_satisfy_test (CScript ([OP_INSPECTVERSION , int (2 ).to_bytes (4 , 'little' ), OP_EQUAL ]), ver = 2 )
375375 self .tapscript_satisfy_test (CScript ([OP_INSPECTVERSION , int (5 ).to_bytes (4 , 'little' ), OP_EQUAL ]), ver = 2 , fail = "Script evaluated without error but finished with a false/empty top stack element" )
0 commit comments