Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
eef2af0c
Unverified
Commit
eef2af0c
authored
Sep 13, 2023
by
Adrian Sutton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-challenger: Include note in docs that the root claim must start with 0x01.
parent
cd59d5e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
manual.md
docs/fault-proof-alpha/manual.md
+2
-1
README.md
op-challenger/README.md
+4
-0
No files found.
docs/fault-proof-alpha/manual.md
View file @
eef2af0c
...
...
@@ -29,7 +29,8 @@ determine the root claim to use when creating the game. In simple cases, where t
arbitrary hash can be used for claim values. For more advanced cases
[
cannon can be used
](
./cannon.md
)
to generate a
trace, including the claim values to use at specific steps. Note that it is not valid to create a game that disputes an
output root, using the final hash from a trace that confirms the output root is valid. To dispute an output root
successfully, the trace must resolve that the disputed output root is invalid.
successfully, the trace must resolve that the disputed output root is invalid. This is indicated by the first byte of
the claim value being set to the invalid
[
VM status
](
../../specs/cannon-fault-proof-vm.md#state-hash
)
(
`0x01`
)
.
The game can then be created by calling the
`create`
method on the
`DisputeGameFactory`
contract. This requires three
parameters:
...
...
op-challenger/README.md
View file @
eef2af0c
...
...
@@ -103,6 +103,10 @@ Starts a new fault dispute game that disputes the latest output proposal in the
*
`RPC_URL`
- the RPC endpoint of the L1 endpoint to use (e.g.
`http://localhost:8545`
).
*
`GAME_FACTORY_ADDRESS`
- the address of the dispute game factory contract on L1.
*
`ROOT_CLAIM`
a hex encoded 32 byte hash to use as the root claim for the created game.
*
The root claim must have the high-order byte set to the
invalid
[
VM status
](
../specs/cannon-fault-proof-vm.md#state-hash
)
(
`0x01`
)
to indicate that the trace concludes
that the disputed output root is invalid.
e.g.
`0x0146381068b59d2098495baa72ed2f773c1e09458610a7a208984859dff73add`
*
`SIGNER_ARGS`
the remaining args are past as arguments to
`cast`
when sending transactions.
These arguments must specify a way for
`cast`
to sign the transactions.
See
`cast send --help`
for supported options.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment