You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "ethdasm.py", line 18, in <module>
blocks = contract.parse()
File "/Users/jmeyer2k/development/ethdasm/ethdasm/contract.py", line 328, in parse
self.__add_final_functions()
File "/Users/jmeyer2k/development/ethdasm/ethdasm/contract.py", line 272, in __add_final_functions
arguments.append(block.return_vals[i])
IndexError: list index out of range
The problem here is that the ending function for the second block actually requires arguments to be passed through. It might need to add arguments to the previous function if the next function requires more values than the block puts on the stack.
Also, a problem arises when now we need to update the previous block to take in a certain number of parameters.
This bug will require some serious thinking.
The text was updated successfully, but these errors were encountered:
Bytecode to reproduce:
Disassembled bytecode:
Error:
The problem here is that the ending function for the second block actually requires arguments to be passed through. It might need to add arguments to the previous function if the next function requires more values than the block puts on the stack.
Also, a problem arises when now we need to update the previous block to take in a certain number of parameters.
This bug will require some serious thinking.
The text was updated successfully, but these errors were encountered: