Commit f83b1b34 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub

Merge branch 'develop' into refcell/alphabet/examples

parents 3bad749a 4ccdb3dc
package fault
import (
"context"
"errors"
"github.com/ethereum/go-ethereum/common"
......@@ -26,4 +27,11 @@ type Claim struct {
type Response struct {
Attack bool // note: can we flip this to true == going right / defending??
Value common.Hash
Parent Claim
}
// Responder takes a response action & executes.
// For full op-challenger this means executing the transaction on chain.
type Responder interface {
Respond(ctx context.Context, response Response) error
}
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