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
50061c78
Commit
50061c78
authored
Jun 26, 2023
by
clabby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `FaultDisputeGame` binding
parent
29480e23
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1152 additions
and
1 deletion
+1152
-1
Makefile
op-bindings/Makefile
+4
-0
faultdisputegame.go
op-bindings/bindings/faultdisputegame.go
+1147
-0
FaultDisputeGame.sol
.../contracts-bedrock/contracts/dispute/FaultDisputeGame.sol
+1
-1
No files found.
op-bindings/Makefile
View file @
50061c78
...
@@ -32,6 +32,7 @@ bindings: l1block-bindings \
...
@@ -32,6 +32,7 @@ bindings: l1block-bindings \
basefee-vault-bindings
\
basefee-vault-bindings
\
legacy-erc20-eth-bindings
\
legacy-erc20-eth-bindings
\
dispute-game-factory-bindings
\
dispute-game-factory-bindings
\
fault-dispute-game-bindings
\
standard-bridge-bindings
\
standard-bridge-bindings
\
cross-domain-messenger-bindings
\
cross-domain-messenger-bindings
\
cannon-mips
\
cannon-mips
\
...
@@ -130,6 +131,9 @@ l1-blocknumber-bindings: compile
...
@@ -130,6 +131,9 @@ l1-blocknumber-bindings: compile
dispute-game-factory-bindings
:
compile
dispute-game-factory-bindings
:
compile
./gen_bindings.sh contracts/dispute/DisputeGameFactory.sol:DisputeGameFactory
$(pkg)
./gen_bindings.sh contracts/dispute/DisputeGameFactory.sol:DisputeGameFactory
$(pkg)
fault-dispute-game-bindings
:
compile
./gen_bindings.sh contracts/dispute/FaultDisputeGame.sol:FaultDisputeGame
$(pkg)
standard-bridge-bindings
:
compile
standard-bridge-bindings
:
compile
./gen_bindings.sh contracts/universal/StandardBridge.sol:StandardBridge
$(pkg)
./gen_bindings.sh contracts/universal/StandardBridge.sol:StandardBridge
$(pkg)
...
...
op-bindings/bindings/faultdisputegame.go
0 → 100644
View file @
50061c78
This diff is collapsed.
Click to expand it.
packages/contracts-bedrock/contracts/dispute/FaultDisputeGame.sol
View file @
50061c78
...
@@ -166,7 +166,7 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, Semver {
...
@@ -166,7 +166,7 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, Semver {
uint256 _challengeIndex,
uint256 _challengeIndex,
Claim _pivot,
Claim _pivot,
bool _isAttack
bool _isAttack
) public {
) public
payable
{
// Moves cannot be made unless the game is currently in progress.
// Moves cannot be made unless the game is currently in progress.
if (status != GameStatus.IN_PROGRESS) {
if (status != GameStatus.IN_PROGRESS) {
revert GameNotInProgress();
revert GameNotInProgress();
...
...
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