DarkFlorist / lunaria

https://lunaria.dark.florist
The Unlicense
3 stars 2 forks source link

Figure out why Ethers isn't catching this error #217

Open KillariDev opened 11 months ago

jubalm commented 11 months ago
KillariDev commented 11 months ago

Jubal gives micahs code about this

jubalm commented 10 months ago

from @MicahZoltu Discord message

I got the Lunaria transaction hash error again @jubalm. It seems related specifically to sending ETH to a contract perhaps. > In the first case, I sent money to a Gnosis SAFE. In this case, I sent money to a proxy contract.

Error Data

Uncaught (in promise) Error: could not coalesce error (error={ "code": -32603, "data": { "code": -32602, "data": "Incorrect parameters count, expected: 1, actual: 0", "message": "Invalid params" }, "message": "Internal JSON-RPC error." }, payload={ "id": 500, "jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": [ "<REDACTED>" ])

Replication