Skip to content

fix: dst chain is the hub chain - #1576

Merged
shankars99 merged 2 commits into
feat/ovaultfrom
ovault/dst-hub-fix
Jun 18, 2025
Merged

fix: dst chain is the hub chain#1576
shankars99 merged 2 commits into
feat/ovaultfrom
ovault/dst-hub-fix

Conversation

@shankars99

Copy link
Copy Markdown
Collaborator

In the case that the target network is the HUB chain then we can't do an OFT.send as they aren't self-peered.

In that case we call OFT.token().transfer() and also send the user msg.value if any.

… the user along with msg.value

Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
@shankars99
shankars99 merged commit 8f433b8 into feat/ovault Jun 18, 2025
2 checks passed
@shankars99
shankars99 deleted the ovault/dst-hub-fix branch June 18, 2025 23:17
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.

1 participant