Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Conversation

@lispc
Copy link

@lispc lispc commented Aug 29, 2023

ed255 and others added 2 commits August 29, 2023 21:17
We treat empty accounts by storing their code_hash in the RwTable as 0.
EXTCODECOPY was obtaining the bytecode length by querying the bytecode
table with code_hash=0 on existing accounts, but that entry should be
invalid (there's no bytecode with code_hash=0). Skip the bytecode table
length lookup when code_hash=0.

I've also reintroduced the `Block::debug_print_txs_steps_rw_ops`
function, updated to use the new `Block::get_rws` API. This function is
not used in the code, but it's very convenient to call it when
debugging.

Resolve
privacy-ethereum#1190

- [x] Bug fix (non-breaking change which fixes an issue)
@lispc lispc merged commit c34c889 into develop Aug 29, 2023
@lispc lispc deleted the fix/extcodecopy branch August 29, 2023 13:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants