Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

CreateAccount don't transfer balance from old account #342

Closed
yihuang opened this issue Jul 23, 2021 · 1 comment · Fixed by #353
Closed

CreateAccount don't transfer balance from old account #342

yihuang opened this issue Jul 23, 2021 · 1 comment · Fixed by #353
Assignees

Comments

@yihuang
Copy link
Contributor

yihuang commented Jul 23, 2021

System info: ethermint main

Steps to reproduce:

related code in go-ethereum: https://github.com/ethereum/go-ethereum/blob/master/core/state/statedb.go#L576

Expected behavior: same behaviour as geth

Actual behavior: different, might cause fund lose?

Additional info: [Include gist of relevant config, logs, etc.]

@yihuang yihuang self-assigned this Jul 26, 2021
@yihuang
Copy link
Contributor Author

yihuang commented Jul 26, 2021

https://github.com/yihuang/web3-integration-tests/blob/master/tests/test_statedb.py#L21
I made a test case for it, currently it passes in geth, but fail in ethermint.

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

Successfully merging a pull request may close this issue.

1 participant