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

[Transaction Builder] Parameter input error #803

Open
edgelang opened this issue Apr 23, 2024 · 0 comments
Open

[Transaction Builder] Parameter input error #803

edgelang opened this issue Apr 23, 2024 · 0 comments
Labels
Bug 🐛 Something isn't working

Comments

@edgelang
Copy link

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

  • Browser: Chrome
  • Wallet: MetaMask
  • Chain: Ethereum sepolia

Steps to reproduce

  1. Go to

Expected result

Obtained result

Screenshots

@katspaugh katspaugh transferred this issue from safe-global/safe-wallet-monorepo Apr 23, 2024
@katspaugh katspaugh changed the title Parameter input error [Transaction Builder] Parameter input error Apr 23, 2024
@katspaugh katspaugh added the Bug 🐛 Something isn't working label Apr 23, 2024
@github-project-automation github-project-automation bot moved this to New issues in Safe{Wallet} Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Something isn't working
Projects
Status: New issues
Development

No branches or pull requests

2 participants