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
50df5edb
Unverified
Commit
50df5edb
authored
Jun 26, 2023
by
mergify[bot]
Committed by
GitHub
Jun 26, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into refcell/ctblintfix
parents
34035f3d
374301d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
oracle.go
op-preimage/oracle.go
+2
-1
goerli.go
op-program/verify/cmd/goerli.go
+1
-0
No files found.
op-preimage/oracle.go
View file @
50df5edb
...
...
@@ -2,6 +2,7 @@ package preimage
import
(
"encoding/binary"
"encoding/hex"
"fmt"
"io"
)
...
...
@@ -57,7 +58,7 @@ func (o *OracleServer) NextPreimageRequest(getPreimage PreimageGetter) error {
}
value
,
err
:=
getPreimage
(
key
)
if
err
!=
nil
{
return
fmt
.
Errorf
(
"failed to serve pre-image %s request: %w"
,
key
,
err
)
return
fmt
.
Errorf
(
"failed to serve pre-image %s request: %w"
,
hex
.
EncodeToString
(
key
[
:
])
,
err
)
}
if
err
:=
binary
.
Write
(
o
.
rw
,
binary
.
BigEndian
,
uint64
(
len
(
value
)));
err
!=
nil
{
...
...
op-program/verify/cmd/goerli.go
View file @
50df5edb
...
...
@@ -114,6 +114,7 @@ func Run(l1RpcUrl string, l2RpcUrl string, l2OracleAddr common.Address) error {
}()
fmt
.
Printf
(
"Using temp dir: %s
\n
"
,
temp
)
args
:=
[]
string
{
"--log.level"
,
"DEBUG"
,
"--network"
,
"goerli"
,
"--exec"
,
"./bin/op-program-client"
,
"--datadir"
,
temp
,
...
...
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