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

Problem with intercontract delegatecall -> call -> statechange #237

Closed
SilentCicero opened this issue Dec 4, 2017 · 2 comments
Closed

Comments

@SilentCicero
Copy link

While testing some contracts in Remix (which uses ethereumjs-vm) I encountered a problem with delegatecall to a contract that call's another contract. It seems as of present it throws.

The flow is as follows:
[Contract A] -> delegatecall -> [Contract B] -> call -> [Contract C] (to cause state change in C)

It seems throw out of the box after delegate call. I can confirm the same code works on testnet/mainnet with no problems. I cannot share that code under Company policy. However, if needed I can provide sample code later on (with working contexts shifted).

Thanks!

@SilentCicero SilentCicero changed the title Problem with delegatecall -> call Problem with intercontract delegatecall -> call -> statechange Dec 4, 2017
@axic
Copy link
Member

axic commented Dec 6, 2017

Maybe #225 / #236 is related

@holgerd77
Copy link
Member

Would very much assume that such a common pattern as described in the issue is at least meanwhile part of the official test suite, also the likely related issues referenced by @axic are both closed in the meantime.

Beyond, no activity since end of 2017, will close. Feel free to reopen if necessary.

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

No branches or pull requests

4 participants