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
698b6406
Commit
698b6406
authored
Nov 29, 2023
by
Baptiste Oueriagli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nit(op-node): minor struct renaming
parent
4b3c59b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
calldata_source.go
op-node/rollup/derive/calldata_source.go
+4
-4
No files found.
op-node/rollup/derive/calldata_source.go
View file @
698b6406
...
@@ -41,8 +41,8 @@ func (ds *DataSourceFactory) OpenData(ctx context.Context, id eth.BlockID, batch
...
@@ -41,8 +41,8 @@ func (ds *DataSourceFactory) OpenData(ctx context.Context, id eth.BlockID, batch
return
NewDataSource
(
ctx
,
ds
.
log
,
ds
.
cfg
,
ds
.
fetcher
,
id
,
batcherAddr
)
return
NewDataSource
(
ctx
,
ds
.
log
,
ds
.
cfg
,
ds
.
fetcher
,
id
,
batcherAddr
)
}
}
//
minimalD
ataSourceConfig regroups the mandatory rollup.Config fields needed for DataFromEVMTransactions.
//
d
ataSourceConfig regroups the mandatory rollup.Config fields needed for DataFromEVMTransactions.
type
minimalD
ataSourceConfig
struct
{
type
d
ataSourceConfig
struct
{
l1Signer
types
.
Signer
l1Signer
types
.
Signer
batchInboxAddress
common
.
Address
batchInboxAddress
common
.
Address
}
}
...
@@ -56,7 +56,7 @@ type DataSource struct {
...
@@ -56,7 +56,7 @@ type DataSource struct {
data
[]
eth
.
Data
data
[]
eth
.
Data
// Required to re-attempt fetching
// Required to re-attempt fetching
id
eth
.
BlockID
id
eth
.
BlockID
cfg
minimalD
ataSourceConfig
cfg
d
ataSourceConfig
fetcher
L1TransactionFetcher
fetcher
L1TransactionFetcher
log
log
.
Logger
log
log
.
Logger
...
@@ -71,7 +71,7 @@ func NewDataSource(ctx context.Context, log log.Logger, cfg *rollup.Config, fetc
...
@@ -71,7 +71,7 @@ func NewDataSource(ctx context.Context, log log.Logger, cfg *rollup.Config, fetc
return
&
DataSource
{
return
&
DataSource
{
open
:
false
,
open
:
false
,
id
:
block
,
id
:
block
,
cfg
:
minimalD
ataSourceConfig
{
cfg
:
d
ataSourceConfig
{
l1Signer
:
cfg
.
L1Signer
(),
l1Signer
:
cfg
.
L1Signer
(),
batchInboxAddress
:
cfg
.
BatchInboxAddress
,
batchInboxAddress
:
cfg
.
BatchInboxAddress
,
},
},
...
...
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