You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently localOrchestrationAccount's transfer method accepts memo through its arguments. This works fine when the packet is sent directly to the destination chain. However, if we have to send a memo to the destination chain the pfm's forward memo takes precedence over what zoe contract is supplying. See;
This situation creates a problem in situations like Osmosis' crosschain swaps where we have to have a specific memo attached to the packet in order to trigger the cosmwasm contract on Osmosis.
To Reproduce
Steps to reproduce the behavior, in your orchestration contract;
Create a localOrchestationAccount
Create an offer handler or address hook where you pass a memo to the transfer. Like;
Problem Definition
Currently
localOrchestrationAccount
'stransfer
method acceptsmemo
through its arguments. This works fine when the packet is sent directly to the destination chain. However, if we have to send amemo
to the destination chain the pfm'sforward
memo takes precedence over what zoe contract is supplying. See;agoric-sdk/packages/orchestration/src/exos/local-orchestration-account.js
Lines 381 to 384 in e77f936
This situation creates a problem in situations like Osmosis' crosschain swaps where we have to have a specific memo attached to the packet in order to trigger the cosmwasm contract on Osmosis.
To Reproduce
Steps to reproduce the behavior, in your orchestration contract;
localOrchestationAccount
memo
to the transfer. Like;memo
isn't in the packetExpected behavior
We should protect the
memo
passed in by the application and observe it on the destination chain even with PFM involved.Possible Solution
Make sure we attach the
opts.memo
(memo sent by application code) to the pfm'sforward.next
The text was updated successfully, but these errors were encountered: