Commit 5e5d3f70 authored by petercover's avatar petercover Committed by GitHub

chore: fix function names in comment (#10535)

Signed-off-by: default avatarpetercover <raowanxiang@outlook.com>
parent 95d39a7a
...@@ -409,7 +409,7 @@ func TestAlreadyReserved(t *testing.T) { ...@@ -409,7 +409,7 @@ func TestAlreadyReserved(t *testing.T) {
require.ErrorIs(t, err, ErrAlreadyReserved) 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. // price receipt if none of the lower gas price txs were mined.
func TestTxMgrConfirmsAtHigherGasPrice(t *testing.T) { func TestTxMgrConfirmsAtHigherGasPrice(t *testing.T) {
t.Parallel() t.Parallel()
...@@ -439,7 +439,7 @@ func TestTxMgrConfirmsAtHigherGasPrice(t *testing.T) { ...@@ -439,7 +439,7 @@ func TestTxMgrConfirmsAtHigherGasPrice(t *testing.T) {
require.Equal(t, h.gasPricer.expGasFeeCap().Uint64(), receipt.GasUsed) 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. // receipt if none of the lower gas price txs were mined when attempting to send a blob tx.
func TestTxMgrConfirmsBlobTxAtHigherGasPrice(t *testing.T) { func TestTxMgrConfirmsBlobTxAtHigherGasPrice(t *testing.T) {
t.Parallel() t.Parallel()
......
...@@ -331,7 +331,7 @@ func Copy(ctx context.Context, copyFrom client.RPC, copyTo *sources.EngineAPICli ...@@ -331,7 +331,7 @@ func Copy(ctx context.Context, copyFrom client.RPC, copyTo *sources.EngineAPICli
return nil 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 { func CopyPayload(ctx context.Context, number uint64, copyFrom client.RPC, copyTo *sources.EngineAPIClient) error {
copyHead, err := getBlock(ctx, copyFrom, methodEthGetBlockByNumber, hexutil.EncodeUint64(number)) copyHead, err := getBlock(ctx, copyFrom, methodEthGetBlockByNumber, hexutil.EncodeUint64(number))
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment