From 4063f519637b4ea421cf8c31950b282063614286 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sun, 23 Feb 2025 00:41:23 +0200 Subject: [PATCH 1/2] Update RLPReader.sol --- contracts/lib/RLPReader.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/lib/RLPReader.sol b/contracts/lib/RLPReader.sol index 70db5a5..a78bc84 100644 --- a/contracts/lib/RLPReader.sol +++ b/contracts/lib/RLPReader.sol @@ -211,7 +211,7 @@ library RLPReader { assembly { result := mload(memPtr) - // shift to the correct location if neccesary + // shift to the correct location if necessary if lt(len, 32) { result := div(result, exp(256, sub(32, len))) } From 517a4d74a3241404bfdfea3d671ee8a24cdb7863 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sun, 23 Feb 2025 00:41:55 +0200 Subject: [PATCH 2/2] Update ProtoBufRuntime.sol --- .../bsc-tendermint/lib/proto/ProtoBufRuntime.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/light-client-others/bsc-tendermint/lib/proto/ProtoBufRuntime.sol b/contracts/light-client-others/bsc-tendermint/lib/proto/ProtoBufRuntime.sol index 89cb8a4..e620a49 100644 --- a/contracts/light-client-others/bsc-tendermint/lib/proto/ProtoBufRuntime.sol +++ b/contracts/light-client-others/bsc-tendermint/lib/proto/ProtoBufRuntime.sol @@ -1785,7 +1785,7 @@ library ProtoBufRuntime { /** * @dev Encode Solidity type - * @param x The unsinged integer to be encoded + * @param x The unsigned integer to be encoded * @param sz The number of bytes used to encode Solidity types * @param p The offset of bytes array `bs` * @param bs The bytes array to encode