#pallet-ibc how to get relayer account id? #118
-
contextWhen ibc pallet calls our module. We call cosmwasm contract. Calls should include account of sender. In Cosmos, as I see some account propagated by IBC module issuethere is no guidance what account we should use to pass to VM as caller. specifically, but not limited to all other Module calls should all imho contain account on behalf of which IBC is calling Module. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
The But from the links you shared, the contractAdress should be the responsibility of cosmwasm to derive from the port id, it has nothing to do with pallet ibc. |
Beta Was this translation helpful? Give feedback.
-
so you want to say that while open channel calls are done by ibc, we should not use account from ibc which have done call but put contract as sender? so contract will be sender to self when it is not true neither reference implementation does that? |
Beta Was this translation helpful? Give feedback.
-
in cosmos sdk and ibc host, sender is strait from pb messages decoded (as far as I can read go code). it is not thinked up our of nothing arbitrary. in open channel init. |
Beta Was this translation helpful? Give feedback.
-
Used IBC pallet as sender. |
Beta Was this translation helpful? Give feedback.
Used IBC pallet as sender.