Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(repo): fix typo #18667

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion packages/guardian-prover-health-check/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/pkg/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/relayer/processor/wait_header_synced.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/driver/signer/fixed_k_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/internal/testutils/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/taiko-client/pkg/rpc/dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading