Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Commit b8babe1

Browse files
committed
fix typos
1 parent d42f707 commit b8babe1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bootloader/test_infra/src/hook.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fn test_hook_as_string(hook_param: U256) -> String {
5656
}
5757

5858
fn test_hook_as_int_or_hex(hook_param: U256) -> String {
59-
// For long data, it is better to use hex-encoding for greater readibility
59+
// For long data, it is better to use hex-encoding for greater readability
6060
if hook_param > U256::from(u64::max_value()) {
6161
let mut bytes = [0u8; 32];
6262
hook_param.to_big_endian(&mut bytes);

contracts/SystemContext.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ contract SystemContext is ISystemContext, ISystemContextDeprecated, ISystemContr
105105

106106
VirtualBlockUpgradeInfo memory currentVirtualBlockUpgradeInfo = virtualBlockUpgradeInfo;
107107

108-
// Due to virtual blocks upgrade, we'll have to use the following logic for retreiving the blockhash:
108+
// Due to virtual blocks upgrade, we'll have to use the following logic for retrieving the blockhash:
109109
// 1. If the block number is out of the 256-block supported range, return 0.
110110
// 2. If the block was created before the upgrade for the virtual blocks (i.e. there we used to use hashes of the batches),
111111
// we return the hash of the batch.

test/KnownCodesStorage.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe("KnownCodesStorage tests", function () {
6666
);
6767
});
6868

69-
it("incorrectly fomatted bytecode hash failed to call", async () => {
69+
it("incorrectly formatted bytecode hash failed to call", async () => {
7070
await expect(
7171
knownCodesStorage.connect(compressorAccount).markBytecodeAsPublished(INCORRECTLY_FORMATTED_HASH)
7272
).to.be.revertedWith("Incorrectly formatted bytecodeHash");
@@ -78,7 +78,7 @@ describe("KnownCodesStorage tests", function () {
7878
).to.be.revertedWith("Code length in words must be odd");
7979
});
8080

81-
it("successfuly marked", async () => {
81+
it("successfully marked", async () => {
8282
await expect(knownCodesStorage.connect(compressorAccount).markBytecodeAsPublished(BYTECODE_HASH_1))
8383
.to.emit(knownCodesStorage, "MarkedAsKnown")
8484
.withArgs(BYTECODE_HASH_1.toLowerCase(), false)

0 commit comments

Comments
 (0)