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
2d2075f1
Commit
2d2075f1
authored
May 11, 2023
by
Joshua Gutow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-program: Remove println
parent
25b5f1cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
db_test.go
op-program/client/l2/db_test.go
+2
-1
goerli.go
op-program/verify/cmd/goerli.go
+1
-1
No files found.
op-program/client/l2/db_test.go
View file @
2d2075f1
package
l2
import
(
"fmt"
"math/big"
"testing"
...
...
@@ -54,7 +55,7 @@ func TestGet(t *testing.T) {
db
:=
NewOracleBackedDB
(
oracle
)
key
:=
make
([]
byte
,
common
.
HashLength
)
copy
(
rawdb
.
CodePrefix
,
key
)
p
rintln
(
key
[
0
])
fmt
.
P
rintln
(
key
[
0
])
expected
:=
[]
byte
{
1
,
2
,
3
}
oracle
.
Data
[
common
.
BytesToHash
(
key
)]
=
expected
val
,
err
:=
db
.
Get
(
key
)
...
...
op-program/verify/cmd/goerli.go
View file @
2d2075f1
...
...
@@ -98,7 +98,7 @@ func Run(l1RpcUrl string, l2RpcUrl string, l2OracleAddr common.Address) error {
defer
func
()
{
err
:=
os
.
RemoveAll
(
temp
)
if
err
!=
nil
{
p
rintln
(
"Failed to remove temp dir:"
+
err
.
Error
())
fmt
.
P
rintln
(
"Failed to remove temp dir:"
+
err
.
Error
())
}
}()
fmt
.
Printf
(
"Using temp dir: %s
\n
"
,
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