-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calls from Solana have incorrect sender address in message context #3689
Comments
We use sender field as EVM address for all chain with v2 deposits, Bitcoin as well, origin field is never set. We had a conversation some time ago I think about the usage of the field. I would see doing the following change:
Alternative
|
Adding the issue to #3651 to be addressed this sprint |
Solution discussed:
|
This was referenced Mar 12, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
When making a call (or a deposit) from Solana, message context's
origin
value does not contain the actual Solana address from which the call was made. Instead, thesender
value (which so far is being used only for calls from EVM chains) contains a hex address.To Reproduce
Make a call from Solana to a contract that reverts, for example:
https://zetachain-testnet.blockscout.com/address/0xCec4d6c0528557dbF45dC8cF31189A8D1c32f428
This contract always reverts, so that we can see message context in the
error_message
of a CCTX.https://zetachain-athens.blockpi.network/lcd/v1/public/zeta-chain/crosschain/inboundHashToCctxData/38yC7sTor9kgdsXg8fMWGbBmRMbjTF9ZTCrCuoipxiKNBu7Z6TRYiiLuP9397KDGZzSuXLvuKK5ztC9oLM4rtEfx
Expected Behavior
Solana sender address should be as the first arg of message context (
origin
) and the second value (sender
) should be empty.The text was updated successfully, but these errors were encountered: