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

Conversation

silathdiir
Copy link
Contributor

Close #1006

As @han0110 mentioned in #973 (comment), we should replace checking account existing in state DB with account is_empty in BALANCE bus-mapping.

Also referenced eip-158.

@github-actions github-actions bot added crate-bus-mapping Issues related to the bus-mapping workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member labels Dec 24, 2022
Copy link
Contributor

@han0110 han0110 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for fixing this.

@han0110 han0110 merged commit a533b96 into privacy-scaling-explorations:main Dec 28, 2022
@silathdiir silathdiir deleted the fix/check-account-empty-for-existing-in-balance-bus-mapping branch December 28, 2022 10:39
rrzhang139 pushed a commit to rrzhang139/zkevm-circuits that referenced this pull request Dec 29, 2022
…ivacy-scaling-explorations#1007)

* Fix to check account empty for existence in `BALANCE` bus-mapping.

* Add a test case for empty account.
ChihChengLiang added a commit that referenced this pull request Dec 29, 2022
* deuduplicated a few functions

* deduplicated parse_calldata and parse_code

* fixed clippy errors

* fix log copyrwc when is_persistent false (#1015)

* fix to check account empty for existence in `BALANCE` bus mapping (#1007)

* Fix to check account empty for existence in `BALANCE` bus-mapping.

* Add a test case for empty account.

Co-authored-by: Chih Cheng Liang <chihchengliang@gmail.com>
Co-authored-by: DreamWuGit <wwuwwei@126.com>
Co-authored-by: Steven <asongala@163.com>
noel2004 pushed a commit to noel2004/zkevm-circuits that referenced this pull request Nov 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
crate-bus-mapping Issues related to the bus-mapping workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: should check account empty for existence in BALANCE bus-mapping (not only in state DB)
3 participants