Skip to content

Commit 6d5aa39

Browse files
committed
Fix typos
1 parent e11b9ed commit 6d5aa39

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

libevmasm/ConstantOptimiser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class ConstantOptimisationMethod
7070
virtual ~ConstantOptimisationMethod() = default;
7171
virtual bigint gasNeeded() const = 0;
7272
/// Executes the method, potentially appending to the assembly and returns a vector of
73-
/// assembly items the constant should be relpaced with in one sweep.
73+
/// assembly items the constant should be replaced with in one sweep.
7474
/// If the vector is empty, the constants will not be deleted.
7575
virtual AssemblyItems execute(Assembly& _assembly) const = 0;
7676

libsolidity/codegen/YulUtilFunctions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3866,7 +3866,7 @@ std::string YulUtilFunctions::cleanupFunction(Type const& _type)
38663866
}
38673867
case Type::Category::Enum:
38683868
{
3869-
// Out of range enums cannot be truncated unambigiously and therefore it should be an error.
3869+
// Out of range enums cannot be truncated unambiguously and therefore it should be an error.
38703870
templ("body", "cleaned := value " + validatorFunction(_type, false) + "(value)");
38713871
break;
38723872
}

libsolidity/interface/StandardCompiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class StandardCompiler
5959
/// Sets all input parameters according to @a _input which conforms to the standardized input
6060
/// format, performs compilation and returns a standardized output.
6161
Json::Value compile(Json::Value const& _input) noexcept;
62-
/// Parses input as JSON and peforms the above processing steps, returning a serialized JSON
62+
/// Parses input as JSON and performs the above processing steps, returning a serialized JSON
6363
/// output. Parsing errors are returned as regular errors.
6464
std::string compile(std::string const& _input) noexcept;
6565

libsolidity/lsp/Transport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class Transport
122122
/// the message body from the transport line.
123123
virtual std::string readBytes(size_t _byteCount) = 0;
124124

125-
// Mimmicks std::getline() on this Transport API.
125+
// Mimics std::getline() on this Transport API.
126126
virtual std::string getline() = 0;
127127

128128
/// Writes the given payload @p _data to transport.

test/evmc/evmc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ struct evmc_vm
11811181
*
11821182
* @par Binaries naming convention
11831183
* For VMs distributed as shared libraries, the name of the library SHOULD match the VM name.
1184-
* The convetional library filename prefixes and extensions SHOULD be ignored by the Client.
1184+
* The conventional library filename prefixes and extensions SHOULD be ignored by the Client.
11851185
* For example, the shared library with the "beta-interpreter" implementation may be named
11861186
* `libbeta-interpreter.so`.
11871187
*

test/tools/ossfuzz/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ To help oss-fuzz do this, we (as project maintainers) need to provide the follow
6969

7070
To be consistent and aid better evaluation of the utility of the fuzzing dictionary, we stick to the following rules-of-thumb:
7171
- Full tokens such as `block.number` are preceded and followed by a whitespace
72-
- Incomplete tokens including function calls such as `msg.sender.send()` are abbreviated `.send(` to provide some leeway to the fuzzer to sythesize variants such as `address(this).send()`
72+
- Incomplete tokens including function calls such as `msg.sender.send()` are abbreviated `.send(` to provide some leeway to the fuzzer to synthesize variants such as `address(this).send()`
7373
- Language keywords are suffixed by a whitespace with the exception of those that end a line of code such as `break;` and `continue;`
7474

7575
[1]: https://github.com/google/oss-fuzz

0 commit comments

Comments
 (0)