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
1271d834
Unverified
Commit
1271d834
authored
Feb 27, 2023
by
Michael de Hoog
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor formatting
parent
f1cd6c8b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
batch_submitter.go
op-batcher/batcher/batch_submitter.go
+2
-2
config.go
op-batcher/batcher/config.go
+1
-1
driver.go
op-batcher/batcher/driver.go
+1
-1
config.go
op-batcher/rpc/config.go
+2
-1
No files found.
op-batcher/batcher/batch_submitter.go
View file @
1271d834
...
...
@@ -3,20 +3,20 @@ package batcher
import
(
"context"
"fmt"
"github.com/ethereum-optimism/optimism/op-batcher/rpc"
_
"net/http/pprof"
"os"
"os/signal"
"syscall"
"time"
gethrpc
"github.com/ethereum/go-ethereum/rpc"
"github.com/urfave/cli"
"github.com/ethereum-optimism/optimism/op-batcher/rpc"
oplog
"github.com/ethereum-optimism/optimism/op-service/log"
opmetrics
"github.com/ethereum-optimism/optimism/op-service/metrics"
oppprof
"github.com/ethereum-optimism/optimism/op-service/pprof"
oprpc
"github.com/ethereum-optimism/optimism/op-service/rpc"
gethrpc
"github.com/ethereum/go-ethereum/rpc"
)
const
(
...
...
op-batcher/batcher/config.go
View file @
1271d834
package
batcher
import
(
"github.com/ethereum-optimism/optimism/op-batcher/rpc"
"time"
"github.com/ethereum/go-ethereum/common"
...
...
@@ -10,6 +9,7 @@ import (
"github.com/urfave/cli"
"github.com/ethereum-optimism/optimism/op-batcher/flags"
"github.com/ethereum-optimism/optimism/op-batcher/rpc"
"github.com/ethereum-optimism/optimism/op-node/rollup"
"github.com/ethereum-optimism/optimism/op-node/sources"
oplog
"github.com/ethereum-optimism/optimism/op-service/log"
...
...
op-batcher/batcher/driver.go
View file @
1271d834
...
...
@@ -129,8 +129,8 @@ func (l *BatchSubmitter) Start() error {
if
l
.
running
{
return
errors
.
New
(
"batcher is already running"
)
}
l
.
running
=
true
l
.
done
=
make
(
chan
struct
{})
// TODO: this context only exists because the event loop doesn't reach done
// if the tx manager is blocking forever due to e.g. insufficient balance.
...
...
op-batcher/rpc/config.go
View file @
1271d834
package
rpc
import
(
"github.com/urfave/cli"
opservice
"github.com/ethereum-optimism/optimism/op-service"
oprpc
"github.com/ethereum-optimism/optimism/op-service/rpc"
"github.com/urfave/cli"
)
const
(
...
...
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