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
9e8647e8
Unverified
Commit
9e8647e8
authored
Jul 13, 2023
by
Sanghee Choi
Committed by
GitHub
Jul 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: typo (#6268)
parent
8087e2b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
pipeline.go
op-node/rollup/derive/pipeline.go
+1
-1
driver.go
op-node/rollup/driver/driver.go
+1
-1
metrics.go
op-node/testutils/metrics.go
+3
-3
No files found.
op-node/rollup/derive/pipeline.go
View file @
9e8647e8
...
@@ -15,7 +15,7 @@ type Metrics interface {
...
@@ -15,7 +15,7 @@ type Metrics interface {
RecordL1Ref
(
name
string
,
ref
eth
.
L1BlockRef
)
RecordL1Ref
(
name
string
,
ref
eth
.
L1BlockRef
)
RecordL2Ref
(
name
string
,
ref
eth
.
L2BlockRef
)
RecordL2Ref
(
name
string
,
ref
eth
.
L2BlockRef
)
RecordUnsafePayloadsBuffer
(
length
uint64
,
memSize
uint64
,
next
eth
.
BlockID
)
RecordUnsafePayloadsBuffer
(
length
uint64
,
memSize
uint64
,
next
eth
.
BlockID
)
RecordChannelInputBytes
(
inputCompresedBytes
int
)
RecordChannelInputBytes
(
inputCompres
s
edBytes
int
)
}
}
type
L1Fetcher
interface
{
type
L1Fetcher
interface
{
...
...
op-node/rollup/driver/driver.go
View file @
9e8647e8
...
@@ -21,7 +21,7 @@ type Metrics interface {
...
@@ -21,7 +21,7 @@ type Metrics interface {
RecordL1Ref
(
name
string
,
ref
eth
.
L1BlockRef
)
RecordL1Ref
(
name
string
,
ref
eth
.
L1BlockRef
)
RecordL2Ref
(
name
string
,
ref
eth
.
L2BlockRef
)
RecordL2Ref
(
name
string
,
ref
eth
.
L2BlockRef
)
RecordChannelInputBytes
(
inputCompresedBytes
int
)
RecordChannelInputBytes
(
inputCompres
s
edBytes
int
)
RecordUnsafePayloadsBuffer
(
length
uint64
,
memSize
uint64
,
next
eth
.
BlockID
)
RecordUnsafePayloadsBuffer
(
length
uint64
,
memSize
uint64
,
next
eth
.
BlockID
)
...
...
op-node/testutils/metrics.go
View file @
9e8647e8
...
@@ -11,7 +11,7 @@ type TestDerivationMetrics struct {
...
@@ -11,7 +11,7 @@ type TestDerivationMetrics struct {
FnRecordL1Ref
func
(
name
string
,
ref
eth
.
L1BlockRef
)
FnRecordL1Ref
func
(
name
string
,
ref
eth
.
L1BlockRef
)
FnRecordL2Ref
func
(
name
string
,
ref
eth
.
L2BlockRef
)
FnRecordL2Ref
func
(
name
string
,
ref
eth
.
L2BlockRef
)
FnRecordUnsafePayloads
func
(
length
uint64
,
memSize
uint64
,
next
eth
.
BlockID
)
FnRecordUnsafePayloads
func
(
length
uint64
,
memSize
uint64
,
next
eth
.
BlockID
)
FnRecordChannelInputBytes
func
(
inputCompresedBytes
int
)
FnRecordChannelInputBytes
func
(
inputCompres
s
edBytes
int
)
}
}
func
(
t
*
TestDerivationMetrics
)
RecordL1ReorgDepth
(
d
uint64
)
{
func
(
t
*
TestDerivationMetrics
)
RecordL1ReorgDepth
(
d
uint64
)
{
...
@@ -38,9 +38,9 @@ func (t *TestDerivationMetrics) RecordUnsafePayloadsBuffer(length uint64, memSiz
...
@@ -38,9 +38,9 @@ func (t *TestDerivationMetrics) RecordUnsafePayloadsBuffer(length uint64, memSiz
}
}
}
}
func
(
t
*
TestDerivationMetrics
)
RecordChannelInputBytes
(
inputCompresedBytes
int
)
{
func
(
t
*
TestDerivationMetrics
)
RecordChannelInputBytes
(
inputCompres
s
edBytes
int
)
{
if
t
.
FnRecordChannelInputBytes
!=
nil
{
if
t
.
FnRecordChannelInputBytes
!=
nil
{
t
.
FnRecordChannelInputBytes
(
inputCompresedBytes
)
t
.
FnRecordChannelInputBytes
(
inputCompres
s
edBytes
)
}
}
}
}
...
...
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