Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

revert bug #4130

Closed
winsvega opened this issue Jun 9, 2017 · 2 comments
Closed

revert bug #4130

winsvega opened this issue Jun 9, 2017 · 2 comments
Assignees
Labels

Comments

@winsvega
Copy link
Contributor

winsvega commented Jun 9, 2017

We discovered that cpp does wrong revert of the state in case of address collision.

The test is here (with wrong cpp results):
https://github.com/ethereum/tests/blob/cffb263d6c9075e1396e72d5d8febc21329b6600/BlockchainTests/GeneralStateTests/stRevertTest/RevertDepthCreateAddressCollision.json#L642-L665

The source for this test is here:
https://github.com/ethereum/tests/blob/develop/src/GeneralStateTestsFiller/stRevertTest/RevertDepthCreateAddressCollisionFiller.json#L188-L205

It appears to be that cpp won't restore the code of the original account after collision overwrite and then OOG revert. (case d0g0 - double oog). Python is failing the test.

@winsvega winsvega added the bug label Jun 9, 2017
@chfast chfast added the planned label Jun 9, 2017
@pirapira pirapira self-assigned this Jun 15, 2017
pirapira added a commit to ethereum/tests that referenced this issue Jun 15, 2017
@pirapira
Copy link
Member

@pirapira
Copy link
Member

Now I hit this problem #4148 which prevents me from filling tests.

pirapira added a commit that referenced this issue Jun 15, 2017
This addresses #4130 together with the corresponding change in the test.
pirapira added a commit to ethereum/tests that referenced this issue Jun 16, 2017
pirapira added a commit to ethereum/tests that referenced this issue Jun 16, 2017
pirapira added a commit that referenced this issue Jun 20, 2017
This addresses #4130 together with the corresponding change in the test.
pirapira added a commit that referenced this issue Jun 20, 2017
This addresses #4130 together with the corresponding change in the test.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants