Skip to content

Commit f47031b

Browse files
authored
Merge pull request #8237 from xiaolinny/master
chore: remove repetitive word in comment
2 parents 0f22a33 + c9bc028 commit f47031b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

engine/execution/storehouse/executing_block_snapshot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (s *ExecutingBlockSnapshot) getFromUpdates(id flow.RegisterID) (flow.Regist
5353
return value, ok
5454
}
5555

56-
// Extend returns a new storage snapshot at the same block but but for a different state commitment,
56+
// Extend returns a new storage snapshot at the same block but for a different state commitment,
5757
// which contains the given registerUpdates
5858
// Usually it's used to create a new storage snapshot at the next executed collection.
5959
// The registerUpdates contains the register updates at the executed collection.

fvm/evm/offchain/blocks/blocks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (b *Blocks) PushBlockMeta(
8383
return b.storeBlockMetaData(meta)
8484
}
8585

86-
// PushBlockHash pushes a new block block hash into the storage
86+
// PushBlockHash pushes a new block hash into the storage
8787
func (b *Blocks) PushBlockHash(
8888
height uint64,
8989
hash gethCommon.Hash,

fvm/storage/snapshot/snapshot_tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func NewSnapshotTree(base StorageSnapshot) SnapshotTree {
2828
}
2929

3030
// Append returns a new tree with updates from the execution snapshot "applied"
31-
// to the original original tree.
31+
// to the original tree.
3232
func (tree SnapshotTree) Append(
3333
update *ExecutionSnapshot,
3434
) SnapshotTree {

integration/client/execution_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type ExecutionClient struct {
1515
close func() error
1616
}
1717

18-
// NewExecutionClient initializes an execution client client with the default gRPC provider.
18+
// NewExecutionClient initializes an execution client with the default gRPC provider.
1919
//
2020
// An error will be returned if the host is unreachable.
2121
func NewExecutionClient(addr string) (*ExecutionClient, error) {

model/flow/chain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
// A ChainID is a unique identifier for a specific Flow network instance.
1212
//
13-
// Chain IDs are used used to prevent replay attacks and to support network-specific address generation.
13+
// Chain IDs are used to prevent replay attacks and to support network-specific address generation.
1414
type ChainID string
1515
type ChainIDList []ChainID
1616

network/stub/hub.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (h *Hub) DeliverAllEventually(t *testing.T, condition func() bool) {
4747
h.DeliverAllEventuallyUntil(t, condition, time.Second*10, time.Millisecond*500)
4848
}
4949

50-
// DeliverAllEventuallyUntil attempts attempts on delivery of all the buffered messages in the Network instances
50+
// DeliverAllEventuallyUntil attempts on delivery of all the buffered messages in the Network instances
5151
// attached to this instance of Hub. Once the delivery is done, it evaluates and returns the
5252
// condition function. It fails if delivery of all buffered messages in the Network instances
5353
// attached to this Hub is not getting done within `waitFor` time interval.

0 commit comments

Comments
 (0)