Skip to content

Commit

Permalink
Helpers: TON: Upgrade Contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Jun 12, 2024
1 parent 406fdd1 commit 9912b11
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 331 deletions.
4 changes: 2 additions & 2 deletions src/chains/ton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function tonHandler({
query_id: 0n,
destination: burner,
forward_payload: beginCell()
.storeUint(cid, 16) // Target Chain
.storeUint(cid, 64) // Target Chain
.storeRef(
beginCell()
.storeUint(toKey(fromToken), 256)
Expand Down Expand Up @@ -178,7 +178,7 @@ export function tonHandler({
custom_payload: null,
destination: bridge,
forward_payload: beginCell()
.storeUint(target_chain, 16) // Target Chain
.storeUint(target_chain, 64) // Target Chain
.storeRef(
beginCell()
.storeUint(toKey(fromToken), 256)
Expand Down
Loading

0 comments on commit 9912b11

Please sign in to comment.