|
|
@ -320,9 +320,8 @@ class LaserEVM: |
|
|
|
else: |
|
|
|
else: |
|
|
|
# First execute the post hook for the transaction ending instruction |
|
|
|
# First execute the post hook for the transaction ending instruction |
|
|
|
self._execute_post_hook(op_code, [end_signal.global_state]) |
|
|
|
self._execute_post_hook(op_code, [end_signal.global_state]) |
|
|
|
|
|
|
|
|
|
|
|
new_global_states = self._end_message_call( |
|
|
|
new_global_states = self._end_message_call( |
|
|
|
return_global_state, |
|
|
|
copy(return_global_state), |
|
|
|
global_state, |
|
|
|
global_state, |
|
|
|
revert_changes=False or end_signal.revert, |
|
|
|
revert_changes=False or end_signal.revert, |
|
|
|
return_data=transaction.return_data, |
|
|
|
return_data=transaction.return_data, |
|
|
@ -347,6 +346,8 @@ class LaserEVM: |
|
|
|
:param return_data: |
|
|
|
:param return_data: |
|
|
|
:return: |
|
|
|
:return: |
|
|
|
""" |
|
|
|
""" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return_global_state.mstate.constraints += global_state.mstate.constraints |
|
|
|
# Resume execution of the transaction initializing instruction |
|
|
|
# Resume execution of the transaction initializing instruction |
|
|
|
op_code = return_global_state.environment.code.instruction_list[ |
|
|
|
op_code = return_global_state.environment.code.instruction_list[ |
|
|
|
return_global_state.mstate.pc |
|
|
|
return_global_state.mstate.pc |
|
|
|