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
b76fd743
Unverified
Commit
b76fd743
authored
Jun 14, 2024
by
Kim
Committed by
GitHub
Jun 14, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary cgo binding in test (#10825)
parent
f5314484
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
go.mod
go.mod
+2
-2
channel_test.go
op-node/rollup/derive/channel_test.go
+4
-3
No files found.
go.mod
View file @
b76fd743
...
...
@@ -3,7 +3,6 @@ module github.com/ethereum-optimism/optimism
go 1.21
require (
github.com/DataDog/zstd v1.5.5
github.com/andybalholm/brotli v1.1.0
github.com/btcsuite/btcd v0.24.0
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
...
...
@@ -25,6 +24,7 @@ require (
github.com/holiman/uint256 v1.2.4
github.com/ipfs/go-datastore v0.6.0
github.com/ipfs/go-ds-leveldb v0.5.0
github.com/klauspost/compress v1.17.8
github.com/libp2p/go-libp2p v0.35.0
github.com/libp2p/go-libp2p-mplex v0.9.0
github.com/libp2p/go-libp2p-pubsub v0.11.0
...
...
@@ -49,6 +49,7 @@ require (
)
require (
github.com/DataDog/zstd v1.5.5 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/VictoriaMetrics/fastcache v1.12.1 // indirect
github.com/allegro/bigcache v1.2.1 // indirect
...
...
@@ -126,7 +127,6 @@ require (
github.com/jbenet/goprocess v0.1.4 // indirect
github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267 // indirect
github.com/karalabe/usb v0.0.3-0.20230711191512-61db3e06439c // indirect
github.com/klauspost/compress v1.17.8 // indirect
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
github.com/koron/go-ssdp v0.0.4 // indirect
github.com/kr/pretty v0.3.1 // indirect
...
...
op-node/rollup/derive/channel_test.go
View file @
b76fd743
...
...
@@ -7,9 +7,9 @@ import (
"math/rand"
"testing"
"github.com/DataDog/zstd"
"github.com/andybalholm/brotli"
"github.com/ethereum-optimism/optimism/op-service/eth"
"github.com/klauspost/compress/zstd"
"github.com/stretchr/testify/require"
)
...
...
@@ -143,8 +143,9 @@ func TestBatchReader(t *testing.T) {
case
ca
==
Zstd
:
// invalid algo
return
func
(
buf
*
bytes
.
Buffer
,
t
*
testing
.
T
)
{
buf
.
WriteByte
(
0x02
)
// invalid channel version byte
writer
:=
zstd
.
NewWriter
(
buf
)
_
,
err
:=
writer
.
Write
(
encodedBatch
.
Bytes
())
writer
,
err
:=
zstd
.
NewWriter
(
buf
)
require
.
NoError
(
t
,
err
)
_
,
err
=
writer
.
Write
(
encodedBatch
.
Bytes
())
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
writer
.
Close
())
}
...
...
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