Question about cleos set contract
Hi,
2 days ago, I update my all source code with "git fetch". Then I try to make changes on my smart contract.
I added 1 more action to *.cpp file. then generated related files. After then I typed "cleos set contact ...." But it showed "error result is account.code_version != code_id:contract is already running..."
Finally I resolved this with adding "print statement in the action which was already exist.
Is this known bug? or some specific case? This is also 100% reproducible in hello world contract example.
BR, Teddy.
I'm unable to reproduce this. Can you provide exact changes you made to hello contract and exact command lines.
I suspect that it might be a human error (forgot to save file in editor?). Closing the ticket.
@jeaimetu feel free to reopen this ticket if you are able to reproduce it. In this case please provide your source code file before and after you changed it.