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
aec9b8ea
Unverified
Commit
aec9b8ea
authored
May 23, 2024
by
yumeiyin
Committed by
GitHub
May 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix some function names (#10631)
parent
6bb19e32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bridge_transfers.go
indexer/database/bridge_transfers.go
+1
-1
channel_manager_test.go
op-batcher/batcher/channel_manager_test.go
+1
-1
No files found.
indexer/database/bridge_transfers.go
View file @
aec9b8ea
...
@@ -307,7 +307,7 @@ type L2BridgeWithdrawalsResponse struct {
...
@@ -307,7 +307,7 @@ type L2BridgeWithdrawalsResponse struct {
HasNextPage
bool
HasNextPage
bool
}
}
// L2Bridge
Deposit
sByAddress retrieves a list of deposits initiated by the specified address, coupled with the L1/L2 transaction hashes
// L2Bridge
Withdrawal
sByAddress retrieves a list of deposits initiated by the specified address, coupled with the L1/L2 transaction hashes
// that complete the bridge transaction. The hashes that correspond with the Bedrock multi-step withdrawal process are also surfaced
// that complete the bridge transaction. The hashes that correspond with the Bedrock multi-step withdrawal process are also surfaced
func
(
db
*
bridgeTransfersDB
)
L2BridgeWithdrawalsByAddress
(
address
common
.
Address
,
cursor
string
,
limit
int
)
(
*
L2BridgeWithdrawalsResponse
,
error
)
{
func
(
db
*
bridgeTransfersDB
)
L2BridgeWithdrawalsByAddress
(
address
common
.
Address
,
cursor
string
,
limit
int
)
(
*
L2BridgeWithdrawalsResponse
,
error
)
{
if
limit
<=
0
{
if
limit
<=
0
{
...
...
op-batcher/batcher/channel_manager_test.go
View file @
aec9b8ea
...
@@ -283,7 +283,7 @@ func ChannelManagerCloseNoPendingChannel(t *testing.T, batchType uint) {
...
@@ -283,7 +283,7 @@ func ChannelManagerCloseNoPendingChannel(t *testing.T, batchType uint) {
require
.
ErrorIs
(
err
,
io
.
EOF
,
"Expected closed channel manager to return no new tx data"
)
require
.
ErrorIs
(
err
,
io
.
EOF
,
"Expected closed channel manager to return no new tx data"
)
}
}
// ChannelManagerClose
No
PendingChannel ensures that the channel manager
// ChannelManagerClosePendingChannel ensures that the channel manager
// can gracefully close with a pending channel, and will not produce any
// can gracefully close with a pending channel, and will not produce any
// new channel frames after this point.
// new channel frames after this point.
func
ChannelManagerClosePendingChannel
(
t
*
testing
.
T
,
batchType
uint
)
{
func
ChannelManagerClosePendingChannel
(
t
*
testing
.
T
,
batchType
uint
)
{
...
...
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