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
10238744
Unverified
Commit
10238744
authored
1 year ago
by
Taeguk Kwon
Committed by
GitHub
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indexer: fix incorrect prefix of comments (#8755)
parent
7356d562
develop
exchain
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
bridge_transactions.go
indexer/database/bridge_transactions.go
+1
-1
l1_bridge_processor.go
indexer/processors/bridge/l1_bridge_processor.go
+1
-1
l2_bridge_processor.go
indexer/processors/bridge/l2_bridge_processor.go
+1
-1
legacy_bridge_processor.go
indexer/processors/bridge/legacy_bridge_processor.go
+2
-2
No files found.
indexer/database/bridge_transactions.go
View file @
10238744
...
...
@@ -197,7 +197,7 @@ func (db *bridgeTransactionsDB) MarkL2TransactionWithdrawalProvenEvent(withdrawa
return
result
.
Error
}
// MarkL2TransactionWithdrawal
Proven
Event links a withdrawn transaction in its finalized state
// MarkL2TransactionWithdrawal
Finalized
Event links a withdrawn transaction in its finalized state
func
(
db
*
bridgeTransactionsDB
)
MarkL2TransactionWithdrawalFinalizedEvent
(
withdrawalHash
common
.
Hash
,
finalizedL1EventGuid
uuid
.
UUID
,
succeeded
bool
)
error
{
withdrawal
,
err
:=
db
.
L2TransactionWithdrawal
(
withdrawalHash
)
if
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
indexer/processors/bridge/l1_bridge_processor.go
View file @
10238744
...
...
@@ -141,7 +141,7 @@ func L1ProcessInitiatedBridgeEvents(log log.Logger, db *database.DB, metrics L1M
return
nil
}
// L1ProcessFinalizedBridgeEvent will query the database for all the finalization markers for all initiated
// L1ProcessFinalizedBridgeEvent
s
will query the database for all the finalization markers for all initiated
// bridge events. This covers every part of the multi-layered stack:
// 1. OptimismPortal (Bedrock prove & finalize steps)
// 2. L1CrossDomainMessenger (relayMessage marker)
...
...
This diff is collapsed.
Click to expand it.
indexer/processors/bridge/l2_bridge_processor.go
View file @
10238744
...
...
@@ -136,7 +136,7 @@ func L2ProcessInitiatedBridgeEvents(log log.Logger, db *database.DB, metrics L2M
return
nil
}
// L2ProcessFinalizedBridgeEvent will query the database for all the finalization markers for all initiated
// L2ProcessFinalizedBridgeEvent
s
will query the database for all the finalization markers for all initiated
// bridge events. This covers every part of the multi-layered stack:
// 1. L2CrossDomainMessenger (relayMessage marker)
// 2. L2StandardBridge (no-op, since this is simply a wrapper over the L2CrossDomainMEssenger)
...
...
This diff is collapsed.
Click to expand it.
indexer/processors/bridge/legacy_bridge_processor.go
View file @
10238744
...
...
@@ -19,7 +19,7 @@ import (
// Legacy Bridge Initiation
// LegacyL1ProcessInitiatedEvents will query the data for bridge events within the specified block range
// LegacyL1ProcessInitiated
Bridge
Events will query the data for bridge events within the specified block range
// according the pre-bedrock protocol. This follows:
// 1. CanonicalTransactionChain
// 2. L1CrossDomainMessenger
...
...
@@ -143,7 +143,7 @@ func LegacyL1ProcessInitiatedBridgeEvents(log log.Logger, db *database.DB, metri
return
nil
}
// LegacyL2ProcessInitiatedEvents will query the data for bridge events within the specified block range
// LegacyL2ProcessInitiated
Bridge
Events will query the data for bridge events within the specified block range
// according the pre-bedrock protocol. This follows:
// 1. L2CrossDomainMessenger - The LegacyMessagePasser contract cannot be used as entrypoint to bridge transactions from L2. The protocol
// only allows the L2CrossDomainMessenger as the sole sender when relaying a bridged message.
...
...
This diff is collapsed.
Click to expand it.
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