[EOSIO/eos] Add additional unit tests for checking account creation (#1912)

Also fixes the problem where privileged status is inferred from the action receiver instead of creator when creating an account with «eosio.» prefix.
You can view, comment on, or merge this pull request online at:


— Commit Summary —

* Additional unit tests for eosio. account name prefix and account name length
* Fix problem of checking creator’s privilege for creating account with eosio. prefix

— File Changes —

M libraries/chain/contracts/eosio_contract.cpp (5)
M tests/chain_tests/auth_tests.cpp (16)

— Patch Links —


Добавить комментарий