eos icon indicating copy to clipboard operation
eos copied to clipboard

Can I get contract's original c++ codes from chain?

Open guaiguaihw opened this issue 8 years ago • 3 comments

Is it possible to get contract's original code from chain? Sometimes, we need to audit contracts. Is the only way to audit contracts is to ask for their original code, and compare the hash with the on chain hash?

guaiguaihw avatar Jul 13 '18 03:07 guaiguaihw

i do wonder if could

Elliot438b avatar Jul 13 '18 05:07 Elliot438b

At present, no, there is no way to retrieve the original source code of a contract. We are aware of this shortcoming and considering possible mechanisms to address it.

jgiszczak avatar Jul 13 '18 15:07 jgiszczak

@jgiszczak I am looking forward to your improvement, It's very important for the exchange. If you can add it to the support plan I will be very appciate.

guaiguaihw avatar Jul 15 '18 02:07 guaiguaihw