Skip to content

Commit

Permalink
chore: fix function names in comment (#10535)
Browse files Browse the repository at this point in the history
Signed-off-by: petercover <[email protected]>
  • Loading branch information
petercover authored May 14, 2024
1 parent 95d39a7 commit 5e5d3f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions op-service/txmgr/txmgr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func TestAlreadyReserved(t *testing.T) {
require.ErrorIs(t, err, ErrAlreadyReserved)
}

// TestTxMgrConfirmsAtMaxGasPrice asserts that Send properly returns the max gas
// TestTxMgrConfirmsAtHigherGasPrice asserts that Send properly returns the max gas
// price receipt if none of the lower gas price txs were mined.
func TestTxMgrConfirmsAtHigherGasPrice(t *testing.T) {
t.Parallel()
Expand Down Expand Up @@ -439,7 +439,7 @@ func TestTxMgrConfirmsAtHigherGasPrice(t *testing.T) {
require.Equal(t, h.gasPricer.expGasFeeCap().Uint64(), receipt.GasUsed)
}

// TestTxMgrConfirmsBlobTxAtMaxGasPrice asserts that Send properly returns the max gas price
// TestTxMgrConfirmsBlobTxAtHigherGasPrice asserts that Send properly returns the max gas price
// receipt if none of the lower gas price txs were mined when attempting to send a blob tx.
func TestTxMgrConfirmsBlobTxAtHigherGasPrice(t *testing.T) {
t.Parallel()
Expand Down
2 changes: 1 addition & 1 deletion op-wheel/engine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func Copy(ctx context.Context, copyFrom client.RPC, copyTo *sources.EngineAPICli
return nil
}

// CopyPaylod takes the execution payload at number & applies it via NewPayload to copyTo
// CopyPayload takes the execution payload at number & applies it via NewPayload to copyTo
func CopyPayload(ctx context.Context, number uint64, copyFrom client.RPC, copyTo *sources.EngineAPIClient) error {
copyHead, err := getBlock(ctx, copyFrom, methodEthGetBlockByNumber, hexutil.EncodeUint64(number))
if err != nil {
Expand Down

0 comments on commit 5e5d3f7

Please sign in to comment.