Include ptr
, len
and bytes in ABI Receipts
#6115
Labels
enhancement
New feature or request
triage
This issue was opened with a template and needs to be triaged by code owners.
Related Component
compiler
Problem you are trying to solve
On beta5, when decoding a contract call from a transaction ABI receipt, one could have used the previous
Param1
to determine the function selector.Now with the new encoding for contract calls the contract calls first param is now encoded using the pointer and so consumers can no longer determine the function selector from the transaction receipt.
Solution you'd like
As shown in the screenshot above from the following transaction, given that
Param1
andParam2
are pointers, they will always return the same values, and more importantly they are meaningless without access to the VM memory (which a consumer can't access at this point).One solution could be to return thee
ptr
,len
and bytes when returning the ABI Receipt.Notes
No response
The text was updated successfully, but these errors were encountered: