Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove repetitive words #12311

Closed
wants to merge 2 commits into from
Closed
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 .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
4 changes: 2 additions & 2 deletions contracts/src/v0.4/Aggregator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ contract Aggregator is AggregatorInterface, ChainlinkClient, Ownable {
/**
* @dev Prevents taking an action if the minimum number of responses has not
* been received for an answer.
* @param _answerId The the identifier of the answer that keeps track of the responses.
* @param _answerId The identifier of the answer that keeps track of the responses.
*/
modifier ensureMinResponsesReceived(uint256 _answerId) {
if (answers[_answerId].responses.length >= answers[_answerId].minimumResponses) {
Expand All @@ -380,7 +380,7 @@ contract Aggregator is AggregatorInterface, ChainlinkClient, Ownable {

/**
* @dev Prevents taking an action if not all responses are received for an answer.
* @param _answerId The the identifier of the answer that keeps track of the responses.
* @param _answerId The identifier of the answer that keeps track of the responses.
*/
modifier ensureAllResponsesReceived(uint256 _answerId) {
if (answers[_answerId].responses.length == answers[_answerId].maxResponses) {
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
Loading