From ee6ff462e148b55ec0e4365fd0a6bd3676a97735 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:33:09 +0100 Subject: [PATCH 1/9] typo run-a-mainnet-taiko-node-from-source.mdx --- .../node-operators/run-a-mainnet-taiko-node-from-source.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From 252c4237eccbcd20e68582256fdde2f3490e1d43 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:33:44 +0100 Subject: [PATCH 2/9] typo server.go --- packages/guardian-prover-health-check/http/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 1060ab547c99c65efc2a4a44d846045b589dd6f4 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:34:53 +0100 Subject: [PATCH 3/9] typo Bridge2_sendMessage.t.sol --- packages/protocol/test/shared/bridge/Bridge2_sendMessage.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 06d68f5dbbdc4acd0ca1974a37e3a85607e1e029 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:35:27 +0100 Subject: [PATCH 4/9] typo server.go --- packages/relayer/pkg/http/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From f1312ff4bd1de07fc8e3f6471649088df9bcd50d Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:36:29 +0100 Subject: [PATCH 5/9] typo wait_header_synced.go --- packages/relayer/processor/wait_header_synced.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( From 2c8a1a11505dba0e90cbc3a4d4014156e4c6d132 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:37:01 +0100 Subject: [PATCH 6/9] typo fixed_k_signer.go --- packages/taiko-client/driver/signer/fixed_k_signer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From 2236d1368f51a12a864c2f91baf0f65267c52970 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:37:40 +0100 Subject: [PATCH 7/9] typo helper.go --- packages/taiko-client/internal/testutils/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From c8602959efe5ab541cc78136c4af744bfac553c8 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:38:24 +0100 Subject: [PATCH 8/9] typo dial.go --- packages/taiko-client/pkg/rpc/dial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 58f2d25a79aa8b97b3bd8d29b370b9f59bc8eea8 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 28 Dec 2024 20:39:06 +0100 Subject: [PATCH 9/9] typos DcapTestUtils.t.sol --- .../layer1/automata-attestation/utils/DcapTestUtils.t.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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