Skip to content

Commit

Permalink
chore: remove repetitive words (#12518)
Browse files Browse the repository at this point in the history
* remove repetitive words

Signed-off-by: teslaedison <qingchengqiushuang@gmail.com>

* fix: add changeset

---------

Signed-off-by: teslaedison <qingchengqiushuang@gmail.com>
Co-authored-by: teslaedison <qingchengqiushuang@gmail.com>
  • Loading branch information
erikburt and teslaedison committed Mar 20, 2024
1 parent 6d15c3a commit e74aeab
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-suits-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

docs: remove repeated words in documentation and comments
2 changes: 1 addition & 1 deletion .github/tracing/tempo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ storage:
trace:
backend: local # backend configuration to use
wal:
path: /tmp/tempo/wal # where to store the the wal locally
path: /tmp/tempo/wal # where to store the wal locally
local:
path: /tmp/tempo/blocks
2 changes: 1 addition & 1 deletion charts/chainlink-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ tempo:
trace:
backend: local # backend configuration to use
wal:
path: /tmp/tempo/wal # where to store the the wal locally
path: /tmp/tempo/wal # where to store the wal locally
local:
path: /tmp/tempo/blocks

Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/txmgr/evm_tx_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var (
ErrCouldNotGetReceipt = "could not get receipt"
)

// EvmTxStore combines the txmgr tx store interface and the interface needed for the the API to read from the tx DB
// EvmTxStore combines the txmgr tx store interface and the interface needed for the API to read from the tx DB
//
//go:generate mockery --quiet --name EvmTxStore --output ./mocks/ --case=underscore
type EvmTxStore interface {
Expand Down
2 changes: 1 addition & 1 deletion core/gethwrappers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To reduce explicit dependencies, and in case the system does not have the
correct version of abigen installed , the above commands spin up docker
containers. In my hands, total running time including compilation is about
13s. If you're modifying solidity code and testing against go code a lot, it
might be worthwhile to generate the the wrappers using a static container
might be worthwhile to generate the wrappers using a static container
with abigen and solc, which will complete much faster. E.g.

```
Expand Down
2 changes: 1 addition & 1 deletion core/services/fluxmonitorv2/integrations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ ds1 -> ds1_parse
return lb.(log.BroadcasterInTest).TrackedAddressesCount()
}, testutils.WaitTimeout(t), 200*time.Millisecond).Should(gomega.BeNumerically(">=", 2))

// Have the the fake node start a new round
// Have the fake node start a new round
submitAnswer(t, answerParams{
fa: &fa,
roundId: 1,
Expand Down
2 changes: 1 addition & 1 deletion core/services/keystore/keys/vrfkey/private_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (k *PrivateKey) GoString() string {
// Decrypt returns the PrivateKey in e, decrypted via auth, or an error
func Decrypt(e EncryptedVRFKey, auth string) (*PrivateKey, error) {
// NOTE: We do this shuffle to an anonymous struct
// solely to add a a throwaway UUID, so we can leverage
// solely to add a throwaway UUID, so we can leverage
// the keystore.DecryptKey from the geth which requires it
// as of 1.10.0.
keyJSON, err := json.Marshal(struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ var (
}, promLabels)
promCallbacksToReport = promauto.NewHistogramVec(prometheus.HistogramOpts{
Name: "ocr2vrf_coordinator_callbacks_to_report",
Help: "Number of unfulfilled and and in-flight callbacks fit in current report in reportBlocks",
Help: "Number of unfulfilled and in-flight callbacks fit in current report in reportBlocks",
Buckets: counterBuckets,
}, promLabels)
promBlocksInReport = promauto.NewHistogramVec(prometheus.HistogramOpts{
Expand Down
2 changes: 1 addition & 1 deletion core/web/presenters/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/smartcontractkit/chainlink/v2/core/store/models"
)

// JobSpecType defines the the the spec type of the job
// JobSpecType defines the spec type of the job
type JobSpecType string

func (t JobSpecType) String() string {
Expand Down
2 changes: 1 addition & 1 deletion core/web/resolver/job_proposal_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (r *JobProposalSpecResolver) Status() SpecStatus {
return ToSpecStatus(r.spec.Status)
}

// StatusUpdatedAt resolves to the the last timestamp that the spec status was
// StatusUpdatedAt resolves to the last timestamp that the spec status was
// updated.
func (r *JobProposalSpecResolver) StatusUpdatedAt() graphql.Time {
return graphql.Time{Time: r.spec.StatusUpdatedAt}
Expand Down
8 changes: 4 additions & 4 deletions core/web/resolver/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ type PluginsResolver struct {
plugins feeds.Plugins
}

// Commit returns the the status of the commit plugin.
// Commit returns the status of the commit plugin.
func (r PluginsResolver) Commit() bool {
return r.plugins.Commit
}

// Execute returns the the status of the execute plugin.
// Execute returns the status of the execute plugin.
func (r PluginsResolver) Execute() bool {
return r.plugins.Execute
}

// Median returns the the status of the median plugin.
// Median returns the status of the median plugin.
func (r PluginsResolver) Median() bool {
return r.plugins.Median
}

// Mercury returns the the status of the mercury plugin.
// Mercury returns the status of the mercury plugin.
func (r PluginsResolver) Mercury() bool {
return r.plugins.Mercury
}
Expand Down

0 comments on commit e74aeab

Please sign in to comment.