From 5e5d3f70e06944a3a06b087cef1c4e73059f0b16 Mon Sep 17 00:00:00 2001 From: petercover Date: Wed, 15 May 2024 00:03:31 +0800 Subject: [PATCH] chore: fix function names in comment (#10535) Signed-off-by: petercover --- op-service/txmgr/txmgr_test.go | 4 ++-- op-wheel/engine/engine.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/op-service/txmgr/txmgr_test.go b/op-service/txmgr/txmgr_test.go index e404ea9de761..e9d788a3264d 100644 --- a/op-service/txmgr/txmgr_test.go +++ b/op-service/txmgr/txmgr_test.go @@ -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() @@ -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() diff --git a/op-wheel/engine/engine.go b/op-wheel/engine/engine.go index c715d659afb8..f76fc753ac4b 100644 --- a/op-wheel/engine/engine.go +++ b/op-wheel/engine/engine.go @@ -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 {