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
fd3d7c91
Commit
fd3d7c91
authored
Dec 19, 2022
by
Joshua Gutow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-batcher: Reorganize files
This places most of the files into a single folder.
parent
740e63d1
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
12 deletions
+11
-12
batch_submitter.go
op-batcher/batcher/batch_submitter.go
+1
-1
channel_manager.go
op-batcher/batcher/channel_manager.go
+1
-1
config.go
op-batcher/batcher/config.go
+1
-1
driver.go
op-batcher/batcher/driver.go
+3
-4
seq_driver.go
op-batcher/batcher/seq_driver.go
+2
-2
txmgr.go
op-batcher/batcher/txmgr.go
+1
-1
utils.go
op-batcher/batcher/utils.go
+1
-1
main.go
op-batcher/cmd/main.go
+1
-1
No files found.
op-batcher/batch_submitter.go
→
op-batcher/batch
er/batch
_submitter.go
View file @
fd3d7c91
package
op_
batcher
package
batcher
import
(
import
(
"context"
"context"
...
...
op-batcher/channel_manager.go
→
op-batcher/
batcher/
channel_manager.go
View file @
fd3d7c91
package
op_
batcher
package
batcher
import
(
import
(
"bytes"
"bytes"
...
...
op-batcher/config.go
→
op-batcher/
batcher/
config.go
View file @
fd3d7c91
package
op_
batcher
package
batcher
import
(
import
(
"time"
"time"
...
...
op-batcher/driver.go
→
op-batcher/
batcher/
driver.go
View file @
fd3d7c91
package
op_
batcher
package
batcher
import
(
import
(
"context"
"context"
...
@@ -12,7 +12,6 @@ import (
...
@@ -12,7 +12,6 @@ import (
"time"
"time"
hdwallet
"github.com/ethereum-optimism/go-ethereum-hdwallet"
hdwallet
"github.com/ethereum-optimism/go-ethereum-hdwallet"
"github.com/ethereum-optimism/optimism/op-batcher/sequencer"
"github.com/ethereum-optimism/optimism/op-node/eth"
"github.com/ethereum-optimism/optimism/op-node/eth"
"github.com/ethereum-optimism/optimism/op-proposer/txmgr"
"github.com/ethereum-optimism/optimism/op-proposer/txmgr"
"github.com/ethereum/go-ethereum/accounts"
"github.com/ethereum/go-ethereum/accounts"
...
@@ -27,7 +26,7 @@ import (
...
@@ -27,7 +26,7 @@ import (
type
BatchSubmitter
struct
{
type
BatchSubmitter
struct
{
txMgr
*
TransactionManager
txMgr
*
TransactionManager
addr
common
.
Address
addr
common
.
Address
cfg
sequencer
.
Config
cfg
Driver
Config
wg
sync
.
WaitGroup
wg
sync
.
WaitGroup
done
chan
struct
{}
done
chan
struct
{}
log
log
.
Logger
log
log
.
Logger
...
@@ -141,7 +140,7 @@ func NewBatchSubmitterWithSigner(cfg Config, addr common.Address, signer SignerF
...
@@ -141,7 +140,7 @@ func NewBatchSubmitterWithSigner(cfg Config, addr common.Address, signer SignerF
SafeAbortNonceTooLowCount
:
cfg
.
SafeAbortNonceTooLowCount
,
SafeAbortNonceTooLowCount
:
cfg
.
SafeAbortNonceTooLowCount
,
}
}
batcherCfg
:=
sequencer
.
Config
{
batcherCfg
:=
Driver
Config
{
Log
:
l
,
Log
:
l
,
Name
:
"Batch Submitter"
,
Name
:
"Batch Submitter"
,
L1Client
:
l1Client
,
L1Client
:
l1Client
,
...
...
op-batcher/
sequencer/
driver.go
→
op-batcher/
batcher/seq_
driver.go
View file @
fd3d7c91
package
sequenc
er
package
batch
er
import
(
import
(
"math/big"
"math/big"
...
@@ -11,7 +11,7 @@ import (
...
@@ -11,7 +11,7 @@ import (
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/log"
)
)
type
Config
struct
{
type
Driver
Config
struct
{
Log
log
.
Logger
Log
log
.
Logger
Name
string
Name
string
...
...
op-batcher/txmgr.go
→
op-batcher/
batcher/
txmgr.go
View file @
fd3d7c91
package
op_
batcher
package
batcher
import
(
import
(
"context"
"context"
...
...
op-batcher/utils.go
→
op-batcher/
batcher/
utils.go
View file @
fd3d7c91
package
op_
batcher
package
batcher
import
(
import
(
"context"
"context"
...
...
op-batcher/cmd/main.go
View file @
fd3d7c91
...
@@ -6,7 +6,7 @@ import (
...
@@ -6,7 +6,7 @@ import (
"github.com/urfave/cli"
"github.com/urfave/cli"
batcher
"github.com/ethereum-optimism/optimism/op-
batcher"
"github.com/ethereum-optimism/optimism/op-batcher/
batcher"
"github.com/ethereum-optimism/optimism/op-batcher/flags"
"github.com/ethereum-optimism/optimism/op-batcher/flags"
oplog
"github.com/ethereum-optimism/optimism/op-service/log"
oplog
"github.com/ethereum-optimism/optimism/op-service/log"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/log"
...
...
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