Open midnightexigent opened 3 years ago
Would also be nice to have a method that finds the function based on the input data by itself.
I had a struct layout like this: ((address,bytes),string,bytes32)
for my encoded function call, so just trimming those 4 bytes didn't work for me. This is because we need to add a tuple offset for tuples with dynamic data.
I ended up having to
to solve the problem mentionned here #180
possible new implementation for
Function::decode_input