Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ABI decoding should take place instead of random cache being returned #163

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

JeneaVranceanu
Copy link
Member

The issue: pasting ABI of encoded function may read and show invalid arguments in the UI.
The reason: last saved value stored in signature-cache2, which includes all decoded values of the last input, is returned if it matches the function selector of the given ABI.

Instead we should only take function signature from the cache if anything is found and then decode given ABI encoded function call.

Bug:

decoding.bug.example.mov

Bug solved:

bug.solved.mov

Copy link

github-actions bot commented Sep 24, 2024

@JeneaVranceanu JeneaVranceanu merged commit 0aeadda into main Sep 24, 2024
1 check passed
@JeneaVranceanu JeneaVranceanu deleted the fix/encoded-function-inserting branch September 24, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants