Commit 84c503da authored by Adrian Sutton's avatar Adrian Sutton Committed by GitHub

op-challenger/op-dispute-mon: Support version 1.0.0 of fault dispute game contracts. (#10543)

parent c79248ef
......@@ -99,7 +99,7 @@ func NewFaultDisputeGameContract(ctx context.Context, metrics metrics.ContractMe
contract: batching.NewBoundContract(legacyAbi, addr),
},
}, nil
} else if strings.HasPrefix(version, "0.18.") {
} else if strings.HasPrefix(version, "0.18.") || strings.HasPrefix(version, "1.0.") {
// Detected an older version of contracts, use a compatibility shim.
legacyAbi := mustParseAbi(faultDisputeGameAbi0180)
return &FaultDisputeGameContract0180{
......
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