eos icon indicating copy to clipboard operation
eos copied to clipboard

Question about cleos set contract

Open jeaimetu opened this issue 8 years ago • 2 comments

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.

jeaimetu avatar May 31 '18 05:05 jeaimetu

I'm unable to reproduce this. Can you provide exact changes you made to hello contract and exact command lines.

heifner avatar May 31 '18 12:05 heifner

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.

moskvanaft avatar Jun 05 '18 20:06 moskvanaft