Commit 6f887d51 authored by DenseDenise's avatar DenseDenise Committed by GitHub

op-challenger: clarify the output (#11141)

* clarify the out put

* Update list_claims.go
parent efbf441f
......@@ -116,13 +116,13 @@ func listClaims(ctx context.Context, game contracts.FaultDisputeGameContract, ve
}
now := time.Now()
lineFormat := "%3v %-7v %6v %5v %14v " + valueFormat + " %-42v %12v %-19v %10v %v\n"
info := fmt.Sprintf(lineFormat, "Idx", "Move", "Parent", "Depth", "Index", "Value", "Claimant", "Bond (ETH)", "Time", "Clock Used", "Resolution")
info := fmt.Sprintf(lineFormat, "Idx", "Move", "Parent", "Depth", "Trace", "Value", "Claimant", "Bond (ETH)", "Time", "Clock Used", "Resolution")
for i, claim := range claims {
pos := claim.Position
parent := strconv.Itoa(claim.ParentContractIndex)
var elapsed time.Duration // Root claim does not accumulate any time on its team's chess clock
if claim.IsRoot() {
parent = ""
parent = "-"
} else {
parentClaim, err := gameState.GetParent(claim)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment