From fc545ee89fd907a20161195ef174e7d96d4beae3 Mon Sep 17 00:00:00 2001 From: Roger <50648015+RogerLamTd@users.noreply.github.com> Date: Thu, 2 Jan 2025 23:30:55 +0800 Subject: [PATCH] chore(taiko-client): fix docs (#18698) --- packages/taiko-client/driver/signer/fixed_k_signer.go | 2 +- packages/taiko-client/internal/testutils/helper.go | 2 +- packages/taiko-client/pkg/rpc/dial.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/taiko-client/driver/signer/fixed_k_signer.go b/packages/taiko-client/driver/signer/fixed_k_signer.go index de50decaf46..119c37ff3ec 100644 --- a/packages/taiko-client/driver/signer/fixed_k_signer.go +++ b/packages/taiko-client/driver/signer/fixed_k_signer.go @@ -13,7 +13,7 @@ var ( zero32 [32]byte ) -// FixedKSigner is a ethereum ECDSA signer who always sign payload with the given K value. +// FixedKSigner is an ethereum ECDSA signer who always sign payload with the given K value. // In theory K value is randomly selected in ECDSA algorithm's step 3: // https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm, // but here we use a fixed K value instead. diff --git a/packages/taiko-client/internal/testutils/helper.go b/packages/taiko-client/internal/testutils/helper.go index b7d94b8b8c5..169fd5866dd 100644 --- a/packages/taiko-client/internal/testutils/helper.go +++ b/packages/taiko-client/internal/testutils/helper.go @@ -74,7 +74,7 @@ func (s *ClientTestSuite) ProposeAndInsertEmptyBlocks( return metadataList } -// ProposeAndInsertValidBlock proposes an valid tx list and then insert it +// ProposeAndInsertValidBlock proposes a valid tx list and then insert it // into L2 execution engine's local chain. func (s *ClientTestSuite) ProposeAndInsertValidBlock( proposer Proposer, diff --git a/packages/taiko-client/pkg/rpc/dial.go b/packages/taiko-client/pkg/rpc/dial.go index 71b0a837740..e9649686525 100644 --- a/packages/taiko-client/pkg/rpc/dial.go +++ b/packages/taiko-client/pkg/rpc/dial.go @@ -11,7 +11,7 @@ import ( "github.com/ethereum/go-ethereum/rpc" ) -// DialClientWithBackoff connects a ethereum RPC client at the given URL with +// DialClientWithBackoff connects an ethereum RPC client at the given URL with // a backoff strategy. Added a retry limit so it doesn't retry endlessly func DialClientWithBackoff( ctx context.Context,