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

SystemSwitch does not replicate World behavior when calling a non-root System from a root one #2089

Closed
qbzzt opened this issue Jan 5, 2024 · 0 comments · Fixed by #2205
Closed
Assignees

Comments

@qbzzt
Copy link
Contributor

qbzzt commented Jan 5, 2024

When we call a System that is not in the root namespace, we expect it to be a call and run under the System's address.

However, when we use SystemSwitch to call from a root System, it always uses delegatecall. This results in confusing behavior, for example that you need to put ERC-20 tokens to be distributed by the non root System on the World address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants