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

chore: fix some typos #16

Open
wants to merge 1 commit 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/bridge-evm/tasks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ task("mint", "", require("./mint")).addParam("t", "token type", "ETH").addParam(

task("wireAll", "", require("./wireAll"))
.addParam("e", "the environment ie: mainnet, testnet or sandbox", "sandbox")
.addOptionalParam("srcNetworks", "comma seperated list of networks to config on", "goerli-sandbox", types.string)
.addOptionalParam("srcNetworks", "comma separated list of networks to config on", "goerli-sandbox", types.string)
.addParam("noPrompt", "no prompt", false, types.boolean)

subtask("wireAllSubtask", "", require("./wireAll"))
.addParam("e", "the environment ie: mainnet, testnet or sandbox", "sandbox")
.addParam("srcNetworks", "comma seperated list of networks to config on", "goerli-sandbox", types.string)
.addParam("srcNetworks", "comma separated list of networks to config on", "goerli-sandbox", types.string)
.addParam("noPrompt", "no prompt", false, types.boolean)
4 changes: 2 additions & 2 deletions layerzero/sources/endpoint.move
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@ module layerzero::endpoint {
let version = msglib_cap::receive_version(cap);
msglib_config::assert_receive_msglib(ua_address, src_chain_id, version);

// assert the packet is targetting at the UA
// assert the packet is targeting at the UA
assert!(
packet::dst_address(&packet) == bcs::to_bytes(&ua_address),
error::invalid_argument(ELAYERZERO_INVALID_DST_ADDRESS),
);

// assert the packet is targetting at this chain
// assert the packet is targeting at this chain
assert!(
packet::dst_chain_id(&packet) == get_local_chain_id(),
error::invalid_argument(ELAYERZERO_INVALID_CHAIN_ID)
Expand Down