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
4598d7d1
Unverified
Commit
4598d7d1
authored
Aug 16, 2021
by
Mark Tyneway
Committed by
GitHub
Aug 16, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1341 from ethereum-optimism/cleanup/l2geth-rollup-client-style
l2geth: rollup client style
parents
09372ad9
4cf68ade
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
selfish-chairs-thank.md
.changeset/selfish-chairs-thank.md
+5
-0
client.go
l2geth/rollup/client.go
+4
-3
No files found.
.changeset/selfish-chairs-thank.md
0 → 100644
View file @
4598d7d1
---
'
@eth-optimism/l2geth'
:
patch
---
Style fix in the
`RollupClient`
l2geth/rollup/client.go
View file @
4598d7d1
...
...
@@ -331,11 +331,12 @@ func batchedTransactionToTransaction(res *transaction, signer *types.EIP155Signe
// The queue origin must be either sequencer of l1, otherwise
// it is considered an unknown queue origin and will not be processed
var
queueOrigin
types
.
QueueOrigin
if
res
.
QueueOrigin
==
sequencer
{
switch
res
.
QueueOrigin
{
case
sequencer
:
queueOrigin
=
types
.
QueueOriginSequencer
}
else
if
res
.
QueueOrigin
==
l1
{
case
l1
:
queueOrigin
=
types
.
QueueOriginL1ToL2
}
else
{
default
:
return
nil
,
fmt
.
Errorf
(
"Unknown queue origin: %s"
,
res
.
QueueOrigin
)
}
// Transactions that have been decoded are
...
...
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