diff --git a/core/txpool/blobpool/blobpool_test.go b/core/txpool/blobpool/blobpool_test.go index 8b308a6510..0659d0ff32 100644 --- a/core/txpool/blobpool/blobpool_test.go +++ b/core/txpool/blobpool/blobpool_test.go @@ -1087,7 +1087,7 @@ func TestChangingSlotterSize(t *testing.T) { // Write the two safely sized txs to store. note: although the store is // configured for a blob count of 6, it can also support around ~1mb of call - // data - all this to say that we aren't using the the absolute largest shelf + // data - all this to say that we aren't using the absolute largest shelf // available. store.Put(blob1) store.Put(blob2) diff --git a/core/txpool/legacypool/legacypool_test.go b/core/txpool/legacypool/legacypool_test.go index 1e258ede39..f74841480e 100644 --- a/core/txpool/legacypool/legacypool_test.go +++ b/core/txpool/legacypool/legacypool_test.go @@ -2703,7 +2703,7 @@ func TestSetCodeTransactions(t *testing.T) { }, }, { - // This test is analogous to the previous one, but the the replaced + // This test is analogous to the previous one, but the replaced // transaction is self-sponsored. name: "allow-tx-from-replaced-self-sponsor-authority", pending: 3, diff --git a/core/types/tx_setcode.go b/core/types/tx_setcode.go index b8e38ef1f7..a85c744cfe 100644 --- a/core/types/tx_setcode.go +++ b/core/types/tx_setcode.go @@ -113,7 +113,7 @@ func (a *SetCodeAuthorization) sigHash() common.Hash { }) } -// Authority recovers the the authorizing account of an authorization. +// Authority recovers the authorizing account of an authorization. func (a *SetCodeAuthorization) Authority() (common.Address, error) { sighash := a.sigHash() if !crypto.ValidateSignatureValues(a.V, a.R.ToBig(), a.S.ToBig(), true) { diff --git a/docs/cli/snapshot_prune-block.md b/docs/cli/snapshot_prune-block.md index b3ae3d9d4f..13c25b53d9 100644 --- a/docs/cli/snapshot_prune-block.md +++ b/docs/cli/snapshot_prune-block.md @@ -5,7 +5,7 @@ The ```bor snapshot prune-block``` command will prune historical blockchain data The brief workflow as below: -1. backup the the number of specified number of blocks backward in original ancientdb into new ancient_backup, +1. backup the number of specified number of blocks backward in original ancientdb into new ancient_backup, 2. then delete the original ancientdb dir and rename the ancient_backup to original one for replacement, 3. finally assemble the statedb and new ancientdb together. diff --git a/internal/cli/snapshot.go b/internal/cli/snapshot.go index daee2ecb53..d59aff8c9a 100644 --- a/internal/cli/snapshot.go +++ b/internal/cli/snapshot.go @@ -229,7 +229,7 @@ func (c *PruneBlockCommand) MarkDown() string { ` The brief workflow as below: -1. backup the the number of specified number of blocks backward in original ancientdb into new ancient_backup, +1. backup the number of specified number of blocks backward in original ancientdb into new ancient_backup, 2. then delete the original ancientdb dir and rename the ancient_backup to original one for replacement, 3. finally assemble the statedb and new ancientdb together.