I'm attempting to follow this guide, which seems official: https://developers.eos.io/eosio-home/docs/token-contract which uses the v1.4.0 branch of the EOSIO contracts
when I follow the steps, the contract compiles. however, as I want to use the latest version of the contract (because presumably it's been fixed/improved), it fails to compile. here's what I'm using:
https://github.com/EOSIO/eos/blob/master/contracts/eosio.token/eosio.token.cpp
and the error that I get:
In file included from nav.token.cpp:6: ./nav.token.hpp:22:10: error: unknown type name 'account_name' token( account_name self ):contract(self){}
now, I understand from reading:
https://www.reddit.com/r/eos/comments/9nm6hq/help_with_eosiocdt/
that account_name
has been deprecated, but if so, why does the latest version of this contract use it?
for completeness, I'm running the CDT (v 1.4.1) on OSX, installed via brew only yesterday so it's pretty current
help?