trailofbits/manticore
Vedi su GitHubFeature request: Automatic conversion of tx.return_data
Open
#1595 aperta il 23 gen 2020
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.