-
Notifications
You must be signed in to change notification settings - Fork 218
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
msg.sender provides wrong AccountId on substrate #679
Comments
Hi @h4nsu , I also tested your contract on Substrate's interface and see that the returned addresses aren't equal. Perhaps, this is a issue with Substrate's UI interface. Did you experience |
Hi @LucasSte,
|
Hello @h4nsu, |
@extraymond this issue here does not use the instantiate contract api call. |
@seanyoung Ah! I mistakenly remember this issue being the one related to issue666. I'll move my comment there! |
This has been fixed a while ago. |
(seems to me like this could be related to #666)
I'm using solang 0.1.9 installed via cargo from crates.io and a custom substrate node (https://github.com/Cardinal-Cryptography/aleph-node/tree/smartnet) which is based on substrate 4.0.0-dev. It looks like
msg.sender
is providing an incorrect value. This is my minimal example:When I call that function from some address and provide the same address as the
account
parameter, I'm getting two different values when switching the bool parameter:The text was updated successfully, but these errors were encountered: