eos icon indicating copy to clipboard operation
eos copied to clipboard

If I uploaded a sample contract and then modified its source codes, rebuilt it and how to re-upload modified contract ?

Open swdevMPaul opened this issue 8 years ago • 1 comments

Hi,

I uploaded a sample contract and then modified its source codes, re-generated .abi and .wasm files for it and now I need to upload(publish) the modified contract again and interact with it.

How to do so ?

When I run:

eosc set contract testcurrtok testcontract1.wast testcontract1.abi Reading WAST... Assembling WASM... Publishing contract... 3166875ms main.cpp:1195 main ] Failed with error: Assert Exception (10) status_code == 200: Error code 401 : {"code":401,"message":"UnAuthorized","details":"signatures do not satisfy declared authorizations (3030002)\nTransaction declares authority '{"account":"testcurrtok","permission":"active"}', but does not have signatures for it.\n"}

What's wrong and how to fix it ?

Kind Regards. Paul.

swdevMPaul avatar Feb 14 '18 14:02 swdevMPaul

You are missing -p testcurrtok there :)

andriantolie avatar Jun 29 '18 08:06 andriantolie