2
Reading WAST/WASM from ______ wast...
Assembling WASM...
Publishing contract...
Error 3030011: duplicate transaction
You can try embedding eosio nonce action inside your transaction to ensure uniqueness.
Error Details:
Transaction is not unique

It is from help_text.cpp in programs cleos

  1. What is eosio nonce?
  2. How to embed it inside a transaction?
  • 1
    Text should not be pasted as image. Rather, paste it as a code block: then it can be readily copied for searching or other purposes. – Gassa May 11 '18 at 11:08
  • Something seems funny about that screenshot. Is this from cleos set contract? If so you'd have to send the same code twice within .5s to get that error. – Todd Fleming May 11 '18 at 12:18
7

Use the -f option in cleos

This option will instruct cleos to include a nonce action in the transaction you are creating, that will make the tx unique.

-f,--force-unique force the transaction to be unique. this will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.