Skip to content

Commit

Permalink
chore: make function comments match function names
Browse files Browse the repository at this point in the history
Signed-off-by: piguagua <[email protected]>
  • Loading branch information
piguagua committed Jun 10, 2024
1 parent a5404e3 commit b03d35c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion indexer/database/bridge_transfers.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ type L2BridgeWithdrawalsResponse struct {
HasNextPage bool
}

// L2BridgeDepositsByAddress retrieves a list of deposits initiated by the specified address, coupled with the L1/L2 transaction hashes
// L2BridgeWithdrawalsByAddress 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
func (db *bridgeTransfersDB) L2BridgeWithdrawalsByAddress(address common.Address, cursor string, limit int) (*L2BridgeWithdrawalsResponse, error) {
if limit <= 0 {
Expand Down
2 changes: 1 addition & 1 deletion op-batcher/batcher/channel_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

// ChannelManagerCloseNoPendingChannel ensures that the channel manager
// ChannelManagerClosePendingChannel ensures that the channel manager
// can gracefully close with a pending channel, and will not produce any
// new channel frames after this point.
func ChannelManagerClosePendingChannel(t *testing.T, batchType uint) {
Expand Down
2 changes: 1 addition & 1 deletion op-batcher/compressor/shadow_compressor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func TestShadowCompressor(t *testing.T) {
}
}

// TestBoundInaccruateForLargeRandomData documents where our bounding heuristic starts to fail
// TestBoundInaccurateForLargeRandomData documents where our bounding heuristic starts to fail
// (writing at least 128k of random data)
func TestBoundInaccurateForLargeRandomData(t *testing.T) {
const sizeLimit = 1 << 17
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/crossdomain/message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestEncode(t *testing.T) {
})
}

// TestEncode tests the hash of a CrossDomainMessage. The assertion was
// TestHash tests the hash of a CrossDomainMessage. The assertion was
// created using solidity.
func TestHash(t *testing.T) {
t.Parallel()
Expand Down

0 comments on commit b03d35c

Please sign in to comment.