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

Update comment typo #3591

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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 etherman/etherman.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func SequencedBatchesSigHash() common.Hash { return sequenceBatchesSignatureHash
// TrustedVerifyBatchesSigHash returns the hash for the `TrustedVerifyBatches` event.
func TrustedVerifyBatchesSigHash() common.Hash { return verifyBatchesTrustedAggregatorSignatureHash }

// EventOrder is the the type used to identify the events order
// EventOrder is the type used to identify the events order
type EventOrder string

const (
Expand Down
2 changes: 1 addition & 1 deletion ethtxmanager/ethtxmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ func (c *Client) monitorTx(ctx context.Context, mTx monitoredTx, logger *log.Log
}
}

// shouldContinueToMonitorThisTx checks the the tx receipt and decides if it should
// shouldContinueToMonitorThisTx checks the tx receipt and decides if it should
// continue or not to monitor the monitored tx related to the tx from this receipt
func (c *Client) shouldContinueToMonitorThisTx(ctx context.Context, receipt types.Receipt) bool {
// if the receipt has a is successful result, stop monitoring
Expand Down
2 changes: 1 addition & 1 deletion state/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var (
// ErrExistingTxGreaterThanProcessedTx indicates that we have more txs stored
// in db than the txs we want to process.
ErrExistingTxGreaterThanProcessedTx = errors.New("there are more transactions in the database than in the processed transaction set")
// ErrOutOfOrderProcessedTx indicates the the processed transactions of an
// ErrOutOfOrderProcessedTx indicates the processed transactions of an
// ongoing batch are not in the same order as the transactions stored in the
// database for the same batch.
ErrOutOfOrderProcessedTx = errors.New("the processed transactions are not in the same order as the stored transactions")
Expand Down