Code: Source
Regarding https://developers.eos.io/manuals/eosio.contracts/latest/action-reference/eosio.bios/index/#setabi
For the 2rd argument abi of the function void setabi(account, abi) the current description
"the abi hash represented as a vector of characters"
is inaccurate. It should simply be
"the ABI represented as a vector of characters"
The abi argument that gets passed is just a text string, not a hash. Hashing happens afterwards.
For source code, see
|
void bios::setabi( name account, const std::vector<char>& abi ) { |
and
|
void native::setabi( const name& acnt, const std::vector<char>& abi ) { |