Run op-challenger
This guide provides a walkthrough of setting up the configuration and monitoring options for op-challenger. See the OP-Challenger Explainer for a general overview of this fault proofs feature.
Beta Testnet
1. Build the executable and prepare the prestate
2. Configure challenger
See here for a detailed explanation of the configurations.
3. Execute challenger
--selective-claim-resolution
(default:false
): Only resolve claims for the configured claimants.
Enabled in the above command to save gas, as resolving the same claim fails for all but the first resolver. Set
--additional-bond-claimants
to add other addresses to claim bonds for, in addition to the configured transaction sender.At least one honest challenger should disable this to resolve malicious claims, as bad actors might won’t resolve their own dishonest claims.
4.Test and debug challenger (optional)
This is an optional step to use op-challenger
subcommands, which allow chain operators to interact with the Fault Proof System onchain for testing and debugging purposes. For example, it is possible to test and explore the system in the following ways:
create games yourself, and it doesn't matter if the games are valid or invalid.
perform moves in games and then claim and resolve things.
Here's the list of op-challenger subcommands:
list-games
List the games created by a dispute game factory
list-claims
List the claims in a dispute game
list-credits
List the credits in a dispute game
create-game
Creates a dispute game via the factory
move
Creates and sends a move transaction to the dispute game
resolve
Resolves the specified dispute game if possible
resolve-claim
Resolves the specified claim if possible
Last updated