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 #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The Changes
User applications on LayerZero are required to whitelist remote contracts as trusted message senders, the trustedRemotes.

In ULN (Ultra-light Node) V2, the trusted remote has been changed to the full path, which concatinates the ***remote*** and the ***local*** contract address using abi.encodePacked().
In ULN (Ultra-light Node) V2, the trusted remote has been changed to the full path, which concatenates the ***remote*** and the ***local*** contract address using abi.encodePacked().

For example,
- 0x1234... on chain ID 101 (20 bytes / 42 characters in hex (e.g. 0x1234567890123456789012345678901234567890))
Expand Down Expand Up @@ -54,7 +54,7 @@ Very carefully fill out `constants/setTrustedRemoteConfig.json` with the name of

`let remoteChainId = BigNumber.from(remoteId);`

- A ***bytes*** path, which concatinates the ***remote*** and the ***local*** contract address using abi.encodePacked().
- A ***bytes*** path, which concatenates the ***remote*** and the ***local*** contract address using abi.encodePacked().

`let trustedRemote = hre.ethers.utils.solidityPack(['address','address'],[REMOTE_ADDRESS, LOCAL_ADDRESS])`

Expand Down