diff --git a/packages/docs-site/src/content/docs/guides/node-operators/run-a-mainnet-taiko-node-from-source.mdx b/packages/docs-site/src/content/docs/guides/node-operators/run-a-mainnet-taiko-node-from-source.mdx index b9d75dc5a42..e2bc7bddbe7 100644 --- a/packages/docs-site/src/content/docs/guides/node-operators/run-a-mainnet-taiko-node-from-source.mdx +++ b/packages/docs-site/src/content/docs/guides/node-operators/run-a-mainnet-taiko-node-from-source.mdx @@ -109,7 +109,7 @@ If you aren't, you can configure the ports and addresses so that the services ca 3. Set environment variables - The following URLs should be a Ethereum node. + The following URLs should be an Ethereum node. You will need either an RPC provider, or run a full Ethereum node yourself. diff --git a/packages/guardian-prover-health-check/http/server.go b/packages/guardian-prover-health-check/http/server.go index 36c6bbb455b..7f8947149d6 100644 --- a/packages/guardian-prover-health-check/http/server.go +++ b/packages/guardian-prover-health-check/http/server.go @@ -23,7 +23,7 @@ import ( // @license.name MIT // @host healthcheck.internal.taiko.xyz -// Server represents an guardian prover health check http server instance. +// Server represents a guardian prover health check http server instance. type Server struct { echo *echo.Echo ethClient *ethclient.Client diff --git a/packages/protocol/test/layer1/automata-attestation/utils/DcapTestUtils.t.sol b/packages/protocol/test/layer1/automata-attestation/utils/DcapTestUtils.t.sol index 6cc808c00f0..03c581109ff 100644 --- a/packages/protocol/test/layer1/automata-attestation/utils/DcapTestUtils.t.sol +++ b/packages/protocol/test/layer1/automata-attestation/utils/DcapTestUtils.t.sol @@ -235,7 +235,7 @@ contract DcapTestUtils { // Converts a string to a hexstring (of bytes type) // https://ethereum.stackexchange.com/questions/39989/solidity-convert-hex-string-to-bytes - // Convert an hexadecimal character to their value + // Convert a hexadecimal character to their value function _fromHexChar(uint8 c) private pure returns (uint8) { if (bytes1(c) >= bytes1("0") && bytes1(c) <= bytes1("9")) { return c - uint8(bytes1("0")); @@ -249,7 +249,7 @@ contract DcapTestUtils { revert("failed to convert hex value"); } - // Convert an hexadecimal string to raw bytes + // Convert a hexadecimal string to raw bytes function _fromHex(string memory s) private pure returns (bytes memory) { bytes memory ss = bytes(s); require(ss.length % 2 == 0); // length must be even diff --git a/packages/protocol/test/shared/bridge/Bridge2_sendMessage.t.sol b/packages/protocol/test/shared/bridge/Bridge2_sendMessage.t.sol index 5310f242a49..b8dded2413d 100644 --- a/packages/protocol/test/shared/bridge/Bridge2_sendMessage.t.sol +++ b/packages/protocol/test/shared/bridge/Bridge2_sendMessage.t.sol @@ -31,7 +31,7 @@ contract BridgeTest2_sendMessage is BridgeTest2 { vm.expectRevert(Bridge.B_INVALID_CHAINID.selector); bridge.sendMessage(message); - // an bridge has been registered for remoteChainId + // a bridge has been registered for remoteChainId message.destChainId = remoteChainId; bridge.sendMessage(message); // id = 0 diff --git a/packages/relayer/pkg/http/server.go b/packages/relayer/pkg/http/server.go index b64dc6e74d3..0ef5d961ecf 100644 --- a/packages/relayer/pkg/http/server.go +++ b/packages/relayer/pkg/http/server.go @@ -41,7 +41,7 @@ type ethClient interface { // @license.url https://github.com/taikoxyz/taiko-mono/blob/main/LICENSE // @host relayer.hekla.taiko.xyz -// Server represents an relayer http server instance. +// Server represents a relayer http server instance. type Server struct { echo *echo.Echo eventRepo relayer.EventRepository diff --git a/packages/relayer/processor/wait_header_synced.go b/packages/relayer/processor/wait_header_synced.go index 47acae12baf..6e957f55e75 100644 --- a/packages/relayer/processor/wait_header_synced.go +++ b/packages/relayer/processor/wait_header_synced.go @@ -8,7 +8,7 @@ import ( "github.com/taikoxyz/taiko-mono/packages/relayer" ) -// waitHeaderSynced waits for a event to appear in the database from the indexer +// waitHeaderSynced waits for an event to appear in the database from the indexer // for the type "ChainDataSynced" to be greater or less than the given blockNum. // this is used to make sure a valid proof can be generated and verified on chain. func (p *Processor) waitHeaderSynced( 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,