Skip to content

Use borrow_inbox_item to retrieve inbox item#685

Merged
emreboga merged 3 commits intowormhole-foundation:mainfrom
wormholelabs-xyz:sui/fix-retrieve-inbox-item
Aug 27, 2025
Merged

Use borrow_inbox_item to retrieve inbox item#685
emreboga merged 3 commits intowormhole-foundation:mainfrom
wormholelabs-xyz:sui/fix-retrieve-inbox-item

Conversation

@emreboga
Copy link
Copy Markdown
Contributor

This will replace the previous logic to retrieve inbox item where we iterate through all dynamic fields in the manager contract. Instead we will call the onchain function borrow_inbox_item to get a reference to the inbox item and parse that to be used in tracking the transaction.

Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
@emreboga emreboga force-pushed the sui/fix-retrieve-inbox-item branch from fb4a988 to af39469 Compare August 27, 2025 15:47
@emreboga emreboga requested a review from kcsongor August 27, 2025 15:48
@emreboga emreboga force-pushed the sui/fix-retrieve-inbox-item branch from af39469 to 4b3c6eb Compare August 27, 2025 15:56
Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
@emreboga emreboga force-pushed the sui/fix-retrieve-inbox-item branch from 4b3c6eb to f2b5770 Compare August 27, 2025 16:05
Comment thread sui/ts/src/ntt.ts Outdated
Comment thread sui/ts/src/ntt.ts Outdated
@kev1n-peters
Copy link
Copy Markdown
Contributor

We should be able to punt on removing the "wrapping up" spinner in Connect since this will fix that for NTT transfers to Sui

Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
@emreboga emreboga merged commit e366fa7 into wormhole-foundation:main Aug 27, 2025
9 checks passed
@emreboga emreboga deleted the sui/fix-retrieve-inbox-item branch August 27, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants