diff --git a/.changeset/smooth-suits-provide.md b/.changeset/smooth-suits-provide.md new file mode 100644 index 00000000000..aefafb54ad3 --- /dev/null +++ b/.changeset/smooth-suits-provide.md @@ -0,0 +1,5 @@ +--- +"chainlink": patch +--- + +docs: remove repeated words in documentation and comments diff --git a/.github/tracing/tempo.yaml b/.github/tracing/tempo.yaml index e61f744f78b..aa8c0ecbf0f 100644 --- a/.github/tracing/tempo.yaml +++ b/.github/tracing/tempo.yaml @@ -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 \ No newline at end of file diff --git a/charts/chainlink-cluster/values.yaml b/charts/chainlink-cluster/values.yaml index b0866574c90..71db2e7c68f 100644 --- a/charts/chainlink-cluster/values.yaml +++ b/charts/chainlink-cluster/values.yaml @@ -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 diff --git a/core/chains/evm/txmgr/evm_tx_store.go b/core/chains/evm/txmgr/evm_tx_store.go index 9fe347b7a9f..016b3069282 100644 --- a/core/chains/evm/txmgr/evm_tx_store.go +++ b/core/chains/evm/txmgr/evm_tx_store.go @@ -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 { diff --git a/core/gethwrappers/README.md b/core/gethwrappers/README.md index 07830f44201..00ba8c31b20 100644 --- a/core/gethwrappers/README.md +++ b/core/gethwrappers/README.md @@ -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. ``` diff --git a/core/services/fluxmonitorv2/integrations_test.go b/core/services/fluxmonitorv2/integrations_test.go index 3fbbdd8925f..1e778ed0857 100644 --- a/core/services/fluxmonitorv2/integrations_test.go +++ b/core/services/fluxmonitorv2/integrations_test.go @@ -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, diff --git a/core/services/keystore/keys/vrfkey/private_key.go b/core/services/keystore/keys/vrfkey/private_key.go index 667ddadab47..dd2545fdd28 100644 --- a/core/services/keystore/keys/vrfkey/private_key.go +++ b/core/services/keystore/keys/vrfkey/private_key.go @@ -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 { diff --git a/core/services/ocr2/plugins/ocr2vrf/coordinator/coordinator.go b/core/services/ocr2/plugins/ocr2vrf/coordinator/coordinator.go index 4c4acc57ff8..e7688556124 100644 --- a/core/services/ocr2/plugins/ocr2vrf/coordinator/coordinator.go +++ b/core/services/ocr2/plugins/ocr2vrf/coordinator/coordinator.go @@ -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{ diff --git a/core/web/presenters/job.go b/core/web/presenters/job.go index ca4bec64bca..3e3d0335afb 100644 --- a/core/web/presenters/job.go +++ b/core/web/presenters/job.go @@ -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 { diff --git a/core/web/resolver/job_proposal_spec.go b/core/web/resolver/job_proposal_spec.go index 878b592e6e2..1bbef514936 100644 --- a/core/web/resolver/job_proposal_spec.go +++ b/core/web/resolver/job_proposal_spec.go @@ -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} diff --git a/core/web/resolver/plugins.go b/core/web/resolver/plugins.go index f6fda3cf72d..187bd7977b7 100644 --- a/core/web/resolver/plugins.go +++ b/core/web/resolver/plugins.go @@ -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 }