Transaction Builder tuple issues

Open
#835 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start in the Safe Transaction Builder by importing the attached Transactions Batch.json and editing its second transaction, reproducing the failure with array inputs and complex parameters. Trace the encoding path used for batch transactions and compare it with custom data mode. Done means the parameters are accepted, encoded correctly, and the transaction is added to the batch without requiring pre-encoded data.

Written by the indexing model from the issue text.

Description

Bug description

The Transaction Builder fails to encode complex parameter specifically when trying to process array of inputs

Environment

  • Browser: Chrome
  • Safe Web App: Transaction Builder
  • Contract Method: applyChainUpdates, seems unrelated to any particular method

Steps to reproduce

  1. Go to Safe Transaction Builder
  2. Create a new transaction and import the attached json
  3. Go to edit the second transaction

Expected result

  • The transaction should be properly encoded and added to the batch
  • The interface should accept and properly format parameters

Screenshots

Image

Additional Information

  • Current workaround is to use custom data mode with pre-encoded transaction data, Chainlink need the functionality to transparently share transactions and data

https://5afe.slack.com/archives/C06R53VAT18/p1738615187477089

Transactions Batch.json

Dominant language
TypeScript
Stars
116
Forks
84
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from safe-global/safe-react-apps

All issues in safe-global/safe-react-apps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.