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

Fix typos #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/bsc-tendermint/lib/RLPDecode.sol
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ library RLPDecode {
assembly {
result := mload(memPtr)

// shfit to the correct location if neccesary
// shfit to the correct location if necessary
if lt(len, 32) {
result := div(result, exp(256, sub(32, len)))
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/bsc-tendermint/lib/proto/ProtoBufRuntime.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contracts/message-bridge/libraries/RLPReader.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}
Expand Down
2 changes: 1 addition & 1 deletion test/poa/PoAUnitTest.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('PoAUnitTest', async () => {
return poaUintTest;
}

it('should pass retrive part of bytes', async () => {
it('should pass retrieve part of bytes', async () => {
const testBytes = '0x7894745829abbdfe75814218613412afed1238907ba0';
const bytesLength = testBytes.length / 2 - 1;

Expand Down