Waves icon indicating copy to clipboard operation
Waves copied to clipboard

Sponsorship asset. Script doesn't exist and proof doesn't validate

Open unknownfix opened this issue 8 years ago • 2 comments

Testnet example. Same for mannet. Tested with Python API and JS API

{
  "error": 112,
  "message": "State check failed. Reason: Script doesn't exist and proof doesn't validate as signature for {\"type\":14,\"id\":\"CMA7x65kVifW5zJYqvxhBDUsjfD1ELZyaCfWke7nXfub\",\"sender\":\"3N9atHZUYJ14qvoGeLyucmhMnNRSiRL7Sno\",\"senderPublicKey\":\"2ard3BP4uEC5WqXA4hZaHfTcVcS3BCupv1LNsTwYxFZc\",\"fee\":100000000,\"timestamp\":1532944766140,\"proofs\":[\"4bDGnLjbysVHweMis9MRNxG6pHfqzPKUfSYdC8ScY7xD2pvrXX97449N4Wi23mEUk4ZghN7Rzd1RtjqqaQmLa7Ea\"],\"version\":1,\"assetId\":\"8BF1ZmmMXRnURxPDoz1QqMpWBWQxrqQHKBQvgt5j5eVT\",\"minSponsoredAssetFee\":100000}",
  "tx": {
    "type": 14,
    "id": "CMA7x65kVifW5zJYqvxhBDUsjfD1ELZyaCfWke7nXfub",
    "sender": "3N9atHZUYJ14qvoGeLyucmhMnNRSiRL7Sno",
    "senderPublicKey": "2ard3BP4uEC5WqXA4hZaHfTcVcS3BCupv1LNsTwYxFZc",
    "fee": 100000000,
    "timestamp": 1532944766140,
    "proofs": [
      "4bDGnLjbysVHweMis9MRNxG6pHfqzPKUfSYdC8ScY7xD2pvrXX97449N4Wi23mEUk4ZghN7Rzd1RtjqqaQmLa7Ea"
    ],
    "version": 1,
    "assetId": "8BF1ZmmMXRnURxPDoz1QqMpWBWQxrqQHKBQvgt5j5eVT",
    "minSponsoredAssetFee": 100000
  }
}

unknownfix avatar Jul 30 '18 10:07 unknownfix

Hi @unknownfix, thank you for report. Looks like your error occurred due to incorrect proof of transaction. Could you provide example of code what did you use for transaction sign or you can try to do the same transaction with RestAPI https://docs.wavesplatform.com/en/technical-details/sponsored-fee.html? Thanks.

monroid avatar Jul 31 '18 09:07 monroid

Please i am new to waves, i have created an asset for investment club, i want the members to be charged in my asset and not in waves. Because of that i bought waves in the mother wallet and i am trying to set sponsor fee for my asset so that i will pay for the corresponding charges in waves. As a beginner how do i go by this?

sofcoins avatar Aug 12 '18 09:08 sofcoins