cosmos / cosmjs

The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.
https://cosmos.github.io/cosmjs/
Apache License 2.0
636 stars 324 forks source link

Failed to execute message; message index: 0: Invalid Sender: execute wasm contract failed #1559

Open professorr-x opened 4 months ago

professorr-x commented 4 months ago

I submitted two transactions for the mint of a nft:

  1. From my Javascript which uses SigningCosmWasmClient to execute against a smart contract
  2. From the frontend of a minting website

When submitting from my script i got the error message:

Failed to execute message; message index: 0: Invalid Sender: execute wasm contract failed https://www.seiscan.app/pacific-1/txs/0F87068DDB038478E0C7154B23C1A474A4B4089D5F1EC4C4E2B884138366021F

the transaction from the frontend was successful:

https://www.seiscan.app/pacific-1/txs/35C296B755309EF1EEAD626E6DC884E7B10DB12E66E8A6CFDDA1756AB55EFE98

From both transactions i see the sender and i see no issue, also when debugging i see the senderAddress and its correct, in string type. This is what is expected to execute the contract

Anyone else know why i get this error