Commit add32f6f authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #6185 from ethereum-optimism/jg/simple_contract_index

op-challenger: Add ContractIndex & ParentContractIndex to Claim
parents 907d542e 71b807cb
...@@ -32,6 +32,10 @@ type ClaimData struct { ...@@ -32,6 +32,10 @@ type ClaimData struct {
type Claim struct { type Claim struct {
ClaimData ClaimData
Parent ClaimData Parent ClaimData
// Location of the claim & it's parent inside the contract. Does not exist
// for claims that have not made it to the contract.
ContractIndex int
ParentContractIndex int
} }
// IsRoot returns true if this claim is the root claim. // IsRoot returns true if this claim is the root claim.
......
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