[EOSIO/eos] eosiocpp generates broken skeleton code (#2819)

The skeleton generated by `eosiocpp -n ${contract}` is broken in the following ways:

– it generates a cast using `eosio::name` for which there is no matching constructor (occurs in two places)
– the `apply` method that is generated is impossible to call through `cleos`
– the abi file that is put there doesn’t match the code being copied

This post was last modified on May 7, 2018, 6:26 pm