trailofbits/manticore

Feature request: Automatic conversion of tx.return_data

Open

#1595 aperta il 23 gen 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (481 fork)batch import
ethereumhelp wantedidea

Metriche repository

Star
 (3469 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor