Skip to content

Conversation

@Gaon3
Copy link
Contributor

@Gaon3 Gaon3 commented Jul 30, 2025

Fix for this issue: #48

Previously each bit of the jump table was encoded as a u32, therefore we didn't need to encode the length.
Since latest commit, the jump table is encoded as a collection of bytes cast as u32's and it broke the encoding.

With this commit we encode both the jump table (as a collection of bytes) and the length to accurately decode the proto type into the revm type.

…sage LegacyAnalyzedBytecode in exex.proto and added the u64 jump_table_len field
Copy link
Contributor

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

ty

@mattsse mattsse merged commit 0260e15 into paradigmxyz:main Jul 30, 2025
7 of 10 checks passed
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.

2 participants