Skip to content
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 inside the constructor should be the actual sender #1034

Closed
ychiaoli18 opened this issue Oct 26, 2022 · 3 comments
Closed

msg.sender inside the constructor should be the actual sender #1034

ychiaoli18 opened this issue Oct 26, 2022 · 3 comments
Milestone

Comments

@ychiaoli18
Copy link

msg.sender returns 0xff00000000000000000000000000000000000001 inside constructor because Filecoin actors are constructed through init actor (f01, which translates to the above 0xff...1 address). However, it should return the actual sender of the message.

@Stebalien
Copy link
Member

To be clear: this is an issue for native actors, not EVM contracts.

@maciejwitowski maciejwitowski added this to the M2.2 milestone Nov 8, 2022
@Stebalien
Copy link
Member

Hm. I think this must have been for EVM contracts given how it was described. It has since been fixed.

@Stebalien
Copy link
Member

Well, and it's covered by #746.

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

No branches or pull requests

3 participants