FourthState / plasma-mvp-sidechain

Cosmos SDK (Tendermint consensus) side-chain implementation for plasma
Apache License 2.0
112 stars 35 forks source link

Add --verbose flag #162

Open colin-axner opened 5 years ago

colin-axner commented 5 years ago

Summary

from plasmacli/subcmd/query/info.go

/*
// TODO: Add --verbose flag that if set will query TxInput and print InputAddresses and InputPositions as well
// print inputs if applicable
positions := utxo.InputPositions
for i, p := range positions {
    fmt.Printf("Input %d Position: %s\n", i, p)
}
*/
## Problem

Proposal

hamdiallam commented 4 years ago

InputPositions is no longer an attribute of TxOutput. Need to do an additional query for TxInput