trailofbits/manticore

Feature request: Automatic conversion of tx.return_data

Open

#1,595 opened on 2020年1月23日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Python (481 forks)batch import
ethereumhelp wantedidea

Repository metrics

Stars
 (3,469 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Currently, to retrieve the return value of a transaction, we need to do

    balance_raw = transaction.return_data
    balance = ABI.deserialize("uint", balance_raw)

It would be nice to have a transaction's property that deserializes automatically the data, given the function's signature.

コントリビューターガイド