From a41f936d687627ec7d678d5175c0587e168d689f Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:55:16 +0300 Subject: [PATCH 1/3] Update handler.fc --- packages/layerzero-v2/ton/src/protocol/controller/handler.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/layerzero-v2/ton/src/protocol/controller/handler.fc b/packages/layerzero-v2/ton/src/protocol/controller/handler.fc index 2eaf1873..1675117c 100644 --- a/packages/layerzero-v2/ton/src/protocol/controller/handler.fc +++ b/packages/layerzero-v2/ton/src/protocol/controller/handler.fc @@ -337,7 +337,7 @@ tuple setZroWallet(cell $setAddress) impure inline method_id { } ;; This will override an existing tentative owner -;; Becuase we assert that the 'claimOwnership' can't be done by the 'null' address, it means +;; Because we assert that the 'claimOwnership' can't be done by the 'null' address, it means ;; if we want to burn the ownership, we will need to set it to a contract which only has ability to ;; claim, but nothing else. This effectively burns it. tuple transferOwnership(cell $setAddress) impure inline { From f6e445b9483a150ed0d38d43e9e95864df9f8409 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:55:54 +0300 Subject: [PATCH 2/3] Update BytesEncoder.fc --- packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc b/packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc index 3ee622b4..10f56652 100644 --- a/packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc +++ b/packages/layerzero-v2/ton/src/protocol/msglibs/BytesEncoder.fc @@ -69,7 +69,7 @@ tuple BytesEncoder::feed(tuple self, slice data) impure inline { ;; data to the next item in the list. ifnot (data.slice_refs_empty?()) { - ;; if the current builder is full add a new builer on the tuple stack + ;; if the current builder is full add a new builder on the tuple stack if (fillsCurrentBuilder) { self = self.tpush(begin_cell()); } From d8de6476b2784cd1b8564075753f827bf4e08280 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:56:20 +0300 Subject: [PATCH 3/3] Update handler.fc --- packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc b/packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc index fdb57ef4..800bbb31 100644 --- a/packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc +++ b/packages/layerzero-v2/ton/src/apps/baseOApp/handler.fc @@ -266,7 +266,7 @@ tuple setEnforcedOptions(cell $optionsExtended) impure inline method_id { tuple setLzConfig(cell $config) impure inline method_id { (_, tuple actions) = preamble(); - ;; we use the send path here becuase the send path is used to derive the channel address + ;; we use the send path here because the send path is used to derive the channel address ;; and the channel is used to configure both send and receive configs cell $sendPath = $config.cl::get(lz::Config::path); _assertSendPath($sendPath); @@ -539,4 +539,4 @@ tuple nilify(cell $packetId) impure inline method_id { ); return actions; -} \ No newline at end of file +}