safe-global / safe-react-apps

A repository for applications for Safe Web Interface
MIT License
98 stars 73 forks source link

[Transaction Builder] Parameter input error #803

Open edgelang opened 4 months ago

edgelang commented 4 months ago

Bug description

I'm using the contract ABI to construct a transaction in the Safe wallet, but one of the object array parameters consistently fails validation, even though the same parameters work for contract calls on Etherscan. I suspect there might be an issue with the input validation. The error message does not provide specific details. I think this needs to be optimized.

contract ABI :https://sepolia.etherscan.io/address/0x3a2fd0f4491161378c1cf9d374f0931fade78c8e#code function:setClaimConditions Error message:

image

test param:[{ "startTimestamp": "0", "maxClaimableSupply": "0", "supplyClaimed": "0", "quantityLimitPerWallet": "0", "merkleRoot": "0xcdc4ba1e4d7d57f0b9d152d4761cc0c097fbe49a6c58a595758635c5f94537b7", "pricePerToken": "0", "currency": "0x0000000000000000000000000000000000000000", "metadata": "..." }]

Environment

Steps to reproduce

  1. Go to

Expected result

Obtained result

Screenshots