Skip to content

Conversation

@Snezhkko
Copy link

This change deduplicates contract bytecodes when building the execution witness by tracking seen code hashes and only pushing each bytecode once. It also removes redundant intermediate Vec allocations when extending the list of trie nodes, extending directly from map values instead. Both adjustments preserve the semantics of the witness while reducing unnecessary allocations, storage lookups, and payload size.

@Snezhkko Snezhkko requested a review from a team as a code owner December 24, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant