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
6084ed30
Unverified
Commit
6084ed30
authored
Dec 06, 2023
by
Matt Solomon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: additional lint fixes suggested by code review
parent
f2a1266e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
charlie.sh
op-challenger/scripts/alphabet/charlie.sh
+1
-1
init_game.sh
op-challenger/scripts/alphabet/init_game.sh
+2
-2
mallory.sh
op-challenger/scripts/alphabet/mallory.sh
+1
-1
visualize.sh
op-challenger/scripts/visualize.sh
+2
-2
No files found.
op-challenger/scripts/alphabet/charlie.sh
View file @
6084ed30
...
@@ -32,7 +32,7 @@ cleanup(){
...
@@ -32,7 +32,7 @@ cleanup(){
--datadir
"
${
DATADIR
}
"
\
--datadir
"
${
DATADIR
}
"
\
--game-factory-address
"
$DISPUTE_GAME_PROXY
"
\
--game-factory-address
"
$DISPUTE_GAME_PROXY
"
\
--game-allowlist
"
$FAULT_GAME_ADDRESS
"
\
--game-allowlist
"
$FAULT_GAME_ADDRESS
"
\
--private-key
$CHARLIE_KEY
\
--private-key
"
$CHARLIE_KEY
"
\
--num-confirmations
1
\
--num-confirmations
1
\
--metrics
.enabled
--metrics
.port
=
7304
\
--metrics
.enabled
--metrics
.port
=
7304
\
--pprof
.enabled
--pprof
.port
=
6064
\
--pprof
.enabled
--pprof
.port
=
6064
\
...
...
op-challenger/scripts/alphabet/init_game.sh
View file @
6084ed30
...
@@ -45,10 +45,10 @@ echo " - Balance: $(cast balance 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266)"
...
@@ -45,10 +45,10 @@ echo " - Balance: $(cast balance 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266)"
echo
"----------------------------------------------------------------"
echo
"----------------------------------------------------------------"
echo
"Funding Charlie"
echo
"Funding Charlie"
cast send
$CHARLIE_ADDRESS
--value
5ether
--private-key
$DEVNET_SPONSOR
cast send
"
$CHARLIE_ADDRESS
"
--value
5ether
--private-key
"
$DEVNET_SPONSOR
"
echo
"Funding Mallory"
echo
"Funding Mallory"
cast send
$MALLORY_ADDRESS
--value
5ether
--private-key
$DEVNET_SPONSOR
cast send
"
$MALLORY_ADDRESS
"
--value
5ether
--private-key
"
$DEVNET_SPONSOR
"
# Loop and wait until there are at least 2 outputs in the l2 output oracle
# Loop and wait until there are at least 2 outputs in the l2 output oracle
echo
"Waiting until 2 output proposals are in the l2 output oracle..."
echo
"Waiting until 2 output proposals are in the l2 output oracle..."
...
...
op-challenger/scripts/alphabet/mallory.sh
View file @
6084ed30
...
@@ -32,7 +32,7 @@ cleanup(){
...
@@ -32,7 +32,7 @@ cleanup(){
--datadir
"
${
DATADIR
}
"
\
--datadir
"
${
DATADIR
}
"
\
--game-factory-address
"
$DISPUTE_GAME_PROXY
"
\
--game-factory-address
"
$DISPUTE_GAME_PROXY
"
\
--game-allowlist
"
$FAULT_GAME_ADDRESS
"
\
--game-allowlist
"
$FAULT_GAME_ADDRESS
"
\
--private-key
$MALLORY_KEY
\
--private-key
"
$MALLORY_KEY
"
\
--num-confirmations
1
\
--num-confirmations
1
\
--metrics
.enabled
--metrics
.port
=
7305
\
--metrics
.enabled
--metrics
.port
=
7305
\
--pprof
.enabled
--pprof
.port
=
6065
\
--pprof
.enabled
--pprof
.port
=
6065
\
...
...
op-challenger/scripts/visualize.sh
View file @
6084ed30
...
@@ -5,7 +5,7 @@ set -euo pipefail
...
@@ -5,7 +5,7 @@ set -euo pipefail
RPC
=
"
${
1
:?Must
specify RPC address
}
"
RPC
=
"
${
1
:?Must
specify RPC address
}
"
FAULT_GAME_ADDRESS
=
"
${
2
:?Must
specify game address
}
"
FAULT_GAME_ADDRESS
=
"
${
2
:?Must
specify game address
}
"
DIR
=
$(
cd
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
&&
pwd
)
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
DIR
=
$(
echo
"
${
DIR
%/*/*
}
"
)
DIR
=
$(
echo
"
${
DIR
%/*/*
}
"
)
cd
"
$DIR
"
/packages/contracts-bedrock
cd
"
$DIR
"
/packages/contracts-bedrock
...
@@ -13,4 +13,4 @@ forge script scripts/FaultDisputeGameViz.s.sol \
...
@@ -13,4 +13,4 @@ forge script scripts/FaultDisputeGameViz.s.sol \
--sig
"remote(address)"
"
$FAULT_GAME_ADDRESS
"
\
--sig
"remote(address)"
"
$FAULT_GAME_ADDRESS
"
\
--fork-url
"
$RPC
"
--fork-url
"
$RPC
"
mv
dispute_game.svg
"
$
dir
"
mv
dispute_game.svg
"
$
DIR
"
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