Skip to content

Commit

Permalink
chore: remove redundant words in comment (#715)
Browse files Browse the repository at this point in the history
Signed-off-by: depthlending <[email protected]>
  • Loading branch information
depthlending authored Dec 12, 2024
1 parent d0a87de commit d59df31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chain-abstraction/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ type ReadOnlyEdge interface {
// The inherited timer from the edge's children or claiming edges based on the latest block number.
// NOT reorg safe.
LatestInheritedTimer(ctx context.Context) (InheritedTimer, error)
// The inherited timer from the edge's children or claiming edges based on the the safe block number.
// The inherited timer from the edge's children or claiming edges based on the safe block number.
SafeHeadInheritedTimer(ctx context.Context) (InheritedTimer, error)
// Whether or not an edge has rivals.
HasRival(ctx context.Context) (bool, error)
Expand Down
2 changes: 1 addition & 1 deletion testing/endtoend/e2e_crash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func TestEndToEnd_HonestValidatorCrashes(t *testing.T) {

isChallengeChild := parent.FirstChildBlock > 0 && parent.SecondChildBlock > 0
if !isChallengeChild {
// Assertion must be be a challenge child.
// Assertion must be a challenge child.
continue
}
// We expect the honest party to have confirmed it.
Expand Down
2 changes: 1 addition & 1 deletion testing/mocks/state-provider/layer2_state_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// https://github.com/offchainlabs/bold/blob/main/LICENSE.md

// Package stateprovider defines smarter mocks for testing purposes that can
// simulate a layer 2 state provider and and layer 2 state execution.
// simulate a layer 2 state provider and layer 2 state execution.
package stateprovider

import (
Expand Down

0 comments on commit d59df31

Please sign in to comment.