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
030833df
Unverified
Commit
030833df
authored
Nov 23, 2022
by
Mark Tyneway
Committed by
GitHub
Nov 23, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4058 from neutiyoo/refactor/fix-typo
refactor: fix typo `NewTransactionManger`
parents
6a5fb480
55c3369f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
driver.go
op-batcher/driver.go
+1
-1
txmgr.go
op-batcher/txmgr.go
+1
-1
No files found.
op-batcher/driver.go
View file @
030833df
...
...
@@ -147,7 +147,7 @@ func NewBatchSubmitter(cfg Config, l log.Logger) (*BatchSubmitter, error) {
return
&
BatchSubmitter
{
cfg
:
batcherCfg
,
addr
:
addr
,
txMgr
:
NewTransactionManger
(
l
,
txManagerConfig
,
batchInboxAddress
,
chainID
,
sequencerPrivKey
,
l1Client
),
txMgr
:
NewTransactionMan
a
ger
(
l
,
txManagerConfig
,
batchInboxAddress
,
chainID
,
sequencerPrivKey
,
l1Client
),
done
:
make
(
chan
struct
{}),
log
:
l
,
state
:
NewChannelManager
(
l
,
cfg
.
ChannelTimeout
),
...
...
op-batcher/txmgr.go
View file @
030833df
...
...
@@ -31,7 +31,7 @@ type TransactionManager struct {
log
log
.
Logger
}
func
NewTransactionManger
(
log
log
.
Logger
,
txMgrConfg
txmgr
.
Config
,
batchInboxAddress
common
.
Address
,
chainID
*
big
.
Int
,
privKey
*
ecdsa
.
PrivateKey
,
l1Client
*
ethclient
.
Client
)
*
TransactionManager
{
func
NewTransactionMan
a
ger
(
log
log
.
Logger
,
txMgrConfg
txmgr
.
Config
,
batchInboxAddress
common
.
Address
,
chainID
*
big
.
Int
,
privKey
*
ecdsa
.
PrivateKey
,
l1Client
*
ethclient
.
Client
)
*
TransactionManager
{
signerFn
:=
func
(
rawTx
types
.
TxData
)
(
*
types
.
Transaction
,
error
)
{
return
types
.
SignNewTx
(
privKey
,
types
.
LatestSignerForChainID
(
chainID
),
rawTx
)
}
...
...
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