Skip to content

Commit

Permalink
trace before opcode instead of after
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Sep 1, 2023
1 parent 12da356 commit 3cc4d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ def mnemonic(self):
return self.opcode.mnemonic

def __call__(self, computation):
self.opcode.__call__(computation)
print(self.mnemonic, computation._stack)
self.opcode.__call__(computation)

class Sha3PreimageTracer:
mnemonic = "SHA3"
Expand Down

0 comments on commit 3cc4d8f

Please sign in to comment.