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
ee39f95e
Commit
ee39f95e
authored
Nov 09, 2023
by
joohhnnn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix format from 'make lint-go'
parent
dd9c9965
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
23 deletions
+20
-23
main.go
op-proposer/cmd/main.go
+0
-1
noop.go
op-proposer/metrics/noop.go
+1
-1
config.go
op-proposer/proposer/config.go
+0
-1
driver.go
op-proposer/proposer/driver.go
+8
-9
service.go
op-proposer/proposer/service.go
+11
-11
No files found.
op-proposer/cmd/main.go
View file @
ee39f95e
...
@@ -43,4 +43,3 @@ func main() {
...
@@ -43,4 +43,3 @@ func main() {
log
.
Crit
(
"Application failed"
,
"message"
,
err
)
log
.
Crit
(
"Application failed"
,
"message"
,
err
)
}
}
}
}
op-proposer/metrics/noop.go
View file @
ee39f95e
op-proposer/proposer/config.go
View file @
ee39f95e
...
@@ -6,7 +6,6 @@ import (
...
@@ -6,7 +6,6 @@ import (
"github.com/urfave/cli/v2"
"github.com/urfave/cli/v2"
"github.com/ethereum-optimism/optimism/op-proposer/flags"
"github.com/ethereum-optimism/optimism/op-proposer/flags"
oplog
"github.com/ethereum-optimism/optimism/op-service/log"
oplog
"github.com/ethereum-optimism/optimism/op-service/log"
opmetrics
"github.com/ethereum-optimism/optimism/op-service/metrics"
opmetrics
"github.com/ethereum-optimism/optimism/op-service/metrics"
oppprof
"github.com/ethereum-optimism/optimism/op-service/pprof"
oppprof
"github.com/ethereum-optimism/optimism/op-service/pprof"
...
...
op-proposer/proposer/driver.go
View file @
ee39f95e
...
@@ -9,7 +9,6 @@ import (
...
@@ -9,7 +9,6 @@ import (
"sync"
"sync"
"time"
"time"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
...
@@ -132,7 +131,7 @@ func (l *L2OutputSubmitter) StopL2OutputSubmittingIfRunning() error {
...
@@ -132,7 +131,7 @@ func (l *L2OutputSubmitter) StopL2OutputSubmittingIfRunning() error {
return
err
return
err
}
}
func
(
l
*
L2OutputSubmitter
)
StopL2OutputSubmitting
()
error
{
func
(
l
*
L2OutputSubmitter
)
StopL2OutputSubmitting
()
error
{
l
.
Log
.
Info
(
"Stopping Proposer"
)
l
.
Log
.
Info
(
"Stopping Proposer"
)
l
.
mutex
.
Lock
()
l
.
mutex
.
Lock
()
...
...
op-proposer/proposer/service.go
View file @
ee39f95e
...
@@ -26,7 +26,7 @@ import (
...
@@ -26,7 +26,7 @@ import (
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/log"
)
)
type
ProposerConfig
struct
{
type
ProposerConfig
struct
{
// How frequently to poll L2 for new finalized outputs
// How frequently to poll L2 for new finalized outputs
PollInterval
time
.
Duration
PollInterval
time
.
Duration
NetworkTimeout
time
.
Duration
NetworkTimeout
time
.
Duration
...
@@ -39,7 +39,7 @@ type ProposerConfig struct{
...
@@ -39,7 +39,7 @@ type ProposerConfig struct{
AllowNonFinalized
bool
AllowNonFinalized
bool
}
}
type
ProposerService
struct
{
type
ProposerService
struct
{
Log
log
.
Logger
Log
log
.
Logger
Metrics
metrics
.
Metricer
Metrics
metrics
.
Metricer
...
...
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