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: calldata encoding fails for tuple params #333

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kiriyaga-txfusion
Copy link

@kiriyaga-txfusion kiriyaga-txfusion commented Nov 27, 2024

What ❔

This PR implements support for encoding non-primitive input types. With this update, all input data, including tuples, arrays, and combinations of various types, will be correctly encoded.

Why ❔

In the current version of the block explorer, users encounter an error when input data includes complex objects or arrays.

For show we will use: https://explorer.zksync.io/tx/0xe39dbc98b41bb22620b78e3a3848ab34982310f9564f27d1e809cfdd461fa54e

Example without fix:
image

Example with fix:
image

This is a fix for this issue:
#321

Checklist

  • [+ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • [+ ] Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

Copy link

github-actions bot commented Nov 27, 2024

API E2E Test Results

207 tests   207 ✅  20s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit 76ec5ec.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 27, 2024

Unit Test Results

    4 files    263 suites   11m 13s ⏱️
2 129 tests 2 128 ✅ 1 💤 0 ❌
2 341 runs  2 340 ✅ 1 💤 0 ❌

Results for commit 76ec5ec.

♻️ This comment has been updated with latest results.

@kiriyaga-txfusion kiriyaga-txfusion added bug Something isn't working app App package labels Nov 27, 2024
Copy link

Visit the preview URL for this PR:
https://staging-scan-v2--pr-333-b91fwicz.web.app

@kiriyaga-txfusion kiriyaga-txfusion self-assigned this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app App package bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants