Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/state/pruner/pruner.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const (
// stateBloomFilePrefix is the filename prefix of state bloom filter.
stateBloomFilePrefix = "statebloom"

// stateBloomFilePrefix is the filename suffix of state bloom filter.
// stateBloomFileSuffix is the filename suffix of state bloom filter.
stateBloomFileSuffix = "bf.gz"

// stateBloomFileTempSuffix is the filename suffix of state bloom filter
Expand Down
2 changes: 1 addition & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ func (w *worker) commitTransactions(env *environment, plainTxs, blobTxs *transac
continue
}
// Abort transaction if it won't fit in the block and continue to search for a smaller
// transction that will fit.
// transaction that will fit.
if totalTxsSize := env.size + tx.Size(); totalTxsSize > targetTxsSize {
log.Trace("Skipping transaction that would exceed target size", "hash", tx.Hash(), "totalTxsSize", totalTxsSize, "txSize", tx.Size())
txs.Pop()
Expand Down
2 changes: 1 addition & 1 deletion plugin/evm/vm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ func TestConfigureLogLevel(t *testing.T) {
}
}

// If the VM was not initialized, do not attept to shut it down
// If the VM was not initialized, do not attempt to shut it down
if err == nil {
shutdownChan := make(chan error, 1)
shutdownFunc := func() {
Expand Down
2 changes: 1 addition & 1 deletion sync/statesync/trie_sync_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (t *trieSyncStats) incLeafs(segment *trieSegment, count uint64, remaining u
}
}

// estimateSegmentsInProgressTime retrns the ETA for all trie segments
// estimateSegmentsInProgressTime returns the ETA for all trie segments
// in progress to finish (uses the one with most remaining leafs to estimate).
func (t *trieSyncStats) estimateSegmentsInProgressTime() time.Duration {
if len(t.remainingLeafs) == 0 {
Expand Down
2 changes: 1 addition & 1 deletion warp/aggregator/aggregator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func TestAggregateSignatures(t *testing.T) {
expectedErr: nil,
},
{
name: "early termination of signature fetching on parent context cancelation",
name: "early termination of signature fetching on parent context cancellation",
contextWithCancelFunc: func() (context.Context, context.CancelFunc) {
ctx, cancel := context.WithCancel(context.Background())
cancel()
Expand Down
Loading