Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
op-challenger: clarify the output (ethereum-optimism#11141)
Browse files Browse the repository at this point in the history
* clarify the out put

* Update list_claims.go
  • Loading branch information
DenseDenise authored Jul 23, 2024
1 parent efbf441 commit 6f887d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op-challenger/cmd/list_claims.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6f887d5

Please sign in to comment.