Transaction builder JSON upload fails with no error

Open
#852 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

Start by reproducing the transaction builder JSON upload flow in the production environment with the linked transactions.json example, then inspect the browser console error shown in the report. Done means the JSON populates the transaction builder or the UI displays a clear error message when upload fails.

Written by the indexing model from the issue text.

Description

Description

Upon uploading a JSON to the transaction builder, nothing visibly happens in the UI. The following error appears in the browser console

Image

Environment

  • Browser: Arc
  • Wallet: MetaMask
  • Safe: eth:0x9D3761A0fBdF80FD5E582377d411C3D6494B2399
  • Environment:
    • production

Steps to reproduce

  1. Go to any Safe
  2. Go to the transaction builder
  3. Upload a JSON (see example below)
  4. See that nothing happened

transactions.json

File content:

{
  "chainId": "1",
  "transactions": [
    {
      "to": "0x4D9339dd97db55e3B9bCBE65dE39fF9c04d1C2cd",
      "data": "0xa9059cbb0000000000000000000000004d9339dd97db55e3b9bcbe65de39ff9c04d1c2cd000000000000000000000000000000000000000000000000000000000000000a",
      "value": "0"
    }
  ]
}

Expected result

JSON is uploaded and populated in the transaction builder

Obtained result

Neither success or error message displays on the UI

Screenshots

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.